[Zope] I did a blunder now I can't access zope...
Hello... No, I'm not proud of myself. Anyway, here's what happened. I installed a product in the root and when it asked me about the base url, I typed an URL that isn't "attached" to zope, now I find myself trying to connect to zope as I would usually do but only receive "The requested URL /manage was not found on this server." I know this message is generated by Apache but even after changing Apache's configuration so the sub-domain that is refered is sent to zope, I still get that message sent by apache for a 404. If I remove the port number, I am getting the "normal" site (which is an apache only site). Now, from what I can guess, I have to remove the part I added as the base url in the Data.fs but I don't know how to do that. Sorry, I can't explain it better than that... Any suggestions except reinstalling? TIA! Dany ---.oo0O------O0oo. Dany Rioux UnderSoft Inc. Business www.dating-reviews.com [EMAIL PROTECTED] Personal www.drioux.com [EMAIL PROTECTED] ---.o00O---O00o.--- BEGIN:VCARD VERSION:2.1 N:Rioux;Dany;;M FN:Dany Rioux ORG:UnderSoft Inc. TITLE:President TEL;WORK;VOICE:(506) 753-7515 ADR;WORK:;;78B Roseberry St;Campbellton;NB;E3N 2G7;Canada LABEL;WORK;ENCODING=QUOTED-PRINTABLE:78B Roseberry St=0D=0ACampbellton, NB E3N 2G7=0D=0ACanada X-WAB-GENDER:2 BDAY:20010710 EMAIL;PREF;INTERNET:[EMAIL PROTECTED] EMAIL;INTERNET:[EMAIL PROTECTED] EMAIL;INTERNET:[EMAIL PROTECTED] EMAIL;INTERNET:[EMAIL PROTECTED] EMAIL;INTERNET:[EMAIL PROTECTED] REV:20001122T152751Z END:VCARD
RE: [Zope] I did a blunder now I can't access zope...
Thanks! I got it back to work with your help! :) Dany -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 09, 2001 8:00 AM To: Dany Rioux Cc: Zope Mailing List Subject: Re: [Zope] I did a blunder now I can't access zope... On Tuesday 9 January 2001, at 7 h 24, the keyboard of "Dany Rioux" [EMAIL PROTECTED] wrote: I installed a product in the root and when it asked me about the base url, I typed an URL that isn't "attached" to zope, If this product is SiteAccess: http://www.zope.org/Members/4am/SiteAccess2/info ... If an Access Rule is broken, and is preventing normal access, it can be disabled by restarting Zope with environment variable SUPPRESS_ACCESSRULE set. ___ 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 ) smime.p7s
RE: [Zope] html expertise anyone.
Robin, IIRC it can be done but I never used it myself because I think it's annoying and it is confusing for the visitors. *G* But you should definitively check www.echoecho.com. If it is possible it *will* be posted there. HTH Dany -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Robin Becker Sent: Tuesday, November 28, 2000 9:21 AM To: [EMAIL PROTECTED] Subject: Re: [Zope] html expertise anyone. In article [EMAIL PROTECTED], Chris Withers [EMAIL PROTECTED] writes Robin Becker wrote: I can do this using a class So maybe do it using a class then? ;-) Chris yes I am, but surely there has to be a way to do this stuff in line. That way I don't have to predefine all the link behaviours and include in the standard header. I know that the pseudo class things are called :link :active etc. -- Robin Becker ___ 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] Possible disaster upgrading to 2.2.4
I was thinking about downloading the ZDiscussions product and install it but from what I can see, it looks like it needs some fixing. I intend to upgrade to zope 2.2.4 when it was proven that it is stable but I don't want to run into more troubles that I can chew on. I will need a Discussion board when the site go live so should I upgrade Zope and wait for another Discussion Product to come up or install ZDiscussion and hold on the Zope upgrade? TIA Dany -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Bill Welch Sent: Tuesday, November 28, 2000 11:50 AM To: [EMAIL PROTECTED] Cc: Jonathan Cheyne Subject: Re: [Zope] Possible disaster upgrading to 2.2.4 On Tue, 28 Nov 2000, Jonathan Cheyne wrote: Ah, I tried reinstalling zddiscussions, no joy, i tried deleting zdiscussions but when you restart zeop it reinstalls the two products as broken. You have to delete it from lib/python/Products as well, but it's a red herring for the real issue (see below). i tried a new install of 2.2.4 then copy across my data.fs bits and untar various products in use on the site, but, exactly the same message. so it may not be th eupgrade but something in 2.2.4 itself that my data.fs dislikes. No, it's your data.fs that's the problem. It's been corrupted the same way several others have been the past few months (ZDiscussions is suspiciously overrepresented as the pickled data in the traceback). See the 'Is data.fs corrupted' thread. Bill. ___ 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] come see new.zope.org
Well, I have to say the new.zope.org is much faster than the other one. Great work! BTW, is this going to stay for some times or will it be migrated sometime soon? I'm wondering about bookmarking this site. When do you expect it to go "live"? Dany -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of ethan mindlace fremen Sent: Monday, November 27, 2000 3:51 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: [Zope] come see new.zope.org Zopatistas! The cluster is up and running. Please go pound it to see if it breaks: http://new.zope.org That lovely color is to remind you that you are *not* at the live site. Any changes you make here *will* be lost. If you have any questions or comments, please email [EMAIL PROTECTED] A full report on how we did it will be appearing soon after the site goes live. ___ 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] Special behavior or bug?
Chris, Thanks. It did work. Only thing is I feel like trying to break eggs to cook with a jackhammer... It works but it is daunting. Nonetheless, I'm very glad you gave me that. I don't think I would have been able to pull that one off by myself. Oh, maybe in a year or so :) I have to say that it works on subfolders. The header in is the root and other docs are below the root (of course). At least, until now, it gave me what I wanted. Thanks again for your help. (I feel I'll be saying that for quite some time! :) Dany -Original Message- From: Chris Gray [mailto:[EMAIL PROTECTED]] Sent: Friday, November 24, 2000 11:50 PM To: Dany Rioux Cc: Zope Mailing List Subject: RE: [Zope] Special behavior or bug? Oops! I spoke way too soon. Try dtml-var document_title but you can't use it in a header or it will give you the title of the header. You can use the following code in a header: dtml-in objectValues dtml-if expr="_['id']==_.string.split(URL, '/')[-1]" hrdtml-var expr="this().title"hr /dtml-if /dtml-in although it is a bit indirect and fragile: it will only work if you want the title of DTML Method 'foo' and it is in folder 'bar' and the URL you use to get it ends '/bar/foo', but it works in a header that is somewhere else. You can modify objectValues to expr="bar.objectValues()" but then it won't work in a header called by methods not in 'bar'. Another possible modification is expr="PARENTS[1].objectValues()". ___ 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] Newbie Question
I'm probably just being dumb... :) PASTE-- dtml-var standard_html_header p dtml-with News dtml-in objectValues /dtml-in /dtml-with /p dtml-var standard_html_footer /PASTE-- This doesn't work. Nothing gets printed. In the News folder is a DTML method called news999. Should it be a DTML document instead for this to work? I tried the three methods you gave me. objectValues, "objectValues()" and "objectValues('[File]')" and even "objectValues('[news999]')" but empty everytime. TIA Dany -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Andy McKay Sent: Thursday, November 23, 2000 7:00 PM To: Chris Withers Cc: Dany Rioux; Zope Mailing List Subject: Re: [Zope] Newbie Question Or even: dtml-in "objectValues(['File'])" if this news thing is a file ;-P Or even: dtml-in objectValues ;-) Chris Andy McKay wrote: dtml-in "objectValues()" -- From: "Dany Rioux" [EMAIL PROTECTED] Hi everyone, Simple newbie question... :) I've made a directory called News into which I will put files named newsXXX. X being a number from 999 to 001. What I want to do is to tell zope to put each file into a document. Now, here is what I figured out. dtml-with News dtml-in ??? --- that's where I'm stuck. I don't know how to iterate through a directory ... I want ALL the newsXXX displayed. /dtml-in /dtml-with How do I do that? TIA Dany ___ 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] Newbie Question Fixed but continuing.
Thanks Philipp and Jim, It worked! But... (there's always a but! :) I thought I was clever when I thought about naming my news files news999, news998 etc, thinking it would parse the directory and print the news sorted by their names. So news998 would be printed before news999 etc. It doesn't. deleted questions because it's fixed :) /deleted Now this too is fixed. I just discovered the "sort=" thingie. One thing would sure be helpful, a Guide explaining all the subtags in a tag. Like what can be used in a dtml-var or dtml-in and params for each subtag. Because as someone mentioned, searching on zope is a real hassle. It takes a long time, and the search is ORed. So lots of unrelated docs are counted as a hit. Thanks a lot to all the helpers. Dany -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Philipp Dunkel Sent: Friday, November 24, 2000 5:00 PM To: Zope Mailing List Subject: Re: [Zope] Newbie Question I'm probably just being dumb... :) PASTE-- dtml-var standard_html_header p dtml-with News dtml-in objectValues dtml-var "_['sequence-item']" /dtml-in /dtml-with /p dtml-var standard_html_footer this should work out for you. cu Philipp ___ 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] Newbie Question Fixed but continuing.
Thanks! That's exactly what I was looking for. I know that the DTML reference is there on Zope.org but it's a hassle and well, I'll keep my other opinions for myself. Anyway. Here's an idea. Shouldn't there be a list FAQ? If there is one it should be sent when subscribing. Or it could be requested. I'm pretty sure most of the questions I sent have already been sent answered more than once already and I know some that most other FAQs use one. So, why not zope general list? It *is* possible, though unlikely, that there is a list FAQ mentionned in the "Welcome to Zope mailing list" email but if there is, my apologies. Thanks. Dany -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Michel Pelletier Sent: Friday, November 24, 2000 12:17 PM To: Dany Rioux Cc: Zope Mailing List Subject: Re: [Zope] Newbie Question Fixed but continuing. Dany Rioux wrote: Thanks Philipp and Jim, It worked! But... (there's always a but! :) I thought I was clever when I thought about naming my news files news999, news998 etc, thinking it would parse the directory and print the news sorted by their names. So news998 would be printed before news999 etc. It doesn't. deleted questions because it's fixed :) /deleted Now this too is fixed. I just discovered the "sort=" thingie. One thing would sure be helpful, a Guide explaining all the subtags in a tag. Like what can be used in a dtml-var or dtml-in and params for each subtag. http://www.zope.org/Members/michel/ZB/AppendixA.html This DTML reference is also included in the Online Help System with Zope 2.4b1 and beyond. ___ 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] Special behavior or bug?
Hi, yeah, I know, it's me again :) I've got this snippet in the standard_html_header hoping it would display the title of the calling document but instead displays the index_html's title... Is this the normal behavior? I know yesterday it was working... I tried refreshing the page but it's a no go. It simply refuses to put the correct title. It doesn't even put the header's file title... (something I guessed it would do the first time I tried it) Any opinion on that? ---PASTE--- tr td align="right"H2dtml-var title/H2/td /tr ---/PASTE--- ---.oo0O--O0oo.---- Dany Rioux UnderSoft Inc. Business www.dating-reviews.com [EMAIL PROTECTED] Personal www.drioux.com [EMAIL PROTECTED] ---.o00O---O00o.--- BEGIN:VCARD VERSION:2.1 N:Rioux;Dany;;M FN:Dany Rioux ORG:UnderSoft Inc. TITLE:President TEL;WORK;VOICE:(506) 753-7515 ADR;WORK:;;78B Roseberry St;Campbellton;NB;E3N 2G7;Canada LABEL;WORK;ENCODING=QUOTED-PRINTABLE:78B Roseberry St=0D=0ACampbellton, NB E3N 2G7=0D=0ACanada X-WAB-GENDER:2 BDAY:20010710 EMAIL;PREF;INTERNET:[EMAIL PROTECTED] EMAIL;INTERNET:[EMAIL PROTECTED] EMAIL;INTERNET:[EMAIL PROTECTED] EMAIL;INTERNET:[EMAIL PROTECTED] EMAIL;INTERNET:[EMAIL PROTECTED] REV:20001122T152751Z END:VCARD
RE: [Zope] Special behavior or bug?
Chris, I can't change all the other DTML Methods to DTML Docs... I would have to have only 1 DTML Method which is unthinkable. Now, I'm sure there's a way to force what I want to do. Either with a REQUEST.set('[calling_document.Title]') or something real :) Is there such a function? (I'm sorry, I'm still confused on how to call things in Zope.) As for the Ferengi rules of acquisition, at least, I'm pretty sure I'd get some profits :) haha But, unfortunately, my ears are not as erogenous as the Ferengies. :) Dany Make sure that the standard_html_header is a DTML Method and not a DTML Document. Make sure that the calling document is DTML Document and not a DTML Method and it should work. That way the header acquires the title of the calling document. If the calling document is a DTML Method, it acquires it's title from somewhere else according to the Zope rules of acquisition (as opposed to the Ferengi rules of acquisition ;). Cheers, Chris On Fri, 24 Nov 2000, Dany Rioux wrote: Hi, yeah, I know, it's me again :) I've got this snippet in the standard_html_header hoping it would display the title of the calling document but instead displays the index_html's title... Is this the normal behavior? I know yesterday it was working... I tried refreshing the page but it's a no go. It simply refuses to put the correct title. It doesn't even put the header's file title... (something I guessed it would do the first time I tried it) Any opinion on that? ---PASTE--- tr td align="right"H2dtml-var title/H2/td /tr ---/PASTE--- ___ 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] Objection to Python Script Name
I have to agree with Chris (Gray). It is enough confusing already (for me it is that is :). I personnaly think that a name like "ZoPy Scripting" (w/ or w/o Method) should be used. My 0.02c Dany Subject: Re: [Zope] Objection to Python Script Name Chris Gray wrote: I know, I know. It's a little late to speak up, but I think there is a logical objection to this name: inconsistency with "DTML Method" and "ZSQL Method". These are old, horrible and will hopefully be re-thought and given different names ;-) ZIP Method (Zope Internal Python Method) ZoPy Method PyZo Method ZPython Method :-( All imply there is soem difference between the Python used by Zope and any other python ,which isn't, and never should be, the case... cheers, Chris smime.p7s
RE: [Zope] Objection to Python Script Name
I know the subject is closed (or is it really???) but I have to say that a name like Python Script or Perl Script sounds to me like any scripting not associated with a product and that's why I have to agree with Chris Gray. If I would see an addon telling me it's a Python Scritp I wouldn't even think of using it and I frankly would wonder what it does on Zope. Maybe I'd think it'd have to do with Zope a long way off... Maybe it all stems from my newbie status but it would sounds confusing to me. Dany -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Tom Deprez Sent: Thursday, November 23, 2000 2:04 PM To: Zope Mailing List Subject: RE: [Zope] Objection to Python Script Name Why not just Python Script Perl Script ? Tom. At 13:17 23/11/2000 -0400, Dany Rioux wrote: I have to agree with Chris (Gray). It is enough confusing already (for me it is that is :). I personnaly think that a name like "ZoPy Scripting" (w/ or w/o Method) should be used. My 0.02c Dany Subject: Re: [Zope] Objection to Python Script Name Chris Gray wrote: I know, I know. It's a little late to speak up, but I think there is a logical objection to this name: inconsistency with "DTML Method" and "ZSQL Method". These are old, horrible and will hopefully be re-thought and given different names ;-) ZIP Method (Zope Internal Python Method) ZoPy Method PyZo Method ZPython Method :-( All imply there is soem difference between the Python used by Zope and any other python ,which isn't, and never should be, the case... cheers, Chris Attachment Converted: "Z:\xrad002\eudora\Attachments\smime11.p7s" ___ 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 ) smime.p7s
RE: [Zope] DTML source
Hmmm... Good point. I don't use frames so I never encountered that behavior/bug/feature :) but on non-frames it does wonders. I really like the way it can be used and it's easy to modify. Dany -Original Message- From: Chalu Kim [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 23, 2000 3:11 PM To: Dany Rioux Cc: Tom Deprez; Zope Mailing List Subject: Re: [Zope] DTML source Just don't put two of it into a page. You can have this problem when you use frame sometimes. Dany Rioux wrote: Hi Tom, There's a package for Zope called ZNavigation. I use it. It's very nice once you understand the basics. It's not very hard to use but it is a bit intimidating at first. I can't think of the link on top of my head but if you can't find it, get back to me, I'll do what I can to find it. HTH Dany -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Tom Deprez Sent: Thursday, November 23, 2000 8:39 AM To: [EMAIL PROTECTED] Subject: [Zope] DTML source Hi, Are there some sites which publish there DTML source(structure)? I'm particulary looking on how several navigation, menu, ... structures are implemented in Zope. On Zope.org you can see the DTML-source. Unfortunately not the implementation of the navigation (or the menu on the left). Tom. ___ 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 ) smime.p7s
[Zope] Newbie Question
Hi everyone, Simple newbie question... :) I've made a directory called News into which I will put files named newsXXX. X being a number from 999 to 001. What I want to do is to tell zope to put each file into a document. Now, here is what I figured out. dtml-with News dtml-in ??? --- that's where I'm stuck. I don't know how to iterate through a directory ... I want ALL the newsXXX displayed. /dtml-in /dtml-with How do I do that? TIA Dany ---.oo0O--O0oo. Dany Rioux UnderSoft Inc. Business www.dating-reviews.com [EMAIL PROTECTED] Personal www.drioux.com [EMAIL PROTECTED] ---.o00O---O00o.--- BEGIN:VCARD VERSION:2.1 N:Rioux;Dany;;M FN:Dany Rioux ORG:UnderSoft Inc. TITLE:President TEL;WORK;VOICE:(506) 753-7515 ADR;WORK:;;78B Roseberry St;Campbellton;NB;E3N 2G7;Canada LABEL;WORK;ENCODING=QUOTED-PRINTABLE:78B Roseberry St=0D=0ACampbellton, NB E3N 2G7=0D=0ACanada X-WAB-GENDER:2 BDAY:20010710 EMAIL;PREF;INTERNET:[EMAIL PROTECTED] EMAIL;INTERNET:[EMAIL PROTECTED] EMAIL;INTERNET:[EMAIL PROTECTED] EMAIL;INTERNET:[EMAIL PROTECTED] EMAIL;INTERNET:[EMAIL PROTECTED] REV:20001122T152751Z END:VCARD
RE: [Zope] Having troubles starting Zope.
Hi Chris, I should have stated that I didn't upgrade Zope. I mean: it's the same installation I had before except for the Hotfix which I got from zope.org I checked this file, though I don't know anything about python, and it doesn't seem to touch the core of zope's files. About installing from source. I don't really have anything against that but the linux box running zope is a P133 w/ 64 MB RAM... It's not a power compiler if I may add :) so compiling the kind of app zope is makes me think of compiling X. About an hour or so. I don't really want to get a too tight grip on the machine's load. What should gives the environment vars it asks in the error message? Maybe we could find where it comes from. In case I really have to. What are the files that should be copied so I keep my database intact and my configuration too like users and such. Last, I upgraded the kernel with support for reiserfs. Think that might do bad things? It's a thought but zope refused to start before the upgrade was completed, meaning before rebooting the box after the kernel compilation. What should be the ownership of the /var/lib/zope* and /usr/lib/zope/* ? Is there a zope user? Well, that's about all I can think of. Thanks for the help. Dany -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Chris McDonough Sent: Tuesday, November 21, 2000 9:44 PM To: Dany Rioux Cc: Zope Mailing List Subject: Re: [Zope] Having troubles starting Zope. It sounds like the .deb of Zope (or the hotfix) you have is misconfigured in some way... I think the Debian Zope maintainer is Gregor Hoffleit... I'd imagine he'd be interested in a bug report. But in the meantime, I'd suggest using the Zope source distribution to install... it's actually not too hard. 1. make sure you have Python installed as well as the Python "development libraries" (might be easiest to install Python from source too here, but probably not required) 2. download the latest Zope source tgz 3. ungzip and untar it as a regular user in a directory somewhere you like 4. run "python w_pcgi.py" in the directory (pay attention to the password it gives you for the superuser) 5. wait for it to compile (report any errors you come up with in this step to the list) 6. type "./start" 7. fire up a browser and point it at port 8080 8. log in as superuser and create a management account 9. close the browser 10. open the browser again and log in as the management user. 11. have fun. Dany Rioux wrote: Hi listers, Until this afternoon, I was using zope (more like trying to use it) and everything was ok. I had some problems with the .deb SiteAccess but I fixed it by getting the real thing from zope.org and it worked. I added the latest Hotfix because it's a good thing to have. Then I restarted Zope but it never went back up again. The box is Linux debian woody with Zope 2.2.2 When I try to start it up, that's the message I get: -PASTE--- drioux:/etc/init.d# ./zope start Starting Zope...Traceback (innermost last): File "/usr/sbin/zope-z2", line 535, in ? except: CLIENT_HOME = os.path.join(INSTANCE_HOME, 'var') NameError: INSTANCE_HOME failed. -/PASTE-- I went to check the line seeming to cause this and there's a comment about ZEO: -PASTE--- # CLIENT_HOME allows ZEO clients to easily keep distinct pid and # log files. This is currently an *experimental* feature, as I expect # that increasing ZEO deployment will cause bigger changes to the # way that z2.py works fairly soon. try:CLIENT_HOME = os.environ['CLIENT_HOME'] except: CLIENT_HOME = os.path.join(INSTANCE_HOME, 'var') -/PASTE-- I remember seeing something about ZEO on zope.org but I don't remember if it was an update or whatelse but AFAIK I didn't installed and/or I don't use a ZEO client. Now, I'm a total Zope newbie. Ok maybe not total but I'm a basic newbie and I wonder if the Hotfix fixed too much... I tried to move the Hotfix directory elsewhere but that didn't change a thing. Anyone can offer help or maybe it's already been discussed. I looked at the list's past 2 months but came up empty. TIA Dany ---.oo0O--O0oo. Dany Rioux UnderSoft Business: www.dating-reviews.com [EMAIL PROTECTED] Pers: www.drioux.com [EMAIL PROTECTED] ---.o00O---O00o.--- -- 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 HT
RE: [Zope] Having troubles starting Zope. Now: compiling Zope
Ok, so running dns/imap/mail/apache/zope/samba/nfs/mysql/snmb/sshd and all the rest of the normal services running (not forgetting the php/cgi/etc modules of apache) and compiling shouldn't be a problem? :) I have to admit the box is not receiving that much traffic but I wouldn't want to slow things more than I have to. Dany -Original Message- From: ucntcme [mailto:ucntcme]On Behalf Of Bill Anderson Sent: Wednesday, November 22, 2000 5:54 AM To: Dany Rioux Subject: Re: [Zope] Having troubles starting Zope. Dany Rioux wrote: ... About installing from source. I don't really have anything against that but the linux box running zope is a P133 w/ 64 MB RAM... It's not a power compiler if I may add :) so compiling the kind of app zope is makes me think of compiling X. About an hour or so. I don't really want to get a too tight grip on the machine's load. I've compiled several Zopes on my p133, sometimes more than one at a time, no problems. :) Of course, it depend son what _else_ the machine may be doing. Mine was running mail/dns sevrer at the time, not much else really. -- E PLURIBUS LINUX ___ 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] Having troubles starting Zope. Now: compiling Zope
I don't really care about my end :) Only the user's :) But I think it would be a nice idea to implement. I'll give it some thoughts. Dany -Original Message- From: ucntcme [mailto:ucntcme]On Behalf Of Bill Anderson Sent: Wednesday, November 22, 2000 6:14 AM To: Dany Rioux Subject: Re: [Zope] Having troubles starting Zope. Now: compiling Zope Dany Rioux wrote: Ok, so running dns/imap/mail/apache/zope/samba/nfs/mysql/snmb/sshd and all the rest of the normal services running (not forgetting the php/cgi/etc modules of apache) and compiling shouldn't be a problem? :) I have to admit the box is not receiving that much traffic but I wouldn't want to slow things more than I have to. In my case, I picked a time when I knew traffic would be lower, and there were no issues. YMMV. If your browsers are not on the local LAN, but through modem, they probably wouldn't notice much, if any change, all things being equal. :) Bill -- E PLURIBUS LINUX ___ 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] Having troubles starting Zope. Now FIXED!
I fixed it. All I had to do was reinstall the zope .deb and it started alright. The content is still there (though I was almost scared to death having thought of doing backups AFTER the reinstallation) and all is good. Well, almost. Now that it's fixed and all is back to normal, I will try to find what caused this. *crossing fingers* I'll let you know if I find something. Dany ---.oo0O--O0oo. Dany Rioux UnderSoft Business www.dating-reviews.com [EMAIL PROTECTED] Personal www.drioux.com [EMAIL PROTECTED] ---.o00O---O00o.--- ___ 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] is it possible to see whether any user is using a perticular zope object
Hi, Same as you, i tried to use this gadfly thing when I started and even when choosing it I received a message from zope telling me that it wasn't the real thing/unreliable/etc. I *think* there is a more stable GadFly somewhere but I would advise you to go with mySQL which I use and never had any problems with. Unless I'm wrong, it wouldn't be such a pain to change to mySQL or other DBMS... You would only have to dump the content of the current DB and create the tables, if necessary. mySQL's learning curve is not that big and is faily easy to understand/use/get used to. HTH Dany -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of subrahmanyan kalathur Sent: Wednesday, November 22, 2000 7:36 AM To: Phil Harris; Chris Withers Cc: [EMAIL PROTECTED] Subject: Re: [Zope] is it possible to see whether any user is using a perticular zope object No, I haven't used any other DBMS. I have almost finished working in this gadfly. So I can't change now. Because there is no time to change it now. So please give me the solution. thanks yours, K.H.Subrahmanyan ( [EMAIL PROTECTED] ) ___ 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 )
[Zope] Error Installing PKT
I just installed PKT and I can't import DemoPortal.zexp. I get this error --PASTE Zope Error Zope has encountered an error while publishing this resource. Error Type: ImportError Error Value: No module named PythonMethod.PythonMethod -/PASTE I would guess I'm missing some module. Anyone can tell me which one it is? TIA. Dany ---.oo0O--O0oo. Dany Rioux UnderSoft Inc. Business www.dating-reviews.com [EMAIL PROTECTED] Personal www.drioux.com [EMAIL PROTECTED] ---.o00O---O00o.--- BEGIN:VCARD VERSION:2.1 N:Rioux;Dany;;M FN:Dany Rioux ORG:UnderSoft Inc. TITLE:President TEL;WORK;VOICE:(506) 753-7515 ADR;WORK:;;78B Roseberry St;Campbellton;NB;E3N 2G7;Canada LABEL;WORK;ENCODING=QUOTED-PRINTABLE:78B Roseberry St=0D=0ACampbellton, NB E3N 2G7=0D=0ACanada X-WAB-GENDER:2 BDAY:20010710 EMAIL;PREF;INTERNET:[EMAIL PROTECTED] EMAIL;INTERNET:[EMAIL PROTECTED] EMAIL;INTERNET:[EMAIL PROTECTED] EMAIL;INTERNET:[EMAIL PROTECTED] EMAIL;INTERNET:[EMAIL PROTECTED] REV:20001122T152751Z END:VCARD
RE: [Zope] Error Installing PKT. FIXED
I should have guessed :) Either I misread the install docs or it wasn't mentioned... Thanks to Stefan and Steve. It's installed and working. Dany :) -Original Message- From: Stefan H. Holek [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 22, 2000 12:54 PM To: Dany Rioux Cc: Zope Mailing List Subject: Re: [Zope] Error Installing PKT On Wed, 22 Nov 2000, Dany Rioux wrote: Error Value: No module named PythonMethod.PythonMethod I would guess I'm missing some module. Anyone can tell me which one it is? Well, you seem to be missing PythonMethods ;) You must get them from the CVS. See http://www.zope.org/Resources/CVS_info Stefan smime.p7s
[Zope] Having troubles starting Zope.
smime.p7m