Re: bug in svn version
"Jonathan Ellis" <[email protected]>
| Newsgroups | gmane.comp.python.spyce.general |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 01 May 2006 11:16:23 +0200, "Michele Petrazzo" <[email protected]> said: > Jonathan Ellis wrote: > > Should be fixed in subversion now. At least on win32; please test on > > your platform. :) > > Not on mine: Okay, I committed another fix. Try again, please. :) > With this svn version, I found two problem and one problem solved: > > Problem: > 1) when I have notice to an exception on a script, spyce show it, but if > I try to reload the page, I receive: > > """ > Unexpected exception: (please report!) > Traceback (most recent call last): > File "/opt/spycesvn/spyce/spyce.py", line 289, in commonHandler > thespyce.spyceInit(request, response) > File "/opt/spycesvn/spyce/spyce.py", line 567, in spyceInit > self._startModule(modname, modfrom, modas, 1) > File "/opt/spycesvn/spyce/spyce.py", line 549, in _startModule > mod = modclass(self._api) > File "db_cscd.py", line 45, in __init__ > spyceModule.spyceModule.__init__(self, *args, **kw) > AttributeError: class spyceModule has no attribute 'spyceModule' > """ Do you have check_modules_and_reload on? Somehow your module is confusing spyceModule-the-class with spyceModule-the-module. You could try "from spyceModule import spyceModule" instead. > 2) When I Ctrl-C for end spyce, I see: > File "/opt/spycesvn/spyce/spyceWWW.py", line 365, in spyceHTTPserver > os.kill(pid) > TypeError: kill() takes exactly 2 arguments (1 given) > Break! Should also be fixed now. -J -- C++ is history repeated as tragedy. Java is history repeated as farce. --Scott McKay ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642