[Zope-dev] Strange crash/startup error
Hello, recently my Zope install of 2.5.1 had crashed and will not start back up. Everything was working while I was testing an external method. After I ran another test, Zope stopped responding. I looked on the server and the service was still running. I tried to restart and got this error. http://photos.groups.yahoo.com/group/zope/vwp?.dir=/.src="gr.dnm=Error.GIF.view=t.done=http%3a//photos.groups.yahoo.com/group/zope/lst%3f%26.dir=/%26.src=gr%26.view=tI hope the link works cause it is a yahoogroups photo. Basically the TBsays: HTTPResponse.py line 91, start_of_header_search = re.compile... module object has no attribute "compile" I have ran fsrecover, re-installed Zope, ran a repair on ActivePython 2.2.1. But still it crashes with this error. I did notice that the fresh install ran fine with the standard products and data.fs. Help me please! Zope2.5.1, ActivePython 2.2.1 build 222, Windows 2000 serverDo You Yahoo!? LAUNCH - Your Yahoo! Music Experience
[Zope-dev] Transaction error on Zopesite DB
I keep getting a transaction error which renders my entire ODB unwritable on Zopesite.com just about everyday. I can go in and repair it with fsrecover fine. It comes back up just great and I can write to the DB again. A day later same transaction error. I have thousands and thousands of instances of multiple products in the ODB. The actual DB size is only about 200 megs. I am sure there could be many many reasons for this happening. I am just wondering where to start? Scott _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope] Running Zope
-- Original Message -- From: Norm LaDuke [EMAIL PROTECTED] Date: Sat, 02 Dec 2000 19:17:50 -0600 Can anyone out there tell me why anyone would use a product whose tutorial won't even run. You guys are either INFINITELY more patient than I or you all have WAY too much time on your hands. I'm about 7 hours into this thing and we do finally have zope up and running but of course the tutorial doesn't work. Requires you to put in an ID then blows up and goes no further. What a piece of garbage (Does my frustration show??) ___ 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 ) Digital creations offers commercial help. You are posting to a community of users here. Bashing the product we use because you are having problems is not going to get you help any faster. As well as posting such vague commens such as "The tutorial doesn't work" How exactly is it not working? When have you ever received an answer to a technical question without providing specifics? If this is a known issue with the tutorial, chances are someone else has found this out on this list and someone posted an answer or a fix already. Try searching this list before you post. There are many resources, as well as search interfaces for this list at www.zope.org/resources or /documentation ___ 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 __len__ errors
I am having a intermittent problem with ZCatalog(I think). I have a couple of products that are catalog-aware and have been working. Then, out of nowhere if I call dtml-in "Catalog(meta_type='object')" I get a __len__ error, when a few minutes before it worked. I looked at the undo list to see if I have done anything to cause it but could not find anything. I delete the cataloged objects as well as the objects themselves and re-create them. Same problem. Here is the TB: ___ 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] more __len__ errors
Sorry about that, I forgot to send the trace back along with the message. As my luck would have it, I go to the section that was giving me an error, now it has disappeared? It s now working again with no errors. I know it isn't just me, one of my clients is reporting the same error on their side from my server. Here are some server specs: Zope 2.1.6 on Caldera Open Linux 2.3 if that helps. From: Chris McDonough [EMAIL PROTECTED] Date: Sat, 28 Oct 2000 08:34:46 -0400 To: Scott Burton [EMAIL PROTECTED] Cc: Zope List [EMAIL PROTECTED] Subject: Re: [Zope] more __len__ errors Scott, we're struggling with some catalog issues right now... I didn't see the traceback attached, but I assume it's a "len of unsized object" error. We'd be very interested in obtaining a setup where this problem was repeatable. Scott Burton wrote: I am having a intermittent problem with ZCatalog(I think). I have a couple of products that are catalog-aware and have been working. Then, out of nowhere if I call dtml-in "Catalog(meta_type='object')" I get a __len__ error, when a few minutes before it worked. I looked at the undo list to see if I have done anything to cause it but could not find anything. I delete the cataloged objects as well as the objects themselves and re-create them. Same problem. Here is the TB: ___ 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 ) ___ 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] more __len__ errors
One of the reasons I haven't moved to 2.2 yet is because of the extensive use of ZDiscussions on my server. I have successfully moved all other products over into a separate install, waiting to be turned on. All but ZDiscussions. I have been trying to create a ZClass-based replica of it similar methods etc. . I also run another Zope server with 2.2 on it and have had over 1,500 Catalog-aware objects in the catalog with no problems. So I figured it was 2.1.6 Scott From: Chris McDonough [EMAIL PROTECTED] Date: Sat, 28 Oct 2000 14:34:53 -0400 To: Scott Burton [EMAIL PROTECTED] Cc: Zope List [EMAIL PROTECTED] Subject: Re: [Zope] more __len__ errors Hmmm... Zope 2.1.6 has known catalog issues. So does 2.2.X for that matter, but at least some of them have been fixed (not to mention that later versions of Zope log errors in cataloging and uncataloging objects). The Zope 2.1.X branch is not really being maintained. You should probably try to move to the latest release. That said, it would be most helpful to have a full copy of the Zope installation which exhibits the problem. Even better (but probably less possible) is to have a full copy of the Zope installation *right before* the problem starts occurring and one *right after* the problem starts occurring so we can look at the catalog data structures to see what might be happening. Platform is not thought to be an issue. This would be helpful even if it was a Zope 2.1.6 install. Scott Burton wrote: Sorry about that, I forgot to send the trace back along with the message. As my luck would have it, I go to the section that was giving me an error, now it has disappeared? It s now working again with no errors. I know it isn't just me, one of my clients is reporting the same error on their side from my server. Here are some server specs: Zope 2.1.6 on Caldera Open Linux 2.3 if that helps. From: Chris McDonough [EMAIL PROTECTED] Date: Sat, 28 Oct 2000 08:34:46 -0400 To: Scott Burton [EMAIL PROTECTED] Cc: Zope List [EMAIL PROTECTED] Subject: Re: [Zope] more __len__ errors Scott, we're struggling with some catalog issues right now... I didn't see the traceback attached, but I assume it's a "len of unsized object" error. We'd be very interested in obtaining a setup where this problem was repeatable. Scott Burton wrote: I am having a intermittent problem with ZCatalog(I think). I have a couple of products that are catalog-aware and have been working. Then, out of nowhere if I call dtml-in "Catalog(meta_type='object')" I get a __len__ error, when a few minutes before it worked. I looked at the undo list to see if I have done anything to cause it but could not find anything. I delete the cataloged objects as well as the objects themselves and re-create them. Same problem. Here is the TB: ___ 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 ) ___ 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 )
Re: [Zope] more __len__ errors
I will see what I can do about the before and after snapshots. Then again, I should probably just make the move to 2.2. Is there a way to use the same objects created by ZDiscussions in my ZClass version of ZD as long as the meta_types are the same? That way the change-over could be transparent.(hopefully) From: Chris McDonough [EMAIL PROTECTED] Date: Sat, 28 Oct 2000 14:34:53 -0400 To: Scott Burton [EMAIL PROTECTED] Cc: Zope List [EMAIL PROTECTED] Subject: Re: [Zope] more __len__ errors Hmmm... Zope 2.1.6 has known catalog issues. So does 2.2.X for that matter, but at least some of them have been fixed (not to mention that later versions of Zope log errors in cataloging and uncataloging objects). The Zope 2.1.X branch is not really being maintained. You should probably try to move to the latest release. That said, it would be most helpful to have a full copy of the Zope installation which exhibits the problem. Even better (but probably less possible) is to have a full copy of the Zope installation *right before* the problem starts occurring and one *right after* the problem starts occurring so we can look at the catalog data structures to see what might be happening. Platform is not thought to be an issue. This would be helpful even if it was a Zope 2.1.6 install. Scott Burton wrote: Sorry about that, I forgot to send the trace back along with the message. As my luck would have it, I go to the section that was giving me an error, now it has disappeared? It s now working again with no errors. I know it isn't just me, one of my clients is reporting the same error on their side from my server. Here are some server specs: Zope 2.1.6 on Caldera Open Linux 2.3 if that helps. From: Chris McDonough [EMAIL PROTECTED] Date: Sat, 28 Oct 2000 08:34:46 -0400 To: Scott Burton [EMAIL PROTECTED] Cc: Zope List [EMAIL PROTECTED] Subject: Re: [Zope] more __len__ errors Scott, we're struggling with some catalog issues right now... I didn't see the traceback attached, but I assume it's a "len of unsized object" error. We'd be very interested in obtaining a setup where this problem was repeatable. Scott Burton wrote: I am having a intermittent problem with ZCatalog(I think). I have a couple of products that are catalog-aware and have been working. Then, out of nowhere if I call dtml-in "Catalog(meta_type='object')" I get a __len__ error, when a few minutes before it worked. I looked at the undo list to see if I have done anything to cause it but could not find anything. I delete the cataloged objects as well as the objects themselves and re-create them. Same problem. Here is the TB: ___ 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 ) ___ 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 )
[Zope] deleting through iteration
This seems as if it would work to delete all objects of a certain meta-type but it gives me an error. dtml-in "Catalog(meta_type='class_name')" dtml-call "manage_delObjects(id,[REQUEST])" /dtml-in The error is: Error Type: BadRequest Error Value: 971722944 does not exist Although, I know it does, I can see it in the ODB. TIA, Scott ___ 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] sendmail tag strangeness
Title: sendmail tag strangeness I have searched around about sendmail tag problems on the list and have found similar answers to my question. However none of them work. I have used this syntax dtml-sendmail mailhost=MailHost To: dtml-var recipient From: [EMAIL PROTECTED] Subject: Whatever body /dtml-sendmail I pay close attention to not having any whitespace before the To: and From: headers. I receive this error from multiple SMTP hosts: 503 must have sender and recipient first I can send an email with this syntax: dtml-sendmail mailhost=MailHost mailto=[EMAIL PROTECTED] mailfrom=[EMAIL PROTECTED] body... /dtml-sendmail The problem is, I have to put in the recipient by hand. This method is supposed to email a recipient after filling out a form so the recipient has to be a variable. When I try using dtml-var recipient or dtml-recipient; or _[recipient] I still have errors or the SMTP log shows that the variable does not get evaluated and shows up as a string of dtml-recipient; as being the recipient in the SMTP header. Is this a bug? Is there something else I could try? TIA Scott B.
[Zope] Adding user to folder
I would like to add a user to a folder that is being created via a form processing method with dtml-call "manage_addFolder(folderName,folderName,'createAUserFolder','createAPublicIn terface')" Now, since this folder does not exist yet except in the context of the script. How can I put a user in that above folder during execution? Is this where the _.namespace can be used to access what is in Zope's compiler stack during execution? Or, am I just way off and it is much less complicated than I think? TIA Scott ___ 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] FW: [Zope-PTK] Date Question
This is the correct list :) -- From: Scott Burton [EMAIL PROTECTED] Date: Tue, 19 Sep 2000 14:27:46 -0700 To: [EMAIL PROTECTED] Subject: [Zope-PTK] Date Question OK, I have searched everywhere for the answer to this. It is quite simple but I can't seem to figure it out. All I want to do is iterate over cataloged objects(dtml-in "Catalog(meta_type='object_type')") and only show items who's bobobase_modification_date matches today's date. I just can't figure out how to set the fmt="%d" in an if tag. TIA Scott B. ___ Zope-PTK maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-ptk See http://www.zope.org/Products/PTK/Tracker for bug reports and feature requests ___ 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] Redhat 6.2 problems
I am trying to run the latest version of Zope (2.2.1 beta) on a Redhat 6.2 Linux system. When I run the ./start script it gets to the Zope Server Monitor and sits there. It never returns back to the bash prompt. I can get to Zope's management interface from a browser so Zope *is* running. However if I close that terminal window, Zope stops. Python 1.5.2_13 is the version installed by Redhat. Which is the correct version of Python, last I checked. Also, if I run a startup script to start Zope during the boot process, it hangs the boot process. Any suggestions? Scott Burton ___ 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] Catalog Aware ZClass
Hello fellow Zopists, I want to create a catalog aware Zclass. I would like to include some specific indexable metadata when creating an instance of that object. So when I add an instance of that object it asks me for some information that gets indexed by ZCatalog to be searched later on. I have tried following the instructions given here: http://www.zope.org/Members/AlexR/CatalogAware But I noticed there is some information which may be outdated. It also suggests having to Patch CatalogAwareness.py I am not sure if this is still required? Or, where do I start? TIA! Scott ___ 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 )