On Thursday, January 12, 2012 09:52:29 AM Ed Leafe wrote: > On Jan 12, 2012, at 9:16 AM, [email protected] 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/uiw > > x/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
My line 6 shows "import numpy.oldnumeric as _Numeric" There is no try block! My dLinePlot.py is dated 11/27/11. Johnf _______________________________________________ Post Messages to: [email protected] 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/19507794.bmyvxFTeQN@linux-12
