[Zope] threadlock module import error

Henk gordevio2 at gmail.com
Sun Aug 28 15:02:15 EDT 2011


I purged the database of its transactions and took the data.fs as a 
whole from the old zope to the new. This installed properly. Only one 
product was missing (coreblog). This appears to have caused the problem. 
When I removed this from the .zexp file there was no problem importing 
the file.
Like some other products from the old version this probably needs to be 
reinstalled in the new manner (I installed a new zsql methods product 
from pypi with easy_install).

Thanks, anyway.


this is the traceback of the original error:

Traceback (innermost last):
   Module ZPublisher.Publish, line 126, in publish
   Module ZPublisher.mapply, line 77, in mapply
   Module ZPublisher.Publish, line 46, in call_object
   Module OFS.ObjectManager, line 619, in manage_importObject
   Module OFS.ObjectManager, line 637, in _importObjectFromFile
   Module ZODB.ExportImport, line 92, in importFile
   Module transaction._transaction, line 253, in savepoint
   Module transaction._transaction, line 250, in savepoint
   Module transaction._transaction, line 647, in __init__
   Module ZODB.Connection, line 1104, in savepoint
   Module ZODB.Connection, line 564, in _commit
   Module ZODB.ExportImport, line 175, in _importDuringCommit
   Module None, line 22, in<module>
   Module None, line 57, in<module>
   Module None, line 44, in<module>
   Module None, line 38, in<module>
   Module None, line 39, in<module>
ImportError: No module named ThreadLock

Op 28-8-2011 20:15, Chris Withers schreef:
> On 26/08/2011 14:32, Henk wrote:
>> I have a zope server 2.10.2 running. After upgrading to a 2.13.4 version
>> of Zope and importing a .zexp folder from the old version I get the
>> import error: No module named ThreadLock.
>> In version 2.13 the module ThreadLock was removed it states in the
>> changes description.
>> What can I do to make it work again?
> A good start would be to post the full traceback relating to the error 
> to this list.
> cheers,
> Chris

Henk Laloli

website: www.amsterdamhistorie.nl

Tel. 020 - 688 5211
06 - 380 844 54

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20110828/807f869c/attachment.html 

More information about the Zope mailing list