[Zope-dev] Site Error

AP Meyer a.p.meyer at fel.tno.nl
Fri Apr 2 07:06:20 EST 2004


Is this a known bug?

Working without automatic refresh is very unhandy ;-)

thanks
Andre


btw I also get the following error trace on the Refresh tab of Zope:



An exception occurred during the last refresh.
Exception type: RuntimeError
Exception value: Shouldn't load state for 0000000000001778 when the 
connection is closed

Traceback (most recent call last):
   File "C:\Program Files\Zope-2.7.0\lib\python\App\RefreshFuncs.py", 
line 182, in performSafeRefresh
     if not performRefresh(jar, productid):
   File "C:\Program Files\Zope-2.7.0\lib\python\App\RefreshFuncs.py", 
line 171, in performRefresh
     Application.reinstall_product(app, productid)
   File "C:\Program Files\Zope-2.7.0\lib\python\OFS\Application.py", 
line 844, in reinstall_product
     folder_permissions, raise_exc=1, log_exc=0)
   File "C:\Program Files\Zope-2.7.0\lib\python\OFS\Application.py", 
line 732, in install_product
     initmethod(context)
   File "c:\myZope-2.7\Products\MyContract\__init__.py", line 13, in 
initialize
     import Contract
   File "c:\myZope-2.7\Products\MyContract\Contract.py", line 58, in ?
     registerType(Contract, PROJECTNAME)
   File "c:\myZope-2.7\Products\Archetypes\ArchetypeTool.py", line 275, 
in registerType
     tc(klass, package)
   File "c:\myZope-2.7\Products\Archetypes\ArchetypeTool.py", line 847, 
in <lambda>
     cb = lambda klass, package:self.registerType(klass, package)
   File "C:\Program Files\Zope-2.7.0\lib\python\ZODB\Connection.py", 
line 551, in setstate
     raise RuntimeError(msg)
RuntimeError: Shouldn't load state for 0000000000001778 when the 
connection is closed



Andreas Jung wrote:

> Try to turn off refreshing for the product (remove refresh.txt).
> 
> -aj
> 
> --On Freitag, 2. April 2004 11:09 Uhr +0200 AP Meyer 
> <a.p.meyer at fel.tno.nl> wrote:
> 
>> Hi Zopers
>>
>> The last few days I was fiddling around with Archetypes again and tried
>> the multiValued slot in order to add multiple entries of a field to an
>> instance. This does not seem to work as expected, though. Do I need a
>> newer version of Archetypes or am I doing things wrong?
>>
>> Even more disturbing, however, I frequently get the following error
>> message and am not sure what it means and whether it is related to Plone
>> 2.0/Archetypes 1.2.5-rc2 or just Zope 2.7.
>>
>>
>> Site error
>>
>> This site encountered an error trying to fulfill your request. The errors
>> were:
>>
>> Error Type
>>      ValueError
>> Error Value
>>      Cache values may only be in one cache.
>> Request made at
>>      2004/04/02 11:02:01.270 GMT+2
>>
>>
>> thanks for any hints
>> Andre
>>
>>
>> -- 
>> Dr. André P. Meyer                        http://home.hccnet.nl/a.meyer/
>> TNO FEL Command & Control and Simulation, http://www.fel.tno.nl/div2/
>> Delft Cooperation on Intelligent Systems, http://www.decis.nl/
> 
> 
> 
> 
> 

-- 
Dr. Andre P. Meyer                        http://home.hccnet.nl/a.meyer/
TNO FEL Command & Control and Simulation, http://www.fel.tno.nl/div2/
Delft Cooperation on Intelligent Systems, http://www.decis.nl/

-- 
------------------------------------------------------------------------------
The disclaimer that applies to e-mail from
TNO Physics and Electronics Laboratory
can be found on: http://www.tno.nl/disclaimer/email.html
------------------------------------------------------------------------------



More information about the Zope-Dev mailing list