[ZCM] [ZC] 2205/ 4 Comment "Problem with 2.8.8 -> 2.9.5 "

Collector: Zope Bugs, Features, and Patches ... zope-coders-admin at zope.org
Wed Oct 4 11:31:06 EDT 2006


Issue #2205 Update (Comment) "Problem with 2.8.8 -> 2.9.5 "
 Status Resolved, Zope/bug medium
To followup, visit:
  http://www.zope.org/Collectors/Zope/2205

==============================================================
= Comment - Entry #4 by chrisw on Oct 4, 2006 11:30 am

> Fixed on the 2.9 branch. As solution replace
> error=exc_info() with exc_info=exc_inof()

NOOO!!!!!

Andreas, please RTFM before you make any more similar changes to the Zope code base that people have to go and clean up behind you...

This should be exc_info=True

The python logging module removes the needs to juggle memory-leaking traceback objects around. Lets take advantage of it, shall we?
________________________________________
= Resolve - Entry #3 by ajung on Oct 4, 2006 8:53 am

 Status: Pending => Resolved

Fixed on the 2.9 branch. As solution replace
error=exc_info() with exc_info=exc_inof()


________________________________________
= Edit - Entry #2 by ajung on Oct 4, 2006 8:51 am

 Changes: submitter email, importance (critical => medium)
________________________________________
= Request - Entry #1 by rauch on Oct 4, 2006 7:45 am

I wanted to update from version 2.8.8 to 2.9.5. I saved the old system, created a new zope-folder with 2.9.5 and afterwards copied Products, Extensions, Data.fs .. to the new folder.

I am able to login, but I get an error: 

TypeError
_log() got an unexpected keyword argument 'error'

Time  	2006/10/04 13:26:51.636 GMT+2
User Name (User Id) 	hrauch (hrauch)
Request URL 	http://www.bildung.hessen.de:9080/manage_main
Exception Type 	TypeError
Exception Value 	_log() got an unexpected keyword argument 'error'

Traceback (innermost last):

    * Module ZPublisher.Publish, line 115, in publish
    * Module ZPublisher.mapply, line 88, in mapply
    * Module ZPublisher.Publish, line 41, in call_object
    * Module Shared.DC.Scripts.Bindings, line 311, in __call__
    * Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
    * Module App.special_dtml, line 176, in _exec
    * Module DocumentTemplate.DT_Let, line 76, in render
    * Module DocumentTemplate.DT_In, line 643, in renderwob
    * Module DocumentTemplate.DT_In, line 771, in sort_sequence
    * Module ZODB.Connection, line 732, in setstate
    * Module ZODB.Connection, line 786, in _setstate
    * Module ZODB.serialize, line 605, in setGhostState
    * Module Shared.DC.ZRDB.Connection, line 74, in __setstate__
    * Module logging, line 999, in error

TypeError: _log() got an unexpected keyword argument 'error'


==============================================================



More information about the Zope-Collector-Monitor mailing list