[Zope] Re: Getting a methods parent (in a product)

2005-07-23 Thread Peter Bengtsson
How can I get a Product instance's _actual_ parent when one of its methods is called? (In other ways: how can I find out, from an instance, where that instance is located without falling prey to acquisition in Zope 2?) from Acquisition import aq_inner, aq_parent parent =

[Zope] Re: Getting a methods parent (in a product)

2005-07-23 Thread Jens Vagelpohl
On 23 Jul 2005, at 16:12, Peter Bengtsson wrote: from Acquisition import aq_inner, aq_parent parent = aq_parent(aq_inner(self)) This will return the true container the instance is set in, not just the acquisition parent. What's so bad about parent = self.aq_parent Two things: - simply

[Zope] zoperun vs start and ssh

2005-07-23 Thread virgil huston
This may be a stupid question, but, after searching the archives to find out how to keep Zope running after starting and then disconnecting from a remote ssh session, nothing works. First, the Zope manual and all the archives messages talk about using ./start. That doesn't work for me unless I am

[Zope] Searching Content Objects in Zope 3

2005-07-23 Thread Jim Vine
Hello, I've been working away on an application, and it's now starting to take shape, based around a series of content objects. As recommended on this list I opted for Zope 3 to build my app, and I'm finding it quite powerful. However, I've hit a bit of a brick wall around searching. It seems

Re: [Zope] zoperun vs start and ssh

2005-07-23 Thread Jens Vagelpohl
On 23 Jul 2005, at 18:46, virgil huston wrote: This may be a stupid question, but, after searching the archives to find out how to keep Zope running after starting and then disconnecting from a remote ssh session, nothing works. First, the Zope manual and all the archives messages talk about

Re: [Zope] Searching Content Objects in Zope 3

2005-07-23 Thread Jens Vagelpohl
On 23 Jul 2005, at 19:01, Jim Vine wrote: As recommended on this list I opted for Zope 3 to build my app, and I'm finding it quite powerful. However, I've hit a bit of a brick wall around searching. In case you don't get help here, you should subscribe to the specific Zope 3 list and ask

Re: [Zope] zoperun vs start and ssh

2005-07-23 Thread virgil huston
Oops, I meant to say runzope. I got Zope from the Zope web site, Zope-2.8.0-final. Virgil On 7/23/05, Jens Vagelpohl [EMAIL PROTECTED] wrote: On 23 Jul 2005, at 18:46, virgil huston wrote: This may be a stupid question, but, after searching the archives to find out how to keep Zope

Re: [Zope] zoperun vs start and ssh

2005-07-23 Thread virgil huston
Thanks for pointing me to zopectl. I had to ./zopectl, then type start from the zopectl prompt. Virgil On 7/23/05, virgil huston [EMAIL PROTECTED] wrote: Oops, I meant to say runzope. I got Zope from the Zope web site, Zope-2.8.0-final. Virgil On 7/23/05, Jens Vagelpohl [EMAIL PROTECTED]

Re: [Zope] zoperun vs start and ssh

2005-07-23 Thread erchache2000
This is a system administration problem, not a zope problem. :D If you want to start zopectl ever you need to configure it on /etc/init.d/ with rc-update.d on debian or chkconfig on fedora. Yo use a ssh session and start your service and if you close ssh connection you close the application

[Zope] Token 'ATOM' required, 'and' found

2005-07-23 Thread Peter Bengtsson
I'm using zope 2.7.5 and when doing a catalog search in a ZCTextIndex containing the starting with the word and it barfs with this errror: E.g. http://www.peterbe.com/search?q=and+i+cant+stop+thinking+about+you Error Type: ParseError Error Value: Token 'ATOM' required, 'and' found (traceback

Re: [Zope] zoperun vs start and ssh

2005-07-23 Thread bobb
you can also run start as a param... ./zopectl start hth bobb - Original Message - From: virgil huston [EMAIL PROTECTED] To: zope list user zope@zope.org Sent: Saturday, July 23, 2005 3:29 PM Subject: Re: [Zope] zoperun vs start and ssh Thanks for pointing me to zopectl. I had to

