Re: [Zope] Simple Question

2006-12-07 Thread Nancy Donnelly
112- Original Message From: Jonathan <[EMAIL PROTECTED]> DIV { MARGIN:0px;} >A single 'request' from a user can be handled by multiple python scripts (ie. you get a >user request, you invoke script A, script A calls script B, script B calls script C...) and all >of the scripts w

Re: [Zope] Simple Question

2006-12-07 Thread Nancy Donnelly
7373- Original Message From: Maciej Wisniowski <[EMAIL PROTECTED]> All of that worked, but so much for being "simple". Upon re-analysis, what I need to do is call a Script (Python) from within a page template but still retain the container.REQUEST from the previous call. That is, page t

Re: [Zope] Simple Question

2006-12-07 Thread Nancy Donnelly
7170- Original Message From: Jonathan <[EMAIL PROTECTED]> Here is the page that I need to quote, and this is why I need triple quotes: print """   """ return printed

Re: [Zope] Simple Question

2006-12-07 Thread Nancy Donnelly
- Original Message From: Jonathan <[EMAIL PROTECTED]> DIV { MARGIN:0px;} >you should just be able to do: > >print "Hello World" >return printed Um, yes, but it's a little more complicated than just one line :) How do I do it with triple quote? TIA, Nancy _

[Zope] Simple Question

2006-12-07 Thread Nancy Donnelly
107106Hi; The following doesn't work in a Script (Python), presumably because I can't quote html: print """ Hello, world! """ return printed What should I use instead? TIA, Nancy Do you Yahoo!? Everyone is

Re: [Zope] Re: My Sad Tale Of Woe

2006-11-30 Thread Nancy Donnelly
- Original Message From: Paul Winkler <[EMAIL PROTECTED]> > What shell are you using? That's not how you set an environment > variable in any of the bourne-style shells (sh, bash, ksh). > For those, you would use: > > export PYTHONPATH=/usr/local/zope/278/lib/python:$PYTHONPATH I'm usi

[Zope] Re: My Sad Tale Of Woe

2006-11-30 Thread Nancy Donnelly
Okay, yahooing around I found I have to set the path. But I still get this error: [EMAIL PROTECTED]:zope/instance2/var (177) set PYTHONPATH=/usr/local/zope/278/lib/python [EMAIL PROTECTED]:zope/instance2/var (178) python /usr/local/zope/278/lib/python/ZOD

[Zope] Re: My Sad Tale Of Woe

2006-11-30 Thread Nancy Donnelly
I just tried to run fsrecover on my Data.fs and got this error: [EMAIL PROTECTED]:zope/instance2/var (145) /usr/local/zope/py235/bin/python /usr/local/zope/278/lib/python/ZODB/fsrecover.py Data.fs Data.fs.recover Traceback (most recent call last): File "/usr/local/zope/278/lib/python/ZODB/fsrec

[Zope] Re: My Sad Tale Of Woe

2006-11-29 Thread Nancy Donnelly
7676> From: Jake <[EMAIL PROTECTED]> > From: Dieter Maurer <[EMAIL PROTECTED]> > > After careful reading of the error message, you use means of your operating > system to determine what permissions are granted for > "/usr/local/zope/2012/var/Data.fs.lock" or (if that does not exist) for > "/usr

Re: [Zope] My Sad Tale Of Woe

2006-11-29 Thread Nancy Donnelly
108 - Original Message From: Maciej Wisniowski <[EMAIL PROTECTED]> To: Nancy Donnelly <[EMAIL PROTECTED]> Cc: zope@zope.org Sent: Wednesday, November 29, 2006 4:38:23 PM Subject: Re: [Zope] My Sad Tale Of Woe > I prefer: > as root: configure --prefix=/opt/Zope/2.9.6,

[Zope] My Sad Tale Of Woe

2006-11-29 Thread Nancy Donnelly
757575Hi; Is anybody out there reading this list? Third question today, no responses, and boy am I in trouble. I went to backup my server's working HD on my new .5 teraflop HD and for some reason that wiped out the /var dirs in my Zope instances. I have backups of the Data.fs that aren't too old

