error: unpack requires a string argument of length 8
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| ZODB Browser |
Critical
|
Unassigned |
Bug Description
I tried the last ZODBBrowser release (0.10.3) on a ZODB-3.10.5 database (using Python 2.6).
When trying to display any object contents, I get the following error :
URL: /var/local/
File '/var/local/
app_iter = self.applicatio
File '/var/local/
resp = self.call_func(req, *args, **self.kwargs)
File '/var/local/
return self.func(req, *args, **kwargs)
File '/var/local/
return request.
File '/var/local/
application, catch_exc_
File '/var/local/
app_iter = application(
File '/var/local/
resp = self.call_func(req, *args, **self.kwargs)
File '/var/local/
return self.func(req, *args, **kwargs)
File '/var/local/
response = request.
File '/var/local/
application, catch_exc_
File '/var/local/
app_iter = application(
File '/var/local/
return self.applicatio
File '/var/local/
return app(environ, start_response)
File '/var/local/
request = publish(request, handle_
File '/var/local/
result = publication.
File '/var/local/
return mapply(ob, request.
<bound method ZodbInfoView.
File '/var/local/
return debug_call(obj, args)
File '/var/local/
return obj(*args)
File '/var/local/
return self.render()
File '/var/local/
return self.template()
File '/var/local/
return self.im_
File '/var/local/
sourceAnnotat
File '/var/local/
strictinsert=0, sourceAnnotatio
File '/var/local/
interpreter()
File '/var/local/
self.
File '/var/local/
handlers[
File '/var/local/
self.
File '/var/local/
handlers[
File '/var/local/
self.
File '/var/local/
return self.no_tag(start, program)
File '/var/local/
self.
File '/var/local/
handlers[
File '/var/local/
self.
File '/var/local/
handlers[
File '/var/local/
self.
File '/var/local/
handlers[
File '/var/local/
self.
File '/var/local/
return self.no_tag(start, program)
File '/var/local/
self.
File '/var/local/
handlers[
File '/var/local/
self.
Line 87, Column 2
In expression: <PathExpr standard:
- Names:
{'args': (),
'context': <onf.medialib.
'default': <object object at 0xb3c450>,
'loop': {},
'nothing': None,
'options': {},
'repeat': {},
'request': <zope.publisher
'template': <zope.browserpa
'view': <zope.browserpa
'views': <zope.browserpa
File '/var/local/
return expression(self)
File '/var/local/
return self._eval(
File '/var/local/
return ob()
File '/var/local/
diff = compareDictsHTM
File '/var/local/
html.
File '/var/local/
value = self.delegate_
File '/var/local/
text = self._repr()
File '/var/local/
u64(self.
File '/var/local/
return unpack(">Q", v)[0]
error: unpack requires a string argument of length 8
CGI Variables
-------------
CONTENT_LENGTH: '0'
HTTP_ACCEPT: 'text/html,
HTTP_
HTTP_
HTTP_
HTTP_
HTTP_CONNECTION: 'keep-alive'
HTTP_COOKIE: 'zope3_
HTTP_HOST: '172.23.
HTTP_REFERER: 'http://
HTTP_USER_AGENT: 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.94 Safari/537.4'
PATH_INFO: '/++skin+
REMOTE_ADDR: '172.23.109.204'
REQUEST_METHOD: 'GET'
SERVER_NAME: '172.23.109.204'
SERVER_PORT: '8080'
SERVER_PROTOCOL: 'HTTP/1.1'
WSGI Variables
--------------
application: <fanstatic.
fanstatic.needed: <fanstatic.
paste.
paste.
paste.
paste.
webob.
wsgi process: 'Multithreaded'
wsgi.
Best regards,
Thierry
Marius Gedminas (mgedmin) wrote : | #1 |
Marius Gedminas (mgedmin) wrote : | #2 |
Never mind, that patch had a stupid bug. How about this one?
Marius Gedminas (mgedmin) wrote : | #3 |
Oh, cool, I can reproduce this too.
In fact the zodbbrowser functional tests no longer work. Something changed in one of the dependencies? Because my 'make release' runs the full test suite, so things must've been working when I released 0.10.3.
Marius Gedminas (mgedmin) wrote : | #4 |
Looking at http://
(1) WTF was I doing with that 'if True:' business
(2) how on Earth did the functional tests still pass (expected: "Folder object at 0xXXXXX" when the code was supposed to print "Folder with oid 0xXX")
(3) why am I currently getting _p_oid of None in all the oldstate records.
Okay (2) is answered by "my tox.ini is woefully broken and tests pass when they shouldn't". 0.10.3 is simply broken, please use 0.10.2 until I untangle this mess.
Changed in zodbbrowser: | |
importance: | Undecided → Critical |
status: | New → In Progress |
Changed in zodbbrowser: | |
milestone: | none → 0.10.4 |
status: | In Progress → Fix Committed |
summary: |
- Problem with ZODB Browser 0.10.3 + error: unpack requires a string argument of length 8 |
Changed in zodbbrowser: | |
status: | Fix Committed → Fix Released |
Can you test if this patch is sufficient to make this problem go away?