Re: [Zope] - More ?? to External Methods
This is sort of not related - but where are you guys getting these tracebacks from? All I got was: "Sorry, an error occurred." The traceback would have helped a lot.
"JH" == Janko Hauser <hauser@lisboa.ifm.uni-kiel.de> writes:
JH> I see that all you all get external methods working. I tried JH> it like in the docu, but get Errors in the add process. JH> </head> <body> Sorry, an error occurred.<p> <!-- Traceback JH> (innermost last): File JH> /home/hauser/ZOPE/Zope-1.9b1-src/lib/python/ZPublisher/Publish.py, JH> line 861, in publish_module File JH> /home/hauser/ZOPE/Zope-1.9b1-src/lib/python/ZPublisher/Publish.py, JH> line 583, in publish (Info: JH> /IFM/TO/STUFF/manage_addExternalMethod) File JH> /home/hauser/ZOPE/Zope-1.9b1-src/lib/python/Products/ExternalMethod/ExternalMethod.py, JH> line 125, in manage_addExternalMethod (Object: Navigation) JH> File JH> /home/hauser/ZOPE/Zope-1.9b1-src/lib/python/Products/ExternalMethod/ExternalMethod.py, JH> line 167, in __init__ (Object: Item) File JH> /home/hauser/ZOPE/Zope-1.9b1-src/lib/python/Products/ExternalMethod/ExternalMethod.py, JH> line 186, in manage_edit (Object: Item) File JH> /home/hauser/ZOPE/Zope-1.9b1-src/lib/python/Products/ExternalMethod/ExternalMethod.py, JH> line 207, in getFunction (Object: Item) File JH> /home/hauser/ZOPE/Zope-1.9b1-src/lib/python/App/Extensions.py, JH> line 104, in __cmp__ AttributeError: 'None' object has no JH> attribute 'co_argcount' Search the mailing list archives - there is a patch you have to apply before external methods will work. ^Roman
Roman Milner wrote:
This is sort of not related - but where are you guys getting these tracebacks from? All I got was:
"Sorry, an error occurred."
I bet the people who get the tracebacks are all using PCGI. The PCGI resource file written by the installer turns BOBO_DEBUG_MODE on. I bet that you are using ZopeHTTPServer (serve.py). If you want, you can set the environment variable BOBO_DEBUG_MODE to 1 before running serve.py and you should see the tracebacks. Jim -- Jim Fulton mailto:jim@digicool.com Technical Director (888) 344-4332 Python Powered! Digital Creations http://www.digicool.com http://www.python.org Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats.
participants (2)
-
Jim Fulton -
Roman Milner