[Zope] sending updates with zope.

2006-09-12 Thread Samuele Giovanni Tonon
hi to all, i have this problem which is related to zope. we sell a tool inside zope that we install on a machine that stay at our customer. We need to find a easy but powerful way to update the tool if there are bugs or new features . after some research i've found zope synchronizer which is quit

[Zope] Problem with upgrade from Zope 2.6.1 to Zope 2.9.4

2006-09-12 Thread yogeen honnavar
Dear users, we migrated a zope application from Zope 2.6.1 to Zope 2.9.4 by copying the Data.fs file to the new installation. given below is the trace. can anyone suggest what is the problem and corrective measures. we r not able to understand whether the error occurs at mytestflow o

Re: [Zope] Problem with upgrade from Zope 2.6.1 to Zope 2.9.4

2006-09-12 Thread Andreas Jung
--On 12. September 2006 04:28:12 -0700 yogeen honnavar <[EMAIL PROTECTED]> wrote: > Module Products.PluginIndexes.PathIndex.PathIndex, line 124, in index_object AttributeError: _length -> doc/FAQ.txt -aj -- ZOPYX Ltd. & Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany Web: www.

[Zope] Dictionary in ZPT

2006-09-12 Thread Alan
Dears, I am looking for help. I want to pass, when submitting a FORM from a page template, dictionary. I started with that: tal:define="global count python: 0; global data python: {}" ... and I would like to do something like: tal:define="global data['jname'] python: jname" or tal:define="glo

Re: [Zope] Dictionary in ZPT

2006-09-12 Thread Andreas Jung
--On 12. September 2006 14:16:23 +0100 Alan <[EMAIL PROTECTED]> wrote: Dears, I am looking for help. I want to pass, when submitting a FORM from a page template, dictionary. I started with that: tal:define="global count python: 0; global data python: {}" ... and I would like to do something

Re: [Zope] Dictionary in ZPT

2006-09-12 Thread Martijn Pieters
On 9/12/06, Alan <[EMAIL PROTECTED]> wrote: I started with that: tal:define="global count python: 0; global data python: {}" ... and I would like to do something like: tal:define="global data['jname'] python: jname" or tal:define="global null python: data['jname']=jname" Just tal:define="nu

Re: [Zope] Dictionary in ZPT

2006-09-12 Thread Martijn Pieters
On 9/12/06, Andreas Jung <[EMAIL PROTECTED]> wrote: tal:define="dummy python: somedict.update({key:value})" See, I never manipulate dictionaries in TAL and forgot you had to do it that way. I gave the wrong answer in my reply. -- Martijn Pieters ___

[Zope] How can I get a listing of all objects in the Zope 2.62 ZODB?

2006-09-12 Thread Mark, Jonathan (Integic)
In Oracle it is easy to get a listing of everything that is in the Oracle database. One simply queries the system view dba_objects. Is there anything similar for the Zope 2.62 ZODB? I have been using Squishdot at goodbyejim.com for years. I still don't understand it. I would love to be able to see

Re: [Zope] How can I get a listing of all objects in the Zope 2.62 ZODB?

2006-09-12 Thread Andreas Jung
--On 12. September 2006 11:26:13 -0400 "Mark, Jonathan (Integic)" <[EMAIL PROTECTED]> wrote: In Oracle it is easy to get a listing of everything that is in the Oracle database. One simply queries the system view dba_objects. Is there anything similar for the Zope 2.62 ZODB? I have been usin

[Zope] POST sucks.

2006-09-12 Thread Paul Winkler
Been doing web services (XML-RPC) stuff lately. What suggestions do people have for troubleshooting a zope-based XML-RPC application? Access and trace logs are totally useless, since even the method name is hidden in the POST payload, so I feel like I'm flying blind; when a client developer tells

Re: [Zope] POST sucks.

2006-09-12 Thread Andrew Milton
+---[ Paul Winkler ]-- | Been doing web services (XML-RPC) stuff lately. | What suggestions do people have for troubleshooting a zope-based | XML-RPC application? When debugging; o Raise an exception from python scripts, you can include some info in it. o Use FireFox and us

Re: [Zope] POST sucks.

2006-09-12 Thread Paul Winkler
On Wed, Sep 13, 2006 at 02:39:14AM +1000, Andrew Milton wrote: > +---[ Paul Winkler ]-- > | Been doing web services (XML-RPC) stuff lately. > | What suggestions do people have for troubleshooting a zope-based > | XML-RPC application? > > When debugging; > o Raise an excepti

Re: [Zope] POST sucks.

2006-09-12 Thread Willi Langenberger
According to Paul Winkler: > Been doing web services (XML-RPC) stuff lately. > What suggestions do people have for troubleshooting a zope-based > XML-RPC application? > > Access and trace logs are totally useless, since even the method name is > hidden in the POST payload, so I feel like I'm flyin

Re: [Zope] POST sucks.

2006-09-12 Thread Andrew Milton
+---[ Paul Winkler ]-- | On Wed, Sep 13, 2006 at 02:39:14AM +1000, Andrew Milton wrote: | > +---[ Paul Winkler ]-- | > | Been doing web services (XML-RPC) stuff lately. | > | What suggestions do people have for troubleshooting a zope-based | > | XML-R

[Zope] Custom authentication page...

2006-09-12 Thread Steve
I'm just starting to look at Zope as a potential platform to implement a simple authenticated web site... however I do not want to face users with the standard web-browser dialogue, but rather my own log-in page. I've established how to restrict access based upon permissions etc... and I'm abl

[Zope] passing *args to external method

