wxPython preview build

It's again me... :smiley:

I am unable to start the FloatCanvas demo. I get this error:

Traceback (most recent call last):
  File "C:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wxPython2.8 Docs and De
mos\demo\FloatCanvas.py", line 1892, in <module>
    app = DemoApp(False)# put in True if you want output to go to it's own windo
w.
  File "C:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wxPython2.8 Docs and De
mos\demo\FloatCanvas.py", line 1847, in __init__
    wx.App.__init__(self, *args, **kwargs)
  File "C:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\_core.py", line 7757
, in __init__
    self._BootstrapApp()
  File "C:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\_core.py", line 7354
, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File "C:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wxPython2.8 Docs and De
mos\demo\FloatCanvas.py", line 1851, in OnInit
    DrawFrame = BuildDrawFrame()
  File "C:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wxPython2.8 Docs and De
mos\demo\FloatCanvas.py", line 24, in BuildDrawFrame
    from wx.lib.floatcanvas import NavCanvas, FloatCanvas, Resources
  File "C:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\lib\floatcanvas\NavC
anvas.py", line 7, in <module>
    import FloatCanvas, Resources
  File "C:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\lib\floatcanvas\Floa
tCanvas.py", line 12, in <module>
    from Utilities import BBox
ImportError: No module named Utilities

I have no idea where it comes from, but I am sure Chris does :smiley:

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.virgilio.it/infinity77/

Andrea Gavana wrote:

I have no idea where it comes from, but I am sure Chris does :smiley:

That's my fault too. I didn't add the new sub-package directory to the script that builds the installer.

(This is why I make preview builds! :wink: )

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Robin Dunn wrote:

Andrea Gavana wrote:

I have no idea where it comes from, but I am sure Chris does :smiley:

That's my fault too. I didn't add the new sub-package directory to the script that builds the installer.

I'll do a new preview tonight, but in the meantime you can get the files for this pacakge here: http://morticia.cs.dal.ca/FloatCanvas/browser/trunk/floatcanvas/Utilities

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

This is a little bit stranger…

I am able to start the FloatCanvas demo inside “The Demo” BUT it doesn’t work (zoom in or out gives you a blank, violet canvas)
attempting to launch FloatCanvas.py gives me:

Traceback (most recent call last):
File “FloatCanvas.py”, line 1892, in ?
app = DemoApp(False)# put in True if you want output to go to it’s own window.
File “FloatCanvas.py”, line 1847, in init

wx.App.__init__(self, *args, **kwargs)

File “C:\Python24\Lib\site-packages\wx-2.8-msw-unicode\wx_core.py”, line 7757, in init
self._BootstrapApp()
File “C:\Python24\Lib\site-packages\wx-
2.8-msw-unicode\wx_core.py”, line 7354, in _BootstrapApp
return core.PyApp__BootstrapApp(*args, **kwargs)
File “FloatCanvas.py”, line 1868, in OnInit
frame.DrawTest()
File "FloatCanvas.py
", line 421, in DrawTest
Canvas.ZoomToBB()
File “C:\Python24\Lib\site-packages\wx-2.8-msw-unicode\wx\lib\floatcanvas\FloatCanvas.py”, line 2699, in ZoomToBB
self._ResetBoundingBox()
File “C:\Python24\Lib\site-packages\wx-
2.8-msw-unicode\wx\lib\floatcanvas\FloatCanvas.py”, line 2784, in _ResetBoundingBox
self.BoundingBox = BBox.fromBBArray(bblist)
AttributeError: ‘module’ object has no attribute ‘fromBBArray’

···

Not quite the same as Andrea’s but… still… pretty enough…

I believe this is due to Saturn’s proximity… or maybe R’bot is in love…

Peter

On 5/3/07, Andrea Gavana andrea.gavana@gmail.com wrote:

It’s again me… :smiley:

I am unable to start the FloatCanvas demo. I get this error:


There is NO FATE, we are the creators.

Peter Damoc wrote:

This is a little bit stranger....

I am able to start the FloatCanvas demo inside "The Demo" BUT it doesn't work (zoom in or out gives you a blank, violet canvas)
AttributeError: 'module' object has no attribute 'fromBBArray'

Darn, there must be an old version of the BBox object there. I've enclosed the latest (it should be in the FloatCanvas SVN too):

http://morticia.cs.dal.ca/FloatCanvas/

I've also enclosed a new floatcanvas/__init__.py -- just a version bump and a slightly updated docstring.

Robin,

I hope to get CVS working soon, then patches will be easier.

-Chris

init.py|attachment (3.65 KB)

BBox.py (4.8 KB)

···

--
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@noaa.gov