[Zope] First run TypeError

David Pratt fairwinds at eastlink.ca
Mon May 8 01:45:19 EDT 2006


I managed a fix to my threading and it solved my trouble. It was a bit 
sidetracked earlier with the Type Error message. My hunch was right in 
the end. Many thanks.

Regards,
David


David Pratt wrote:
> Hi Andreas. I have been experimenting with creating backend storages for 
> zope. There is no traceback or error that appears in the error log or 
> event log. My hunch is that the message may be erroneous and that access 
> to the storage is being blocked since the database I am currently 
> experimenting with is not thread safe. I am trying to handle this with a 
> connection pool. I believe that the block is cleared with first two 
> requests that don't succeed - since each time it would be calling a new 
> thread. I believe the reason that this is only occurring on startup is 
> because zope has to load objects with the initial threads to the storage 
> before serving requests.
> 
> Regards
> David
> 
> Andreas Jung wrote:
>>
>>
>> --On 7. Mai 2006 09:04:54 -0300 David Pratt <fairwinds at eastlink.ca> 
>> wrote:
>>
>>> I've got a bit more information from my Z2.log:
>>>
>>> On a normal startup attempt with data.fs:
>>>
>>> I get one or two lines with "HEAD /VirtualHostBase/http/:80/ HTTP/1.1"
>>> 200 312 "" ""  as the anonymous
>>> Then a GET 200 code (ok) when I authenticate at the /manage URL
>>>
>>> On the new storage:
>>> No "HEAD" lines appear as the anonymous user and the first two GETs to
>>> the /manage URL give a 500 code (internal server error)
>>>
>>> The following error appears on the browser:
>>> Error Type: TypeError
>>> Error Value: unbound method method_descriptor object must be called with
>>> Application instance as first argument (got RequestContainer instance
>>> instead)
>>
>> What is a hybrid storage? Where is the full traceback? You posting 
>> contains very little useful information to figure out what you are 
>> really trying to do.
>>
>> -aj
>>
> _______________________________________________
> Zope maillist  -  Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
> 


More information about the Zope mailing list