2006-09-12 Thread Alan
Hi List! I've been trying without success to pass from a form in ZPT to an external method an undefined list of parameters (*args). An example: def external_method(var_fix,*args): return 'Vals',var_fix,args ... file _sub_html_: returns typed value for var_fix and () for args. Howeve

Re: [Zope] passing *args to external method

2006-09-12 Thread Andreas Jung
--On 12. September 2006 18:26:20 +0100 Alan <[EMAIL PROTECTED]> wrote: it returns values of arg1 and arg2. But my problem is that the number args cannot be fixed since such arguments depends on other page. All form parameter are available from the REQUEST.form. self.REQUEST gives you the R

Re: [Zope] Custom authentication page...

2006-09-12 Thread Andreas Jung
--On 12. September 2006 18:14:39 +0100 Steve <[EMAIL PROTECTED]> wrote: I'm just starting to look at Zope as a potential platform to implement a simple authenticated web site... however I do not want to face users with the standard web-browser dialogue, but rather my own log-in page. I've est

Re: [Zope] Custom authentication page...

2006-09-12 Thread David H
Steve wrote: I'm just starting to look at Zope as a potential platform to implement a simple authenticated web site... however I do not want to face users with the standard web-browser dialogue, but rather my own log-in page.  I've established how to restrict access based upon permissions etc..

Re: [Zope] POST sucks.

2006-09-12 Thread Andreas Jung
--On 12. September 2006 12:34:38 -0400 Paul Winkler <[EMAIL PROTECTED]> wrote: Been doing web services (XML-RPC) stuff lately. What suggestions do people have for troubleshooting a zope-based XML-RPC application? Access and trace logs are totally useless, since even the method name is hidde

Re: [Zope] Custom authentication page...

2006-09-12 Thread Steve
David H wrote: I've read that I should use the "Cookie Crumbler" product... but after I've added this to the folder that I intend to protect, I click on cookie_authentication (the default name for the "Cookie Crumbler" object) and I get the following error message: Thats a weird one ... but co

Re: [Zope] Custom authentication page...

2006-09-12 Thread Olavo Santos
From: "Steve" <[EMAIL PROTECTED]> Sent: Tuesday, 12 de September de 2006 18:14 Hello. > Is this a bug with "Cookie Crumbler" (version 0.3 downloaded from > zope.org used against Zope 2.9.4, python 2.4.3, win32)? That is a really old version. Go here: http://hathawaymix.org/Software

Re: [Zope] sending updates with zope.

2006-09-12 Thread Dieter Maurer
Samuele Giovanni Tonon wrote at 2006-9-12 12:49 +0200: >i have this problem which is related to zope. >we sell a tool inside zope that we install on a machine that stay >at our customer. > >We need to find a easy but powerful way to update the tool if there >are bugs or new features . > >after some

Re: [Zope] How can I get a listing of all objects in the Zope 2.62 ZODB?

2006-09-12 Thread Dieter Maurer
Mark, Jonathan (Integic) wrote at 2006-9-12 11:26 -0400: >In Oracle it is easy to get a listing of everything >that is in the Oracle database. One simply queries the >system view dba_objects. > >Is there anything similar for the Zope 2.62 ZODB? I >have been using Squishdot at goodbyejim.com for yea

Re: [Zope] POST sucks.

2006-09-12 Thread Paul Winkler
On Tue, Sep 12, 2006 at 07:40:15PM +0200, Andreas Jung wrote: > Ethereal aka Wireshark how it is called now works perfectly for any kind > of network analysis like that. It has a functionality "Follow TCP stream" > and is able to decode nearly every protocol. Oooh, that looks really really useful

Re: [Zope] Custom authentication page...

2006-09-12 Thread Steve
Olavo Santos wrote: Is this a bug with "Cookie Crumbler" (version 0.3 downloaded from zope.org used against Zope 2.9.4, python 2.4.3, win32)? That is a really old version. Go here: http://hathawaymix.org/Software/CookieCrumbler Upgrade to version 1.2. :-) Sorted; Thanks! I had been usi

Re: [Zope] POST sucks.

2006-09-12 Thread Paul Winkler
On Wed, Sep 13, 2006 at 03:04:48AM +1000, Andrew Milton wrote: > +---[ Paul Winkler ]-- > | On Wed, Sep 13, 2006 at 02:39:14AM +1000, Andrew Milton wrote: > | > +---[ Paul Winkler ]-- > | > | Been doing web services (XML-RPC) stuff lately. > | > | Wha

Re: [Zope] POST sucks.

2006-09-12 Thread Paul Winkler
On Tue, Sep 12, 2006 at 06:58:36PM +0200, Willi Langenberger wrote: > I found it very useful to log every xml-rpc call (call and return > value). For this we have patched ZPublisher/xmlrpc.py (and one line in > ZPublisher/HTTPRequest.py). See attachment (tested against 2.9.3). (snip) Thanks! I ma

Re: [Zope] How can I get a listing of all objects in the Zope 2.62 ZODB?

2006-09-12 Thread Lennart Regebro
On 9/12/06, Mark, Jonathan (Integic) <[EMAIL PROTECTED]> wrote: In Oracle it is easy to get a listing of everything that is in the Oracle database. One simply queries the system view dba_objects. Is there anything similar for the Zope 2.62 ZODB? ZODB is an hierarchical object database. So, yes

[Zope] Re: zope 3 invisibility

2006-09-12 Thread Simon Michael
For the record, I found this thread illuminating and entirely on-topic for this list. Thanks Carlos! ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.