On Friday, April 01, 2011 02:13:41 pm VPX wrote: > Hi, > After running into errors when running the the AppWizard I thought I would > try going to square one and working thru any examples that I could find as > I am new to Python and wanted to figure out if I had some type of > configuration errors that were causing the problems with the wizards. > My system: > Windows 7 64 bit > Python 2.7 > wxPython 2.8 Unicode 64 bit > dabo .0.9.3 - I check for the latest version each day using the auto > update feature > > I was able to run the demo program fine, and the examples on the 1st part > of the 2010 PyCon tutorial. But when I got to the example on page 24 and > tried to run it I get the following error: > > Traceback (most recent call last): > File "C:/Python27/a2.py", line 1, in <module> > import dabo > File > "C:\Python27\lib\site-packages\dabo-0.9.3-py2.7.egg\dabo\__init__.py", line > 313, in <module> > trace = pdb.set_trace > AttributeError: 'module' object has no attribute 'set_trace' > > I can import pdb without any errors and do the pdb.set_trace without > generating any errors so I'm not sure what's happening. > Suggestions or ideas? > Thank you. > Enjoy... > VP
I have been testing python 2.7 on Linux (32bit) and the latest Dabo SVN. For the most part I have not seen anything that stops you from using 2.7. That said - maybe you should try dropping back to python 2.6.5 since support for 2.7 is not official at this point. The other issue is of course the 64 bit stuff. To my knowledge no one has done any testing yet with 2.7, Dabo and 64bits. With respect to the actual error - have you confirmed that pdb.set_trace is present? Is possible you have module or class named pdb? Johnf 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/[email protected]
