[ZODB-Dev] BadPickleGet error, 502 errors

Gerry Kirk gerry at faithonline.com
Mon Oct 18 12:42:44 EDT 2004


I'm cross-posting this as I'm not sure where the issue truly lies.

In the last few days, I've been noticing 502 errors popping up from 
Apache, even with the zope server running. This is what is in the Apache 
log:

[Mon Oct 18 11:07:54 2004] [error] [client 24.76.68.246] proxy: Error 
reading from remote server returned by 
/ProductCategory.2004-10-08.5554085502/fr/base_edit, referer:
http://store.diocesessm.org/folder_contents
[Mon Oct 18 11:10:39 2004] [error] [client 24.76.68.246] proxy: error 
reading status line from remote server localhost, referer:
http://store.diocesessm.org/ProductCategory.2004-10-08.5554085502/fr/base_edit

I'm also noticing in the event.log an occasional BadPickleGet error on 
content that has been fine for quite some time. I can edit the content, 
but get an error when trying to view it:

2004-10-18T12:22:50 ERROR(200) SiteError 
http://stgregory.diocesessm.org/Article.2004-08-18.6292457551/en/article_view
Traceback (most recent call last):
   File "/usr/local/Zope/SoftwareHome/lib/python/ZPublisher/Publish.py", 
line 100, in publish
     request, bind=1)
   File "/usr/local/Zope/SoftwareHome/lib/python/ZPublisher/mapply.py", 
line 88, in mapply
     if debug is not None: return debug(object,args,context)
   File "/usr/local/Zope/SoftwareHome/lib/python/ZPublisher/Publish.py", 
line 40, in call_object
     result=apply(object,args) # Type s<cr> to step into published object.
   File 
"/usr/local/Zope/SoftwareHome/lib/python/Shared/DC/Scripts/Bindings.py", 
line 306, in __call__
     return self._bindAndExec(args, kw, None)
   File 
"/usr/local/Zope/SoftwareHome/lib/python/Shared/DC/Scripts/Bindings.py", 
line 343, in _bindAndExec
     return self._exec(bound_data, args, kw)
   File "/usr/local/Zope/gerry/Products/CMFCore/FSPageTemplate.py", line 
191, in _exec
   File "/usr/local/Zope/gerry/Products/CMFCore/FSPageTemplate.py", line 
124, in pt_render
   File 
"/usr/local/Zope/SoftwareHome/lib/python/Products/PageTemplates/PageTemplate.py", 
line 96, in pt_render
     tal=not source, strictinsert=0)()
   File "/usr/local/Zope/SoftwareHome/lib/python/TAL/TALInterpreter.py", 
line 189, in __call__
     self.interpret(self.program)
   File "/usr/local/Zope/SoftwareHome/lib/python/TAL/TALInterpreter.py", 
line 218, in interpret
     def interpret(self, program):
   File "/usr/local/Zope/SoftwareHome/lib/python/TAL/TALInterpreter.py", 
line 233, in interpret
     handlers[opcode](self, args)
   File "/usr/local/Zope/SoftwareHome/lib/python/TAL/TALInterpreter.py", 
line 663, in do_useMacro
     self.interpret(macro)
   File "/usr/local/Zope/SoftwareHome/lib/python/TAL/TALInterpreter.py", 
line 233, in interpret
     handlers[opcode](self, args)
   File "/usr/local/Zope/SoftwareHome/lib/python/TAL/TALInterpreter.py", 
line 408, in do_optTag_tal
     self.do_optTag(stuff)
   File "/usr/local/Zope/SoftwareHome/lib/python/TAL/TALInterpreter.py", 
line 393, in do_optTag
     return self.no_tag(start, program)
   File "/usr/local/Zope/SoftwareHome/lib/python/TAL/TALInterpreter.py", 
line 388, in no_tag
     self.interpret(program)
   File "/usr/local/Zope/SoftwareHome/lib/python/TAL/TALInterpreter.py", 
line 233, in interpret
     handlers[opcode](self, args)
   File "/usr/local/Zope/SoftwareHome/lib/python/TAL/TALInterpreter.py", 
line 686, in do_defineSlot
     self.interpret(slot)
   File "/usr/local/Zope/SoftwareHome/lib/python/TAL/TALInterpreter.py", 
line 233, in interpret
     handlers[opcode](self, args)
   File "/usr/local/Zope/SoftwareHome/lib/python/TAL/TALInterpreter.py", 
line 663, in do_useMacro
     self.interpret(macro)
   File "/usr/local/Zope/SoftwareHome/lib/python/TAL/TALInterpreter.py", 
line 233, in interpret
     handlers[opcode](self, args)
   File "/usr/local/Zope/SoftwareHome/lib/python/TAL/TALInterpreter.py", 
line 459, in do_setLocal_tal
     self.engine.setLocal(name, self.engine.evaluateValue(expr))
   File 
"/usr/local/Zope/SoftwareHome/lib/python/Products/PageTemplates/TALES.py", 
line 220, in evaluate
     return expression(self)
   File 
"/usr/local/Zope/SoftwareHome/lib/python/Products/PageTemplates/ZRPythonExpr.py", 
line 47, in __call__
     return eval(code, g, {})
   File "Python expression "articles[1:5]"", line 1, in <expression>
   File 
"/usr/local/Zope/SoftwareHome/lib/python/AccessControl/ZopeGuards.py", 
line 64, in guarded_getitem
     v = object[start:stop]
   File 
"/usr/local/Zope/SoftwareHome/lib/python/Products/ZCatalog/Lazy.py", 
line 48, in __getslice__
     try: r.append(self[i])
   File 
"/usr/local/Zope/SoftwareHome/lib/python/Products/ZCatalog/Lazy.py", 
line 155, in __getitem__
     data.append(func(s[ind]))
   File 
"/usr/local/Zope/SoftwareHome/lib/python/Products/ZCatalog/Catalog.py", 
line 147, in __getitem__
     r=self._v_result_class(self.data[index]).__of__(self.aq_parent)
   File "/usr/local/Zope/SoftwareHome/lib/python/ZODB/Connection.py", 
line 562, in setstate
     self._set_ghost_state(obj, p)
   File "/usr/local/Zope/SoftwareHome/lib/python/ZODB/Connection.py", 
line 601, in _set_ghost_state
     state = unpickler.load()
BadPickleGet: 4194567

Regards,
Gerry



More information about the ZODB-Dev mailing list