I'm using Ubuntu 11.04, GNOME 2.32.1, Python version 2.7.1, Dabo version
0.9.4 revision 7048, UI version 2.8.11.0 on wxGTK
I installed Dabo and then tried to run the DaboDemo program and got the
following traceback:
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.
Abe
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---
_______________________________________________
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/CAJypJ=5NGm=ad5YhTLZt5wMrxwAX7vu=ivLKS0jr0Q+85rt8cA@mail.gmail.com
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
On Thursday, January 12, 2012 09:52:29 AM Ed Leafe wrote:
> 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/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: 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/19507794.bmyvxFTeQN@linux-12
On 1/12/12 7:52 AM, Ed Leafe wrote:
> 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
Actually, there isn't a try block:
http://trac.dabodev.com/browser/trunk/demo/samples/dLinePlot.py
Paul
_______________________________________________
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/4F0F0AF9.1030902@ulmcnett.com
On Jan 12, 2012, at 10:31 AM, Paul McNett wrote:
> Actually, there isn't a try block:
>
> http://trac.dabodev.com/browser/trunk/demo/samples/dLinePlot.py
Strange! Running svn blame I see:
[ed@Homer ~/projects/dabo/ui/uiwx]$ svn blame dLinePlot.py
3519 paul # -*- coding: utf-8 -*-
3519 paul import wx
3519 paul import wx.lib.plot as plot
3519 paul
3742 ed try:
3742 ed import numpy.oldnumeric as _Numeric
3742 ed except ImportError:
3742 ed _Numeric = False
3742 ed except StandardError, e:
3742 ed # Report the error, and abandon the import
5958 ed dabo.log.error(_("Error importing numpy.oldnumeric: %s") % e)
3742 ed _Numeric = False
3519 paul
3519 paul import dabo
3519 paul import dabo.dEvents as dEvents
3519 paul if __name__ == "__main__":
3519 paul dabo.ui.loadUI("wx")
3519 paul import dControlMixin as cm
3519 paul from dabo.ui import makeDynamicProperty
3519 paul from dabo.dLocalize import _
5919 ed from dabo.lib.utils import ustr
( -or- http://j.mp/A2uxxB )
I can't find where it was removed in the change logs. It isn't removed in my svn repo.
-- 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/FBEC98C6-9CD5-425B-AB75-298EBBD48374@leafe.com
On 1/12/12 8:43 AM, Ed Leafe wrote:
> On Jan 12, 2012, at 10:31 AM, Paul McNett wrote:
>
>> > Actually, there isn't a try block:
>> >
>> > http://trac.dabodev.com/browser/trunk/demo/samples/dLinePlot.py
> Strange! Running svn blame I see:
Different file. Nate added the dLinePlot demo a couple months ago; the dLinePlot
class has had the try block for a long time, like you posted.
The demo doesn't have the try:
http://trac.dabodev.com/browser/trunk/demo/samples/dLinePlot.py
The class does:
http://trac.dabodev.com/browser/trunk/dabo/ui/uiwx/dLinePlot.py
Paul
_______________________________________________
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/4F0F20A1.9040305@ulmcnett.com
On Jan 12, 2012, at 12:04 PM, Paul McNett wrote:
> Different file. Nate added the dLinePlot demo a couple months ago; the dLinePlot
> class has had the try block for a long time, like you posted.
Ah, ok. I've posted a fix.
-- 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/51FF25E8-1942-4824-A02F-05A7E8A7F896@leafe.com
Thanks everyone for getting this sorted out. Could someone say which svn
command I have to use to update the files without having to download the
whole thing again.
Abe
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---
_______________________________________________
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/CAJypJ=448XFz6_6qczc083Mo8vW=AZJLi1e-7RvJQrAA_6d=OA@mail.gmail.com
On 1/12/12 4:44 PM, cccompany@gmail.com wrote:
> Thanks everyone for getting this sorted out. Could someone say which svn
> command I have to use to update the files without having to download the
> whole thing again.
svn update
Paul
_______________________________________________
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/4F0F830A.2000209@ulmcnett.com
body p { margin-bottom: 5cm; margin-top: 0pt; }
svn update
or
svn update dirname
if you're using tortoiseSVN, right-click on dabo folder, and
On 13/01/2012 02:44, cccompany@gmail.com wrote:
Thanks everyone for getting this sorted out. Could someone say which svn
Dabo-users@leafe.com
http://leafe.com/mailman/listinfo/dabo-users
http://leafe.com/archives/search/dabo-users
http://leafe.com/archives/byMID/CAJypJ=448XFz6_6qczc083Mo8vW=AZJLi1e-7RvJQrAA_6d=OA@mail.gmail.com
--- StripMime Report -- processed MIME parts ---
text/html (html body -- converted)
---
_______________________________________________
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/4F1B46ED.4060400@gmail.com