Zeo Server Zope2.11 final can't use TemporaryStorage

Bug #271395 reported by Vladislav Vorobiev
10
Affects Status Importance Assigned to Milestone
Zope 2
Fix Released
Undecided
Unassigned

Bug Description

zeo.conf

%import tempstorage
<temporarystorage temp>
  name temporary storage for sessioning
</temporarystorage>

raceback (most recent call last):
  File "/opt/Zope-2.11/lib/python/ZEO/runzeo.py", line 356, in ?
    main()
  File "/opt/Zope-2.11/lib/python/ZEO/runzeo.py", line 353, in main
    s.main()
  File "/opt/Zope-2.11/lib/python/ZEO/runzeo.py", line 140, in main
    self.create_server()
  File "/opt/Zope-2.11/lib/python/ZEO/runzeo.py", line 241, in create_server
    auth_realm=self.options.auth_realm)
  File "/opt/Zope-2.11/lib/python/ZEO/StorageServer.py", line 876, in __init__
    self._setup_invq(name, storage)
  File "/opt/Zope-2.11/lib/python/ZEO/StorageServer.py", line 901, in _setup_invq
    self.invq[name] = [(storage.lastTransaction(), None)]
  File "/opt/Zope-2.11/lib/python/tempstorage/TemporaryStorage.py", line 79, in lastTransaction
    return self._ltid
AttributeError: TemporaryStorage instance has no attribute '_ltid'

The same configuration woks well with ZOPE2.10.

Revision history for this message
Andreas Jung (ajung) wrote :

This this issue related to

https://bugs.launchpad.net/zope2/+bug/143736

?

Please check if the patch

http://launchpadlibrarian.net/9460715/tempstorage-ltid.patch

resolves the problem

Revision history for this message
Andreas Jung (ajung) wrote :

We got a third-party confirmation that the patch works. Will include it with the next Zope 2.11 release

Revision history for this message
Vladislav Vorobiev (mymir-org) wrote :

it works now

Revision history for this message
Andreas Jung (ajung) wrote :

Fixed on the Zope 2.10-11 branches and trunk

Changed in zope2:
status: New → Fix Committed
Changed in zope2:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.