ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> zope-List
zope-List
[PMX:#] [Zope] How do I deal with UNpickelableError ?
by Catonano other posts by this author
Dec 30 2002 6:35PM messages near this date
[Zope] permissions | Re: [Zope] How do I deal with UNpickelableError ?
il nome del dominio =?iso-8859-1?Q?=E8:?= www.badiailvingone.it

il resto dei documenti che tin gli ha dato =?iso-8859-1?Q?=E8?= spazzatura.

Grazie 
Ciao
Adri

P.S. ti faccio sapere se riesce a attivare la cosa
pickelable and UNpickelable objects
Mime-Version: 1.0 (GMessage framework 0.9.7)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: GyazMail version 0.9.7

Hello all,

I get something back froma ZCatalog (  results = myZCatalog({'myAttr': 
myValue})    )

Then I try to put results in session, like this:

...Request.Session['myResults'] = results

What I get back is an UnpickelableError message.

It seems that lists are not pickelable.

How can I store my results in a pickelable form? Can I?

I'd like tu put online my work, when done, so I'd like not using 
products (like RAM based session managers), since I don't know how many 
of them are supported by my host.

Please, please, please! Is there ANY possibility to put my objects in a 
pickelable set?

Less importantly: How can I know wether an object is pickelable or not? 
How can I know WHO my object inherits from?

In SmallTalk and Java I was used to class browsers and that did. How in 
Zope/python?

Are dictionaries pickelable? How do I distinguish a list from a 
dictionary?
Are there any kind of sets, other than lists and dictionaries?

Ok, I think I made clear what I'm at. Please help me

Thank you all.
Bye
Catonano

_______________________________________________
Zope maillist  -  Zope@[...].org
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )
Thread:
Catonano
Dieter Maurer
Catonano

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved