[Zope] Import Problems
Here's another try at getting this question addressed I have 2 Zope installs. On the newer one (2.2.1) when I try to import KM Net News (to install in the products list) I get the following error. Note I previously deleted KM Net News (the earlier version) but think that Zope might have gotten killed right in the middle of the delete and not completely deleted the product. Is there any way to get rid of the Class ID KMYear that does not show up in any way through the interface? Traceback (innermost last): File /websites/Zope/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /websites/Zope/lib/python/ZPublisher/Publish.py, line 187, in publish File /websites/Zope/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: Traversable) File /websites/Zope/lib/python/ZPublisher/Publish.py, line 171, in publish File /websites/Zope/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_importObject) File /websites/Zope/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: manage_importObject) File /websites/Zope/lib/python/OFS/ObjectManager.py, line 509, in manage_importObject (Object: Traversable) File /websites/Zope/lib/python/OFS/ObjectManager.py, line 264, in _setObject (Object: Traversable) File /websites/Zope/lib/python/OFS/ObjectManager.py, line 272, in manage_afterAdd (Object: Traversable) File /websites/Zope/lib/python/ZClasses/ZClass.py, line 422, in manage_afterAdd (Object: KMArticleStore) File /websites/Zope/lib/python/OFS/ObjectManager.py, line 272, in manage_afterAdd (Object: Traversable) File /websites/Zope/lib/python/ZClasses/ZClass.py, line 421, in manage_afterAdd (Object: KMYear) File /websites/Zope/lib/python/ZClasses/ZClass.py, line 375, in _register (Object: KMYear) Duplicate Class Ids: (see above) -- - Joshua Brauer Computer Support Scientist Department of Biochemistry and Molecular Biology Colorado State University Fort Collins, CO 80523 (970) 491-1080/pager: (970) 498-7995, #5837 - ___ 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] Import Problems
Unfortunately the previous version of KM Net News was broken by 2.2 :-( At 2:50 PM -0300 9/19/00, Lalo Martins wrote: On Tue, Sep 19, 2000 at 11:19:22AM -0600, Joshua Brauer wrote: Here's another try at getting this question addressed I have 2 Zope installs. On the newer one (2.2.1) when I try to import KM Net News (to install in the products list) I get the following error. Note I previously deleted KM Net News (the earlier version) but think that Zope might have gotten killed right in the middle of the delete and not completely deleted the product. ... Duplicate Class Ids: (see above) This looks like the "floating ZClasses" problem I have with 2.2.1... when I installed it, BannerFolder was broken for some reason, then I deleted it and when I tried to install the new one I had the same exception you did (Duplicate Class Ids). The weirdest part is that BannerFolder is now _working_ (without its Product). Please check your installation and see if the old version of KM|Net still works (you won't be able to create new objects, so you have to have old ones around to make this test). []s, |alo + -- Hack and Roll ( http://www.hackandroll.org ) News for, uh, whatever it is that we are. http://zope.gf.com.br/lalo mailto:[EMAIL PROTECTED] pgp key: http://zope.gf.com.br/lalo/pessoal/pgp Brazil of Darkness (RPG)--- http://zope.gf.com.br/BroDar ___ 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 ) -- ----- Joshua Brauer Computer Support Scientist Department of Biochemistry and Molecular Biology Colorado State University Fort Collins, CO 80523 (970) 491-1080/pager: (970) 498-7995, #5837 - ___ 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] More Import Problems
As a horrid workaround for the earlier problem with Z-classes I exported all of my data, restarted Zope and am re-importing, or would like to re-import data, but some of it won't import back into the same install that it came from. I re-imported the products and then want to re-import the parts of the site I get the following error: Error type: ImportError Error value: cannot import name query Traceback (innermost last): File /websites/Zope/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /websites/Zope/lib/python/ZPublisher/Publish.py, line 187, in publish File /websites/Zope/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: ApplicationDefaultPermissions) File /websites/Zope/lib/python/ZPublisher/Publish.py, line 171, in publish File /websites/Zope/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_importObject) File /websites/Zope/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: manage_importObject) File /websites/Zope/lib/python/OFS/ObjectManager.py, line 504, in manage_importObject (Object: ApplicationDefaultPermissions) File /websites/Zope/lib/python/ZODB/ExportImport.py, line 207, in importFile File /websites/Zope/lib/python/SearchIndex/TextIndex.py, line 217, in ? ImportError: (see above) -- - Joshua Brauer Computer Support Scientist Department of Biochemistry and Molecular Biology Colorado State University Fort Collins, CO 80523 (970) 491-1080/pager: (970) 498-7995, #5837 - ___ 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] ANNOUNCE: KM|Net News 1.1.1
Thanks! I'm having trouble though in that after deleting the old product and trying to import the new product I get an error that KMyear already exists. Am I doing something wrong? Josh At 10:40 AM -0400 9/16/00, Kevin Dangoor wrote: Hi, I've had a few reports of trouble with KM|Net News and Zope 2.2. I have fixed the reported problem, but have not extensively tested KMNN with Zope 2.2. If you're using KMNN with Zope 2.2, you can pick up the new release here: http://www.zope.org/Members/taz/kmnn Kevin ___ 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 ) -- - Joshua Brauer Computer Support Scientist Department of Biochemistry and Molecular Biology Colorado State University Fort Collins, CO 80523 (970) 491-1080/pager: (970) 498-7995, #5837 - ___ 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] ZODB Edit
Is there a way to edit Data.fs independent of the Zope interface? From what I can tell I have a remnant of a deleted product still "registered") and therefore can't add a new/similar product because it has an identical class-id. The product is a z-class so it's gone from the product menu and there aren't any files associated with it to remove. Is there any way to edit ZODB directly or to have it "scoured" clean? Josh -- --------- Joshua Brauer Computer Support Scientist Department of Biochemistry and Molecular Biology Colorado State University Fort Collins, CO 80523 (970) 491-1080/pager: (970) 498-7995, #5837 - ___ 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] ZODB Edit
OK maybe I'm missing something, but I can't see how to use the debugger to get information that Zope won't normally serve anyway. I'm trying to find the remnant of a product that didn't' get completely deleted. It doesn't appear on the management interface and I can't see anything with the debugger that I can't see through the management interface. What I really want to do is list/edit all the kinds of data Zope knows about Josh At 6:12 PM -0400 9/18/00, Chris McDonough wrote: Hi Joshua, See the "The Debugger Is Your Friend" how-to on Zope.org by Michel Pelletier. [EMAIL PROTECTED] wrote: Is there a way to edit Data.fs independent of the Zope interface? From what I can tell I have a remnant of a deleted product still "registered") and therefore can't add a new/similar product because it has an identical class-id. The product is a z-class so it's gone from the product menu and there aren't any files associated with it to remove. Is there any way to edit ZODB directly or to have it "scoured" clean? Josh -- --------- Joshua Brauer Computer Support Scientist Department of Biochemistry and Molecular Biology Colorado State University Fort Collins, CO 80523 (970) 491-1080/pager: (970) 498-7995, #5837 - ___ 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 ) -- Chris McDonough Digital Creations, Publishers of Zope http://www.zope.org ___ 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 ) -- _______ Joshua Brauer [EMAIL PROTECTED] http://www.brauer.org ___ ___ 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] SiteRoot (SiteAccess) problem
No, I unpacked the tarball in the Products directory. Any more ideas? Any idea how to get SiteRoot to show up on the available items list? Josh At 6:20 PM +0200 9/8/00, Wouter van Hilst wrote: Hi, Did you unpacked the tarbal in the Zope-root? Then its not working. You have to unpack it in the directory: Zope-2.2.1-linux2-x86/lib/python/Products: then it must work! regards, Wouter -- deeldrie grafische vormgeving - fotografie - interactieve vormgeving Donker Curtiusstraat 63 1051 MC Amsterdam T (020) 681 36 99 F (020) 681 38 65 From: Joshua Brauer [EMAIL PROTECTED] Date: Thu, 7 Sep 2000 15:53:30 -0600 To: [EMAIL PROTECTED] Subject: [Zope] SiteRoot (SiteAccess) problem I'm running a new server with 2.2.1 and Siteaccess 2.0.0 b3 and I don't get a "SiteRoot" item in the available items list. I can copy site roots and move them, but I cannot create new site roots... After reinstalling SiteAccess ( restarting) I still have problems. Any ideas? General Info: * Zope version: Zope 2.2.1 (binary release, python 1.5.2, linux2-x86) * Python version: 1.5.2 (#1, Feb 1 2000, 16:32:16) [GCC egcs-2.91.66 19990314/Linux (egcs- * System Platform: linux-i386 Installed Products: AspSucks (Installed product AspSucks) BTreeFolder (Installed product BTreeFolder (BTreeFolder-0.1.1)) Calendar (Installed product Calendar (calendar-0-9-0)) Confera (Broken product Confera) DemoPortal (Through-the-web Sample Portal) ExternalMethod (Installed product ExternalMethod (External Method-1-0-0)) Fortune (Installed product Fortune) Glossary (Glossary ZClass) Hotfix_06_16_2000 (Installed product Hotfix_06_16_2000) Hotfix_2000-08-17 (Installed product Hotfix_2000-08-17) IMAPAdapter (Broken product IMAPAdapter) KMnetNews (KM|net News) KnowledgeKit LoginManager (Installed product LoginManager (LoginManager-0-3-0)) MIMETools (Installed product MIMETools) MailHost (Installed product MailHost (MailHost-1-2-0)) NewsSyndicate (Installed product NewsSyndicate (NewsCenter 0.0.5)) NotMail (Broken product NotMail) OFSP (Installed product OFSP (OFSP-1-0-0)) PTKBase (Installed product PTKBase) PTKDemo (Installed product PTKDemo) Photo (Installed product Photo (Photo-0-4-0)) Planner (Planner) Poll (Installed product Poll (Poll-0-6-0)) PythonMethod (Installed product PythonMethod (PythonMethod-0-1-7)) Redirector (Installed product Redirector) SiteAccess (Installed product SiteAccess (SiteAccess-2-0-0b3)) Squishdot (Installed product Squishdot (Squishdot-0-7-1)) TinyCal (Installed product TinyCal (calendar-0-9-0)) TinyTable (Installed product TinyTable (TinyTable-0-8-2)) WebPages (WebPages Class) Wizard WorldPilot (Installed product WorldPilot (WorldPilot 1.00.3)) XMLDocument (Installed product XMLDocument (XML Document 1.0a6)) ZCallable (Installed product ZCallable) ZCatalog (Installed product ZCatalog (ZCatalog-2-2-0)) ZFDocument (Installed product ZFDocument) ZGadflyDA (Installed product ZGadflyDA) ZPhotoAlbum (Z Photo Album) ZPyGreSQLDA (Installed product ZPyGreSQLDA (ZPyGreSQLDA-0-0-3)) ZRTChat (HTML Chat for Zope) ZSQLMethods (Installed product ZSQLMethods) ZopeTutorial (Installed product ZopeTutorial (Zope Tutorial 1.0)) beehiveCal (Installed product beehiveCal (Version 0.2.0)) seminarCalendar (Seminar Calendar) -- ----- Joshua Brauer Computer Support Scientist Department of Biochemistry and Molecular Biology Colorado State University Fort Collins, CO 80523 (970) 491-1080/pager: (970) 498-7995, #5837 - ___ 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 ) -- ----- Joshua Brauer Computer Support Scientist Department of Biochemistry and Molecular Biology Colorado State University Fort Collins, CO 80523 (970) 491-1080/pager: (970) 498-7995, #5837 - ___ 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] SiteRoot (SiteAccess) problem
I'm running a new server with 2.2.1 and Siteaccess 2.0.0 b3 and I don't get a "SiteRoot" item in the available items list. I can copy site roots and move them, but I cannot create new site roots... After reinstalling SiteAccess ( restarting) I still have problems. Any ideas? General Info: * Zope version: Zope 2.2.1 (binary release, python 1.5.2, linux2-x86) * Python version: 1.5.2 (#1, Feb 1 2000, 16:32:16) [GCC egcs-2.91.66 19990314/Linux (egcs- * System Platform: linux-i386 Installed Products: AspSucks (Installed product AspSucks) BTreeFolder (Installed product BTreeFolder (BTreeFolder-0.1.1)) Calendar (Installed product Calendar (calendar-0-9-0)) Confera (Broken product Confera) DemoPortal (Through-the-web Sample Portal) ExternalMethod (Installed product ExternalMethod (External Method-1-0-0)) Fortune (Installed product Fortune) Glossary (Glossary ZClass) Hotfix_06_16_2000 (Installed product Hotfix_06_16_2000) Hotfix_2000-08-17 (Installed product Hotfix_2000-08-17) IMAPAdapter (Broken product IMAPAdapter) KMnetNews (KM|net News) KnowledgeKit LoginManager (Installed product LoginManager (LoginManager-0-3-0)) MIMETools (Installed product MIMETools) MailHost (Installed product MailHost (MailHost-1-2-0)) NewsSyndicate (Installed product NewsSyndicate (NewsCenter 0.0.5)) NotMail (Broken product NotMail) OFSP (Installed product OFSP (OFSP-1-0-0)) PTKBase (Installed product PTKBase) PTKDemo (Installed product PTKDemo) Photo (Installed product Photo (Photo-0-4-0)) Planner (Planner) Poll (Installed product Poll (Poll-0-6-0)) PythonMethod (Installed product PythonMethod (PythonMethod-0-1-7)) Redirector (Installed product Redirector) SiteAccess (Installed product SiteAccess (SiteAccess-2-0-0b3)) Squishdot (Installed product Squishdot (Squishdot-0-7-1)) TinyCal (Installed product TinyCal (calendar-0-9-0)) TinyTable (Installed product TinyTable (TinyTable-0-8-2)) WebPages (WebPages Class) Wizard WorldPilot (Installed product WorldPilot (WorldPilot 1.00.3)) XMLDocument (Installed product XMLDocument (XML Document 1.0a6)) ZCallable (Installed product ZCallable) ZCatalog (Installed product ZCatalog (ZCatalog-2-2-0)) ZFDocument (Installed product ZFDocument) ZGadflyDA (Installed product ZGadflyDA) ZPhotoAlbum (Z Photo Album) ZPyGreSQLDA (Installed product ZPyGreSQLDA (ZPyGreSQLDA-0-0-3)) ZRTChat (HTML Chat for Zope) ZSQLMethods (Installed product ZSQLMethods) ZopeTutorial (Installed product ZopeTutorial (Zope Tutorial 1.0)) beehiveCal (Installed product beehiveCal (Version 0.2.0)) seminarCalendar (Seminar Calendar) -- ----- Joshua Brauer Computer Support Scientist Department of Biochemistry and Molecular Biology Colorado State University Fort Collins, CO 80523 (970) 491-1080/pager: (970) 498-7995, #5837 - ___ 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] Getting a document's contents
There is probably a simple solution that I'm overlooking here I have a folder (Parts) that contains dtml documents that are snippets of code. I want to include some of them which I have listed in a variable (select). So I use code like this: dtml-with parts dtml-in select dtml-var "_.getitem('sequence-item')" /dtml-in /dtml-with or this dtml-with parts dtml-in select dtml-var sequence-item /dtml-in /dtml-with In either case I get the name of sequence-item but I want the contents of sequence-item Josh -- ----- Joshua Brauer Computer Support Scientist Department of Biochemistry and Molecular Biology Colorado State University Fort Collins, CO 80523 (970) 491-1080/pager: (970) 498-7995, #5837 - ___ 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] Zope/Apache/ProxyPass
I'm having trouble getting Zope and Proxy Pass to work the way I expect Specifically if you look at this site: http://www.bmb.colostate.edu:8111/ it's really supposed to proxypass to webdev.bmb.colostate.edu, but the ProxyPassReverse directive doesn't seem to clean/modify/correct the base tag in the header as I understand it should Here's the proxypass section of my httpd.conf for apache: ProxyRequests on NoCache * ProxyPass / http://webdev.bmb.colostate.edu/ ProxyPassReverse / http://webdev.bmb.colostate.edu/ ProxyPass /misc_ http://webdev.bmb.colostate.edu/misc_ ProxyPass /p_ http://webdev.bmb.colostate.edu/p_ And in the past I've tried it as: ProxyRequests on NoCache * ProxyPass /Zope/ http://webdev.bmb.colostate.edu/ ProxyPassReverse /Zope/ http://webdev.bmb.colostate.edu/ ProxyPass /misc_ http://webdev.bmb.colostate.edu/misc_ ProxyPass /p_ http://webdev.bmb.colostate.edu/p_ Ideas? Thanks, Josh -- - Joshua Brauer Computer Support Scientist Department of Biochemistry and Molecular Biology Colorado State University Fort Collins, CO 80523 (970) 491-1080/pager: (970) 498-7995, #5837 - ___ 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] Zope/Apache/ProxyPass
I'm having trouble getting Zope and Proxy Pass to work the way I expect Specifically if you look at this site: http://www.bmb.colostate.edu:8111/ it's really supposed to proxypass to webdev.bmb.colostate.edu, but the ProxyPassReverse directive doesn't seem to clean/modify/correct the base tag in the header as I understand it should Here's the proxypass section of my httpd.conf for apache: ProxyRequests on NoCache * ProxyPass / http://webdev.bmb.colostate.edu/ ProxyPassReverse / http://webdev.bmb.colostate.edu/ ProxyPass /misc_ http://webdev.bmb.colostate.edu/misc_ ProxyPass /p_ http://webdev.bmb.colostate.edu/p_ And in the past I've tried it as: ProxyRequests on NoCache * ProxyPass /Zope/ http://webdev.bmb.colostate.edu/ ProxyPassReverse /Zope/ http://webdev.bmb.colostate.edu/ ProxyPass /misc_ http://webdev.bmb.colostate.edu/misc_ ProxyPass /p_ http://webdev.bmb.colostate.edu/p_ Ideas? Thanks, Josh -- - Joshua Brauer Computer Support Scientist Department of Biochemistry and Molecular Biology Colorado State University Fort Collins, CO 80523 (970) 491-1080/pager: (970) 498-7995, #5837 - ___ 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] Textarea Limits (slightly off topic)
I'm running into a limit to the amount of text that IE 5 will display on the Macintosh. I am wondering if this is true of all browsers and platforms or unique to IE5/Mac. This of course limits the size of documents that can be edited through the manage interface. Now I really wish Pike worked as an editor without it's problems with signs. Josh -- - Joshua Brauer Computer Support Scientist Department of Biochemistry and Molecular Biology Colorado State University Fort Collins, CO 80523 (970) 491-1080/pager: (970) 498-7995, #5837 - ___ 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 )