[Zope] Permission Denied...New Build

2006-11-29 Thread Nancy Donnelly
79797975Hi; After nuking my Zope instances by trying to copy my main HD over to my new one, I'm rebuilding with backups. But I'm having a problem. I built Z29 from source. I created an instance, specified the path, "nancy" as the user and a p/w. When I go to "runzope", as root or as nancy, I get

[Zope] Nuked Installations! Problem w/ Rebuild!

2006-11-29 Thread Nancy Donnelly
102Hi; I just went to copy my main HD on my server to my new 1/2 teraflop HD and it wiped out the zopecltsockets and the var directories! Luckly I have backups of the Data.fs that are recent. So, I'm rebuilding with Z29, but when I go to crank up an instance with runzope, I get this: Traceback

[Zope] Problem Creating Instance

2006-11-28 Thread Nancy Donnelly
Hi; I built Z3 from FreeBSD ports. Went to create an instance and got this error: [EMAIL PROTECTED]:ports/www/zope3 (115) /usr/local/www/Zope3/bin/mkzopeinstance -d /usr/local/www/Zope3/main Traceback (most recent call last): File "/usr/local/www/Zope3/bin/mkzopeinstance", line 47, in from

Re: [Zope] Help! Can't Log Into ZMI!!

2006-11-27 Thread Nancy Donnelly
> When you have access to the ssh on your server i think you can set an > 'master password' I couldn't even pull up the ZMI password dialog box. But I figured it out. I changed IP addresses and needed to update that in the zope.conf because ZEO listens on port . I wonder why I can't just

[Zope] Help! Can't Log Into ZMI!!

2006-11-26 Thread Nancy Donnelly
Hi; I added a LDAPUserFolder instance to my Plone. It didn't connect for whatever reason. I rebooted the server. Now I can't log in! It just hangs. Actually, I rebooted a day later and did lots of work in between, so it's not like I could carefully edit the Data.fs. What do I do? Nancy __

Re: [Zope] New HD, Moving ZODB

2006-11-22 Thread Nancy Donnelly
7171- Original Message From: Jonathan <[EMAIL PROTECTED]> DIV { MARGIN:0px;} > As someone else suggested, the easiest thing to do is create new 'instance' directories > (eg. .../var, .../log, etc) on the new HD; move the files from the old HD to the new HD, > then create a syml

Re: [Zope] New HD, Moving ZODB

2006-11-22 Thread Nancy Donnelly
- Original Message From: robert rottermann [EMAIL PROTECTED] > i believe, nancy is using a windows box. Wash your mouth out with soap! I use FreeBSD and I'm proud of it :) Nancy ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman

Re: [Zope] New HD, Moving ZODB

2006-11-22 Thread Nancy Donnelly
- Original Message From: Jonathan [EMAIL PROTECTED] > My mistake, i misread and thought you were installing on a new server, not > new harddrive! (so its not > necessary to re-install zope) Okay, but do you know what I need to do to move the ZODB to the new HD? TIA, Nancy __

[Zope] New HD, Moving ZODB

2006-11-22 Thread Nancy Donnelly
Hi; I've added a new HD to my server. I have 2 instances of Zope 2.7.8. I need to move at least one instance of ZODB to the new HD (I can easily move them both if necessary). Is there a how-to on how to do this, or, if not, how do I do it? TIA, Nancy ___

Re: [Zope] Emergency Meltdown! Help!

2006-11-14 Thread Nancy Donnelly
109All is back to normal. Apparently, an obsolete script I had running went haywire, probably because of some obsolete server call to another server that got tweaked, and that sent everything crazy.Thanks,Nancy___ Zope maillist - Zope@zope.org http://ma

[Zope] Re: Emergency Meltdpwn! Help!

2006-11-14 Thread Nancy Donnelly
77Paul Winkler wrote:> First thing I'd do is find the event log and see what's in it> recently...Nothing unusual!Nancy___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

[Zope] Emergency Meltdown! Help!

2006-11-14 Thread Nancy Donnelly
108Hi;I have two Zope instances. I user a web server called LightTPD. I was trying to hook up an SSL cert to one of the instances, so I made some modifications in it's conf file. Suddenly, I discovered that I couldn't pull up any of the Web pages on that instance! I also found that the MySQL connec

