[Tutor] am I a dope? - nasty_exception_str =.....

Michael Daly md at holisticgp.com.au
Mon Oct 30 10:38:27 CET 2006


Hello python tutor
when I tried to start a program called 'zope' that depends on python, I got
this message at the bottom of a lot of 'traceback'*, and 'zope' didn't
start:

nasty_exception_str = Exception.__str__.im_func
AttributeError: 'wrapper_descriptor' object has no 
attribute 'im_func'

zope seemed to install OK in the same dir (/home/digium400p/zope) to which I
directed (via prefix option) the python 2.5 install. I did this because
python 2.3.4 is also installed in the default location on the operating
system (which is centos 4.4), and I wanted to keep it that way. Zope
requires at least python 2.4.3

I didn't use the 'make altinstall' option for the python 2.5  install-should
I redo this?

*this is the output:

Traceback (most recent call last):
  File "/home/digium400p/zope/lib/python/Zope2/Startup/zopectl.py", 
line 322, in <module>
    main()
  File "/home/digium400p/zope/lib/python/Zope2/Startup/zopectl.py", 
line 280, in main
    options.realize(args)
  File "/home/digium400p/zope/lib/python/Zope2/Startup/zopectl.py", 
line 91, in realize
    ZDOptions.realize(self, *args, **kw)

etc etc, finally ending in

File "/home/digium400p/zope/lib/python/DocumentTemplate/html_quote.py
", line 4, in <module>
    from ustr import ustr
File "/home/digium400p/zope/lib/python/DocumentTemplate/ustr.py", 
line 18, in <module>
    nasty_exception_str = Exception.__str__.im_func
AttributeError: 'wrapper_descriptor' object has no 
attribute 'im_func'


Any help would be great
Signed..

...very compused





More information about the Tutor mailing list