Hello Giacomo, On Wed, Mar 4, 2009 at 13:00, giacomo boffi <[email protected]> wrote: > Package: python-matplotlib-doc > Version: 0.98.3-5 > Severity: normal > > > all the examples about integration between matplotlib and wx > applications are broken --- the broken files are > > /usr/share/doc/python-matplotlib-doc/examples/user_interfaces/embedding_in_wx?.py > > in particular, items ...wx{2,3,4}.py contain a "from wx import *" that > fails with the error message > > AttributeError: 'module' object has no attribute '__DocFilter' > > afaict, that error is well known, and it is recommended to use only > "import wx" in wx applications
Mh, there is no reasons why "from <module> import *" should not work, and indeed there is a bug already reported about it: #488532 > the example ...wx5.py tries to import a module wx.aui that's not found on my > system, the error is > > ImportError: No module named aui > > thank you This is because the default python wrapper on your machine is v2.6, on 2.8 that module is present: $ ls /usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/aui* -1 /usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/aui.py /usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/aui.pyc I don't think these are bugs in mpl; let me know what you're thinking. Regards, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi _______________________________________________ Python-modules-team mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/python-modules-team