[Zope] Re: Mail Boxer On Qmail, Anyone?

2006-11-13 Thread Nancy Donnelly
From: Reinoud van Leeuwen n.leeuwen.net>> There is also the possibility of PlonePostoffce. That means that your > mailinglist is managed by something like mailman, and your Plone site is > one of the subscribers. (takes a little procmail to post the incoming mail > to a script). In that way you ca

[Zope] Re: Mail Boxer On Qmail, Anyone?

2006-11-13 Thread Nancy Donnelly
From: Chris Withers <[EMAIL PROTECTED]109> Subject: Re: Mail Boxer on Qmail110 Newsgroups: gmane.comp.web.zope.general111 Date: 2006-11-13 15:33:47 GMT (5 hours and 18 minutes ago) > My recommendation would be to use a real mailing list manager like > mailman instead...Really? That bad? I mean, if

[Zope] Mail Boxer on Qmail, Anyone?

2006-11-13 Thread Nancy Donnelly
Hi;I sent this over the weekend but I think it got overlooked. I'm running into trouble getting Mail Boxer to play nicely with qMail. I've installed and tested Maildrop Host. It works ok, so that potential bug is eliminated. I was confused as to where to put smtp2zope.py, so I put it here:    /usr/

Re: [Zope] Can't Track Simple Bug

2006-11-13 Thread Nancy Donnelly
- Original Message From: Chris Withers <[EMAIL PROTECTED]>To: Nancy Donnelly <[EMAIL PROTECTED]>> From what Tres has said, you should build yourself a new Zope instance > with mkzopeinstance.py and then install any products you need int othe > new instance, then fin

Re: [Zope] Restricted Traverse

