Uwe Grauer wrote:
> When i upgraded to wxPython 2.8.9.2 i got these errors:
>
> u...@athlon28:~/src/dabo/ide> python Editor.py
> Traceback (most recent call last):
> File "/usr/lib/python2.5/site-packages/dabo/ui/__init__.py", line 58,
> in loadUI
> exec("from %s import *" % mods[typ], globals())
> File "<string>", line 1, in <module>
> File "/usr/lib/python2.5/site-packages/dabo/ui/uiwx/__init__.py", line
> 128, in <module>
> from dPageFrame import dPageFrame
> File "/usr/lib/python2.5/site-packages/dabo/ui/uiwx/dPageFrame.py",
> line 23, in <module>
> import wx.tools.Editra.src.extern.flatnotebook as fnb
> ImportError: No module named Editra.src.extern.flatnotebook
> Traceback (most recent call last):
> File "Editor.py", line 24, in <module>
> class EditPageSplitter(dabo.ui.dSplitter):
> AttributeError: 'module' object has no attribute 'dSplitter'
>
>
> A minimal load in the interpreter:
>
> u...@athlon28:~/src/dabo/ide> python
> Python 2.5.2 (r252:60911, Dec 1 2008, 17:47:46)
> [GCC 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision 135036]] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>>>>> import dabo
>>>>>>> dabo.ui.loadUI("wx")
> Traceback (most recent call last):
> File "/usr/lib/python2.5/site-packages/dabo/ui/__init__.py", line 58,
> in loadUI
> exec("from %s import *" % mods[typ], globals())
> File "<string>", line 1, in <module>
> File "/usr/lib/python2.5/site-packages/dabo/ui/uiwx/__init__.py", line
> 128, in <module>
> from dPageFrame import dPageFrame
> File "/usr/lib/python2.5/site-packages/dabo/ui/uiwx/dPageFrame.py",
> line 23, in <module>
> import wx.tools.Editra.src.extern.flatnotebook as fnb
> ImportError: No module named Editra.src.extern.flatnotebook
> False
>
> It seems that Editra moved from wx.tools.Editra to Editra.
>
> Should we change dabo/ui/uiwx/__init__.py according to the used version
> (2.8.9.2),
> shall we just place a link from /usr/lib/python/site-packages/Editra
> to
> /usr/lib/python/site-packages/wx-2.8-gtk2-unicode/wx/tools/Editra or
> how should we deal with this?
>
> What do you think?
All I can say is I've been running dabo trunk and wxPython 2.8.9.2 on WinXP,
Mac, and
Ubuntu 7.10 for over a month now with no issues...
Paul
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[email protected]