[Zope] Reloading products

2000-05-24 Thread Seb Bacon

newbie time:

I'm trying to write a product AlbumImage which extends Image to include a
thumbnail.
I was determined to slog it out without begging for help, but I've come up
against a very strange brick wall.
I'm getting problems with an import statement at the beginning of my product

from OFS.PropertyManager import PropertyManager

now then.  I originally mis-spelled PropertyManager 'PropertyManageer' and
got a traceback telling me it didn't exist.  Fine.

I changed it to the correct spelling, stopped and started my zope (n.b. is
there any way of reloading a product without the tedium of stopping and
starting zope?), and it still said 'no module named PropertyManageer'.  So I
tried changing it to ProoopertyManager, restarted Zope and sure enough the
error was 'no module named ProoopertyManager'.  BUT...I changed it to
PropertyManager again and the error was *still* 'no module named
ProoopertyManager'.

Any clues, anyone?

-seb

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
 Lindell Alderman
 Sent: 24 May 2000 20:18
 To: Zope Developers; Zope Users
 Subject: [Zope] Cannot rename or move my ZClass object
 
 
 I have derived a ZClass from the Folder base class and it works
 great, except I cannot rename or move my ZClass.  How can I fix this?
 
 -L
 
 ___
 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 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] Reloading products

2000-05-24 Thread Chris Withers

Seb Bacon wrote:
(n.b. is
 there any way of reloading a product without the tedium of stopping and
 starting zope?)

There is a very-alpha product for doing this floating around on the
zope-dev list. check the archives...

Chris

___
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 )