2006-11-11 Thread Nancy Donnelly
- Original Message From: Andrew Milton <[EMAIL PROTECTED]>> Try removing the 'anchor' (#quotes), since you dont have an object called> 'index_frame.pt#quotes', do you ?Well, ya know, I do, but I took that out and it worked!Thanks,Nancy___ Zope mai

[Zope] Mail Boxer on Qmail

2006-11-11 Thread Nancy Donnelly
Hi;I'm running into trouble getting Mail Boxer to play nicely with qMail. I've installed and tested Maildrop Host. It works ok, so that potential bug is eliminated. I was confused as to where to put smtp2zope.py, so I put it here:    /usr/bin/smtp2zope.py and symlinked it here:    /usr/local/sbin/s

[Zope] [Plone-Users] Killing the Postmaster

2006-11-11 Thread Nancy Donnelly
- Original Message From: Alexander Limi <[EMAIL PROTECTED]>> Plone 2.1.4 works fine on Zope 2.7.8.Will I run into all sorts of upgrade issues??TIA,Nancy___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross po

Re: [Zope] Restricted Traverse

2006-11-11 Thread Nancy Donnelly
- Original Message From: Andrew Milton <[EMAIL PROTECTED]>> absolute url returns a string prefixed with "http(s)://", unless the relative> parameter evaluates to true None doesn't do that.>> Try using relative = TrueYou mean like this?    tal:define="global url python:here.absolute_url(

[Zope] Restricted Traverse

2006-11-11 Thread Nancy Donnelly
Could someone tell me what's wrong with this code?    tal:define="global url python:here.absolute_url(relative=None) + '/index_frame.pt#quotes'"/>    tal:define="root python:container.restrictedTraverse(url)"    tal:replace="structure python:here.printSiteMap(root, 12)"/>--or--    tal:define="root

[Zope] Re: Can't Track Simple Bug

2006-11-10 Thread Nancy Donnelly
75From: Tres Seaver <[EMAIL PROTECTED]>> The script you are using to start Zope with looks like it must be> 'zctl', the ancient precursor to the current 'zopectl':  it 'execed' its> Python config file (which is what you have here).  That version was> never shipped with Zope, and has not been in act

Re: [Zope] Can't Track Simple Bug

2006-11-10 Thread Nancy Donnelly
- Original Message From: Chris Withers <[EMAIL PROTECTED]>First up, rifling through my trash, I noticed a response of yours to a previous email that I missed. Concerning the line of my script:try:    mailhost=getattr(context, context.superValues('Mail Host')[0].id)what should I substitute f

[Zope] Troubleshooting Maildrop Host

2006-11-09 Thread Nancy Donnelly
102Hi;I can't get Maildrop Host to work. I have a working SMTP, Python 2.3.5, Zope 2.7.8, and am running FreeBSD. I've edited the config.py file thus:PYTHON="/usr/bin/python"MAILDROP_HOME="/tmp/maildrop"MAILDROP_SPOOL="/tmp/maildrop/spool-1; /tmp/maildrop/spool-2; /tmp/maildrop/spool-3; /tmp/maild

Re: [Zope] Can't Track Simple Bug

2006-11-09 Thread Nancy Donnelly
7373- Original Message From: Chris Withers <[EMAIL PROTECTED]>>> >>   tal:on-error="string: mailScript() isn't defined! This should be in your *s* dir >> with the default installation.">>   tal:replace="structure python:here.mailScript()" />> This is extremely bad programming style.> > Loo

Re: [Zope] Can't Track Simple Bug

2006-11-08 Thread Nancy Donnelly
7171- Original Message From: Maciej Wisniowski <[EMAIL PROTECTED]>> Use just:>> >> and tell us what error do you see now.Silly me! I got so caught up in that error that I didn't think to check the error log! It said it couldn't find a Mail Host. Now, on the first instance, I just added the

[Zope] Can't Track Simple Bug

2006-11-08 Thread Nancy Donnelly
7474Hi;I have two Zope instances. On one of them, I have a boilerplate script that I use for all my clients' Web sites. Works fine. Has for years. I decided to copy it over to my other instance and I get an error. Here's the line in question:  tal:on-error="string: mailScript() isn't defined! This

Re: [Zope] How To Convert Files To Page Templates?

2006-11-08 Thread Nancy Donnelly
72- Original Message From: Chris Withers <[EMAIL PROTECTED]>Nancy Donnelly wrote:>> That helped a lot! I yahoo'd (can't google any more since they've sold out to >> the interests gathering our personal data for Homeland Security) "put_factory"

Re: [Zope] How To Convert Files To Page Templates?

2006-11-08 Thread Nancy Donnelly
73- Original Message From: Maciej Wisniowski <[EMAIL PROTECTED]>> I'm not sure whether it is what you're looking for but> it may be one of simplest solutions that you may> change if you need to. As Andreas said before,> ask a specific question :)> 1. Log into ZMI and create a folder called

Re: [Zope] How To Convert Files To Page Templates?

2006-11-07 Thread Nancy Donnelly
- Original Message From: Paul Winkler <[EMAIL PROTECTED]>On Tue, Nov 07, 2006 at 03:14:40AM -0800, Nancy Donnelly wrote:>> That helped a lot! I yahoo'd (can't google any more since they've sold out to the interests gathering >> our personal data for Homelan

Re: [Zope] How To Convert Files To Page Templates?

2006-11-07 Thread Nancy Donnelly
83- Original Message From: Chris Withers <[EMAIL PROTECTED]>Nancy Donnelly wrote:> Hi;>> I'm redoing a bunch of documents on a Zope site on my PC and I realized it >> would be easier to simply delete all the old ones and upload all the new ones. >> But if I

[Zope] How To Convert Files To Page Templates?

2006-11-06 Thread Nancy Donnelly
Hi;I'm redoing a bunch of documents on a Zope site on my PC and I realized it would be easier to simply delete all the old ones and upload all the new ones. But if I do that, they'll load as "files", not "page templates". I know there's a way to convert between the two, but I don't remember how. Ca

[Zope] tal:replace and Traverse

2006-11-03 Thread Nancy Donnelly
Hi; I can do this: and fetch my variable from the document. However, I want to be able to fetch it from another document, like this: But that syntax doesn't work. How do I do it? TIA, Nancy___ Zope maillist - Zope@zope.org http://mail.zope.org/ma