[Zope] Puzzling Import/Export problem

2005-07-23 Thread Jim Washington
A friend in Russia is still using my old ZClasses QSurvey product. He is attempting to copy an installation from one machine to another, and upgrade Zope to 2.6.4. Exporting the product and instances works fine, but some object instances will not import correctly. A product instance is a

Re: [Zope] zoperun vs start and ssh

2005-07-23 Thread Jens Vagelpohl
On 23 Jul 2005, at 20:48, bobb wrote: you can also run start as a param... ./zopectl start With zopectl the is unnecessary. It does all the right things to go into the background and detach from the terminal by itself without the ampersand. jens

Re: [Zope] zoperun vs start and ssh

2005-07-23 Thread bobb
- Original Message - From: Jens Vagelpohl [EMAIL PROTECTED] To: zope list user zope@zope.org Sent: Saturday, July 23, 2005 4:26 PM Subject: Re: [Zope] zoperun vs start and ssh On 23 Jul 2005, at 20:48, bobb wrote: you can also run start as a param... ./zopectl start With

Re: [Zope] Plone: storage, catologing and versioning

2005-07-23 Thread azazel
Rogério Atem de Carvalho wrote: Hi, I have a few questions about Plone (in some extent CMF/Zope): 1)How to manipulate versioning in Plone? (like CPS does) I know there is PLIP8, but it is still a proposal, isn't it? have a look at CMFEditions on svn.plone.org/collective . it is also

[Zope] how do I check if an object have being recently updated??

2005-07-23 Thread Allen Huang
I want to post a update date that will change when any ofthe objects in a folder has been updated. So far, I only know the command bobobase_modification_time, but it only works again the object I I enter the command with.. Can anyone show me how this is done?? Start your day with Yahoo! -

[Zope-Coders] Zope tests: 8 OK

2005-07-23 Thread Zope tests summarizer
Summary of messages to the zope-tests list. Period Fri Jul 22 11:01:02 2005 UTC to Sat Jul 23 11:01:02 2005 UTC. There were 8 messages: 8 from Zope Unit Tests. Tests passed OK --- Subject: OK : Zope-2_6-branch Python-2.1.3 : Linux From: Zope Unit Tests Date: Fri Jul 22 23:24:15 EDT

Re: [Zope-dev] Re: Event Timer Service for Zope 2.8

2005-07-23 Thread Chris McDonough
On Fri, 2005-07-22 at 13:11 +0200, Florent Guillaume wrote: Dylan Jay [EMAIL PROTECTED] wrote: Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris' ClockServer removes the need for such a thread, by hooking ZServer's mainloop to generate the faux request

[Zope-dev] Re: Event Timer Service for Zope 2.8

2005-07-23 Thread Dylan Jay
Chris McDonough wrote: On Fri, 2005-07-22 at 13:11 +0200, Florent Guillaume wrote: Dylan Jay [EMAIL PROTECTED] wrote: Tres Seaver wrote: Myself I'm for having ClockServer in the core, if Chris and others agree. It's fine with me. We maybe just need to remove the C extension in it...

[ZWeb] Re: [Zopeorg-webmaster] Login to http://www.zope.org/Collectors/Zope messed up

2005-07-23 Thread Chris Withers
Tobias Herp wrote: I'm currently logged in to http://www.zope.org/Collectors/Zope (as to_be, as shown at the page top). When I try to add a new issue (http://www.zope.org/Collectors/Zope/collector_add_issue_form), this method doesn't honor my being logged in, states You are not logged in in the

[ZWeb] Re: [Zopeorg-webmaster] Defektive pdf: ZopeBook-2_6

2005-07-23 Thread Chris Withers
R. Welz wrote: Hello. The pdf refuses to print. It always stops at page 97 on a Tektronix Laser Printer (Postscript Level 3) and Acrobat Reader 6.0 on Mac OS X. 4. The pdf is broken on this page. Acrobat can print this page as picture but with reduced quality.