>
>       On Jan 12, 2012, at 9:16 AM, cccompany AT gmail D.OT 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 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 "", line 1, in
> >  File "/home/y/dabo/demo/samples/dLinePlot.py", line 6, in
> >    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
>
>
Thanks for a quick reply.

I'm also perplexed, because I checked my version of  dLinePlot.py and this
is what mine looks like:
1  # -*- coding: utf-8 -*-
2  import dabo
3  dabo.ui.loadUI("wx")
4  import dabo.dEvents as dEvents
5  from dabo.dLocalize import _
6  import numpy.oldnumeric as _Numeric
...
Clearly, not enclosed in any try except. Perhaps the try except was
inadvertently taken out in this version of Dabo

Abe


--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---
_______________________________________________
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/CAJypJ=49uAw4_sFLD05RibFOXe5byZNPC=yxdls_5n0gov9...@mail.gmail.com

Reply via email to