RE: [Zope] Reloading products
Shane pointed me to the Refresh product, but I'm still baffled. The same problem that's stopping me from updating my product is stopping the Refresh product from doing its thing on my product (even though it appears in the product folder itself). I can completely add or remove my own products from the Products directory and they have no effect whatsoever on the ZODB. Am I missing something? Here's what I'm doing to create a product (following source for various things including the Boring product): 1) create folder Products/AlbumImage 2) add __init__.py 3) in __init__.py, import AlbumImage, initialise(context) stuff 4) create AlbumImage/AlbumImage.py 5) do stuff that is good in AlbumImage.py Now, as far as I can tell, this should be sufficient to make my product appear in the products folder. Why does it refuse to disappear or change? Is it stuck somewhere in the ZODB? Ek I'm confused. Seb. > -Original Message- > From: Chris Withers [mailto:[EMAIL PROTECTED]] > Sent: 24 May 2000 21:03 > To: Seb Bacon > Cc: Zope Users > Subject: Re: [Zope] Reloading products > > > 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 )
Re: [Zope] Reloading products
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 )
[Zope] Reloading products
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 )