On Mon, 01 May 2006 11:16:23 +0200, "Michele Petrazzo"
> 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:
> 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
> TypeError: kill() takes exactly 2 arguments (1 given)
Should also be fixed now.
C++ is history repeated as tragedy. Java is history repeated as farce. --Scott McKay