Re: [Zope] mysqlUserFolder woes

2000-08-18 Thread Stephan Goeldi

My server had the same symptoms with zShop.


>Basically, everything works fine - for a while - then it starts to
>intermittently fail as the load to the server increases, until it is
>completley broken, with the system error below.


Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com


___
Zope maillist  -  [EMAIL PROTECTED]
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 )




Re: [Zope] mysqlUserFolder woes

2000-08-17 Thread Dieter Maurer

Stephen Harrison writes:
 > Error Type: SystemError
 > Error Value: Failed to import class ImplicitAcquirerWrapper from module
 > Acquisition
 > 
 > Traceback (innermost last):
 >   
 >   File /usr/local/zope/2-1-6/lib/python/ZODB/Connection.py, line 396, in
 > setstate
 > SystemError: (see above)

This signals that a Zope runtime object, i.e. one that is wrapped
into an acquisition context was stored into an object to be pickled.

I saw this several times:

 * someone assigned in an external method to "self":

self.image= 

   with "" being a Zope runtime object.


 * someone added a Zope object to a session instance


I can not help you with your concrete problem.


Dieter

___
Zope maillist  -  [EMAIL PROTECTED]
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 )




Re: [Zope] mysqlUserFolder woes

2000-08-17 Thread Tony McDonald

At 4:12 pm +0100 17/8/00, Stephen Harrison wrote:
>I've been trying out mysqlUserFolder lately, but have had quite a major
>problem with it.
>
>Basically, everything works fine - for a while - then it starts to
>intermittently fail as the load to the server increases, until it is
>completley broken, with the system error below.
>
>Has anyone else come across this, or is it just me?
>
>Cheers,
>Stephen

I'd suggest using UserDB. It's been pretty good for us. I looked at 
mysqlUserFolder (seemed overly complex), GUF (couldn't get it to 
work) and even LoginManager (too much Zen needed) and came back to 
UserDB.

hth
tone
--
Dr Tony McDonald,  FMCC, Networked Learning Environments Project 
http://nle.ncl.ac.uk/
The Medical School, Newcastle University Tel: +44 191 222 5116
Fingerprint: 3450 876D FA41 B926 D3DD  F8C3 F2D0 C3B9 8B38 18A2

___
Zope maillist  -  [EMAIL PROTECTED]
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 )




Re: [Zope] mysqlUserFolder woes

2000-08-17 Thread Stephen Harrison

Tony McDonald wrote:
> 
> I'd suggest using UserDB. It's been pretty good for us. I looked at
> mysqlUserFolder (seemed overly complex), GUF (couldn't get it to
> work) and even LoginManager (too much Zen needed) and came back to
> UserDB.

One of the reasons I was trying to get mysqlUserFolder to work, is that
I want to be able to store arbitrary data with the user record, such as
real name, email address, etc.  mysqlUserFolder does this quite nicely. 
If there is an easy way to achieve this using userDb then that would be
another way to solve the problem.

Cheers,
Stephen

-- 
Stephen Harrison[EMAIL PROTECTED]
New Information Paradigms   www.nipltd.com

___
Zope maillist  -  [EMAIL PROTECTED]
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 )




[Zope] mysqlUserFolder woes

2000-08-17 Thread Stephen Harrison

I've been trying out mysqlUserFolder lately, but have had quite a major
problem with it.

Basically, everything works fine - for a while - then it starts to
intermittently fail as the load to the server increases, until it is
completley broken, with the system error below.

Has anyone else come across this, or is it just me?

Cheers,
Stephen

Error Type: SystemError
Error Value: Failed to import class ImplicitAcquirerWrapper from module
Acquisition

Traceback (innermost last):
  File /usr/local/zope/2-1-6/lib/python/ZPublisher/Publish.py, line 214,
in publish_module
  File /usr/local/zope/2-1-6/lib/python/ZPublisher/Publish.py, line 179,
in publish
  File /usr/local/zope/2-1-6/lib/python/Zope/__init__.py, line 202, in
zpublisher_exception_hook
(Object: ElementWithAttributes)
  File /usr/local/zope/2-1-6/lib/python/ZPublisher/Publish.py, line 151,
in publish
  File
/usr/local/zope/2-1-6/lib/python/Products/SiteAccess/ChangeBehaviors.py,
line 226, in traverse
  File /usr/local/zope/hack/2-1-6/lib/python/ZPublisher/BaseRequest.py,
line 504, in old_validation
  File /usr/local/zope/2-1-6/lib/python/ZODB/Connection.py, line 396, in
setstate
SystemError: (see above)


-- 
Stephen Harrison[EMAIL PROTECTED]
New Information Paradigms   www.nipltd.com

___
Zope maillist  -  [EMAIL PROTECTED]
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 )