[ZODB-Dev] [ zodb-Bugs-650465 ] Pickling error with Python 2.2.2

noreply@sourceforge.net noreply@sourceforge.net
Sun, 08 Dec 2002 09:16:32 -0800


Bugs item #650465, was opened at 2002-12-08 12:13
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=115628&aid=650465&group_id=15628

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Andreas Jung (ajung)
Assigned to: Nobody/Anonymous (nobody)
Summary: Pickling error with Python 2.2.2

Initial Comment:
The following traceback is caused by a fresh
Zope/CMF checkout using Python 2.2.2 and
CMFCollectorNG:

Traceback (innermost last):
  Module ZPublisher.Publish, line 102, in publish
  Module Zope.App.startup, line 200, in commit
  Module ZODB.Transaction, line 234, in commit
  Module ZODB.Transaction, line 350, in 
_commit_objects
  Module ZODB.Connection, line 381, in commit
   - __traceback_info__: 
(('Products.CMFCollectorNG.CollectorNGIssue', 
'CollectorNGIssue'), '\x00\x00\x00\x00\x00\x00\x18
\xf6', '')
  Module copy_reg, line 57, in _reduce
TypeError: can't pickle function objects

This error occurs when a new ticket is added
a collector instance. This error does not
occur using Python 2.1.3.

How to reproduce:

- create a fresh sandbox using Zope/CMF/DCWorkflow
  from HEAD with Python 2.2.2 (under Linux)

- Install CMFCollectorNG from  
http://sourceforge.net/project/showfiles.php?
group_id=68417 (just extract the tar.gz file)

- install the attached Data.fs

- restart Zope

- go to http://yetix:20080/trackers/login_form
  and login as admin/pnmaster

- goto 
http://yetix:20080/trackers/test/collector_add_issue_for
m

- fill out all fields with the red background (required fields)

- click on "Ticket anlegen" (Submit ticket)

- now you should see an error screen:


Ein Fehler ist aufgetreten:

Fehler-Typ: TypeError
Fehler-Grund: can't pickle function objects
Zurück
Zeige Eintrag im Error-Logfile

- check the error_log inside Zope to get the full 
tracebrack


Andreas





----------------------------------------------------------------------

>Comment By: Andreas Jung (ajung)
Date: 2002-12-08 12:16

Message:
Logged In: YES 
user_id=11084

Attaching Data.fs

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=115628&aid=650465&group_id=15628