Hi John,
I'm running the demo on page 24 so there shouldn't be any other modules
being run (that I'm aware of) and I have not created any classes or modules
named pdb. How can I confirm that pdb.set_trace is present? I tried running
it on a 32 bit version on Win 7 and Python 2.6.5 and the exercise on page 24
worked.
So I went back to my 64 bit PC and tried to uninstall Dabo and install it
under the Python 2.6.6 directory - No luck. On my 64 bit PC I uninstalled
Dabo, using "easy_install.py -mxN Dabo" then deleting the directories. I
then tried to install Dabo in the Python26 directory, but it keeps
installing the egg directory in the Python27 directory. I tried the dabo.pth
file in the Python\Site-packages directory but it only works for the files I
create in that directory.
My question is - how can I get Dabo installed into the Python26 directory?
Python 2.6.6 is now the default, but I need to keep 2.7 installed for other
projects that I'm trying to work on. Is there a configuration file somewhere
that I need to delete in the original installation directory?

Thanks in advance for your assistance.
Enjoy...
VP

        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

>     import dabo

>   File

> "C:\Python27\lib\site-packages\dabo-0.9.3-py2.7.egg\dabo\__init__.py",
line

> 313, in

>     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


--- 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/[email protected]

Reply via email to