New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Navigationtree in ZMI is not working. #179

Closed
sallner opened this Issue Sep 15, 2017 · 0 comments

Comments

Projects
None yet
2 participants
@sallner
Contributor

sallner commented Sep 15, 2017

When attempting to expand a folder with content in the TreeDisplay on the left-hand side of the ZMI, we get the following error under Python 3.

Traceback (most recent call last):
  File "/home/sallner/dev/eggs/waitress-1.0.2-py3.5.egg/waitress/channel.py", line 338, in service
    task.service()
  File "/home/sallner/dev/eggs/waitress-1.0.2-py3.5.egg/waitress/task.py", line 169, in service
    self.execute()
  File "/home/sallner/dev/eggs/waitress-1.0.2-py3.5.egg/waitress/task.py", line 399, in execute
    app_iter = self.channel.server.application(env, start_response)
  File "/home/sallner/zope/Zope/src/ZPublisher/httpexceptions.py", line 33, in __call__
    return self.application(environ, start_response)
  File "/home/sallner/zope/Zope/src/ZPublisher/WSGIPublisher.py", line 248, in publish_module
    response = _publish(request, new_mod_info)
  File "/home/sallner/zope/Zope/src/ZPublisher/WSGIPublisher.py", line 204, in publish
    bind=1)
  File "/home/sallner/zope/Zope/src/ZPublisher/mapply.py", line 85, in mapply
    return debug(object, args, context)
  File "/home/sallner/zope/Zope/src/ZPublisher/WSGIPublisher.py", line 56, in call_object
    return obj(*args)
  File "/home/sallner/zope/Zope/src/Shared/DC/Scripts/Bindings.py", line 323, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/sallner/zope/Zope/src/Shared/DC/Scripts/Bindings.py", line 360, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/sallner/zope/Zope/src/App/special_dtml.py", line 203, in _exec
    result = render_blocks(self._v_blocks, ns)
  File "/home/sallner/dev/eggs/DocumentTemplate-3.0a4-py3.5.egg/DocumentTemplate/_DocumentTemplate.py", line 147, in render_blocks
    render_blocks_(blocks, rendered, md)
  File "/home/sallner/dev/eggs/DocumentTemplate-3.0a4-py3.5.egg/DocumentTemplate/_DocumentTemplate.py", line 248, in render_blocks_
    block = block(md)
  File "/home/sallner/dev/eggs/DocumentTemplate-3.0a4-py3.5.egg/TreeDisplay/TreeTag.py", line 115, in render
    return tpRender(v, md, self.section, self.args)
  File "/home/sallner/dev/eggs/DocumentTemplate-3.0a4-py3.5.egg/TreeDisplay/TreeTag.py", line 215, in tpRender
    diff = decode_seq(md['tree-e'])
  File "/home/sallner/dev/eggs/DocumentTemplate-3.0a4-py3.5.egg/TreeDisplay/TreeTag.py", line 667, in decode_seq
    state = decompress(state)
  File "/home/sallner/dev/eggs/DocumentTemplate-3.0a4-py3.5.egg/TreeDisplay/TreeTag.py", line 693, in decompress
    return zlib.decompress(input).decode('utf-8')
zlib.error: Error -3 while decompressing data: incorrect header check

To reproduce:

  • Create folder Test
  • Inside Test create a folder Subtest
  • Reload the ZMI, as the TreeDisplay may not be automatically updated
  • Click on the + in front of Test

@sallner sallner added the bug label Sep 15, 2017

@sallner sallner added this to the 4.0b1 milestone Sep 15, 2017

@icemac icemac modified the milestones: 4.0b1, 4.0b2 Sep 20, 2017

@icemac icemac modified the milestones: 4.0b2, 4.0b3 Oct 13, 2017

@dataflake dataflake closed this in ff1ccda Nov 3, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment