This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author llucax
Recipients alexandre.vassalotti, amaury.forgeotdarc, georg.brandl, gpk, llucax
Date 2008-06-16.19:08:11
SpamBayes Score 0.041460846
Marked as misclassified No
Message-id <1213643295.16.0.889413136321.issue2295@psf.upfronthosting.co.za>
In-reply-to
Content
I'm having the same problem here.

Error is: cPickle.PicklingError: Can't pickle qos.Device: it's not the
same object as qos.Device

If I use pickle module, it works fine. If I use cPickle module but with
protocol=0, it works fine (protocol=1 or protocol=2 both fail).

I'm trying to make a simple example that reproduce the problem, but I
couldn't do it yet (small tests seems to work). So for now, I just can
only offer the complete source code of my project[1] (see branch
"python-bug-2295"). Not that the bug is exposed by the commit
b0ef5dd[2], and it's only exposed in the "qos" module (other modules
works fine).

To see the backtrace it should be enough to download the project (you
can download a tarball[3] or use git via git protocol[4] -preferred- or
http[5]) and execute ./pymind

[1]
http://git.llucax.com.ar/?p=software/pymin.git;a=shortlog;h=refs/heads/python-bug-2295
[2]
http://git.llucax.com.ar/?p=software/pymin.git;a=commitdiff;h=b0ef5ddfd5b04ecb09a18fb6f253c9f8a7db48a8
[3]
http://git.llucax.com.ar/?p=software/pymin.git;a=snapshot;h=f19fc5b4f5eeda18a24b1f5a2d042fd206c9ed0f;sf=tgz
[4] git clone git://git.llucax.com.ar/software/pymin.git
[5] git clone http://git.llucax.com.ar/git/software/pymin.git
History
Date User Action Args
2008-06-16 19:08:15llucaxsetspambayes_score: 0.0414608 -> 0.041460846
recipients: + llucax, gpk, georg.brandl, amaury.forgeotdarc, alexandre.vassalotti
2008-06-16 19:08:15llucaxsetspambayes_score: 0.0414608 -> 0.0414608
messageid: <1213643295.16.0.889413136321.issue2295@psf.upfronthosting.co.za>
2008-06-16 19:08:13llucaxlinkissue2295 messages
2008-06-16 19:08:11llucaxcreate