Re: [dabo-users] DaboDemo traceback

Author: Ed Leafe

Posted: 2012-01-12 at 10:52:29

On Jan 12, 2012, at 9:16 AM, cccompany@gmail.com wrote:

> Traceback (most recent call last):

> File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py",

> line 14636, in <lambda>

> lambda event: event.callable(*event.args, **event.kw) )

> File

> "/usr/local/lib/python2.7/dist-packages/Dabo-0.9.4-py2.7.egg/dabo/ui/uiwx/dPemMixin.py",

> line 342, in _afterInitAll

> self.afterInitAll()

> File "/tmp/tmptBWHvd.py", line 606, in afterInitAll

> exec("import %s as exx" % justFname)

> File "<string>", line 1, in <module>

> File "/home/y/dabo/demo/samples/dLinePlot.py", line 6, in <module>

> import numpy.oldnumeric as _Numeric

> ImportError: No module named numpy.oldnumeric

>

> Any ideas would be appriciated.

That's a very odd traceback to get, since the code for that import is inside of a try block that should deal with it:

5 try:

6 import numpy.oldnumeric as _Numeric

7 except ImportError:

8 _Numeric = False

9 except StandardError, e:

10 # Report the error, and abandon the import

11 dabo.log.error(_("Error importing numpy.oldnumeric: %s") % e)

12 _Numeric = False

So I'm perplexed as to how an ImportError could have been raised. I don't have numpy installed on my main system, and when I run the demo I don't see the error you got.

Does anyone else see this?

-- Ed Leafe

_______________________________________________

Post Messages to: Dabo-users@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users

Searchable Archives: http://leafe.com/archives/search/dabo-users

This message: http://leafe.com/archives/byMID/4FAD24D8-1FC8-44DD-892E-2B06E7332EA8@leafe.com

©2012 Ed Leafe