Re: [Zope] loading an url from a restricted python script

2005-06-28 Thread Andrew Milton
+---[ Andreas Jung ]-- | | | --On 28. Juni 2005 20:40:56 +0200 santiago <[EMAIL PROTECTED]> wrote: | | >I don't understand still : | >what I am looking for is a way to read a url whitout having to | >write an external method. | >the point is I belived that reading a url i

Re: [Zope] loading an url from a restricted python script

2005-06-28 Thread Andreas Jung
--On 28. Juni 2005 20:40:56 +0200 santiago <[EMAIL PROTECTED]> wrote: I don't understand still : what I am looking for is a way to read a url whitout having to write an external method. the point is I belived that reading a url in a web application like zope should not require such powerfull t

Re: [Zope] Problem with ZSQLMethods/MySQL after update

2005-06-28 Thread Greg Fischer
I could be totally wrong, but just a thought You might remove the Zmysqlda 2.0.8 you have and download and install the 2.0.9b3. Do some reading before, and maybe you can simply reinstall 2.0.8. I cant remember what it was that needed 2.0.9, maybe it was just having mysqlpython 1.2.0. (becau

Re: [Zope] WebDAV

2005-06-28 Thread Chris McDonough
Note that MS has a Webfolders "fixer" program, see: http://chapters.marssociety.org/webdav (beginning "Some Windows XP machines have a broken Web Folders installation. Microsoft includes a Web Folders repair utility built in to Windows to correct the problem. Use the following steps to fix the pro

Re: [Zope] WebDAV

2005-06-28 Thread Luiz Fernando B. Ribeiro
Dieter Maurer wrote: Luiz Fernando B. Ribeiro wrote at 2005-6-27 16:00 -0300: I'm using webdav to update to access files from Dreamweaver and it is working fine but when I try to use windows web folders feature it fails with the following error in zope log. It seems that windows is requesting

Re: [Zope] merging the contents of two acl_users folders

2005-06-28 Thread Peter Bengtsson
Maybe you've already solved this but I know that the IssueTrackerProduct has a "Issue User Folder" which when instanciated has an option to convert existing acl_users users. You might want to dig into its source code where it picks up old users. On 6/23/05, Jim Abramson <[EMAIL PROTECTED]> wrote:

Re: [Zope] Breadcrumb dilemma

2005-06-28 Thread Jens Vagelpohl
On 28 Jun 2005, at 23:50, Adamo, Steven wrote: However, the breadcrumb trail will only display "you are here: home". I simply cannot figure out what I haven't included (or what I "killed" when I created my new skin) that will make the breadcrumb pick up the new folder (you are here: home > co

[Zope] Breadcrumb dilemma

2005-06-28 Thread Adamo, Steven
My apologies if this is easily found in the mail-list archives (I found no easy way to search that wealth of information). I feel silly asking this collective about such a simple question, but for the life of me, I'm completely stumped. I have implemented a Plone 2.x site for our public website,

Re: [Zope] Sequencing pages

2005-06-28 Thread J Cameron Cooper
John Poltorak wrote: If I create individual pages for a website as sub folders of a sites main folder, how do I control the sequence of pages if I automatically generate a set of links to all the folders? I presume that under normal circumstances that sequence would be in alphabetical order of

Re: [Zope] loading an url from a restricted python script

2005-06-28 Thread J Cameron Cooper
santiago wrote: I don't understand still : what I am looking for is a way to read a url whitout having to write an external method. the point is I belived that reading a url in a web application like zope should not require such powerfull tool as external methods or dedicated products.. There i

Re: [Zope] loading an url from a restricted python script

2005-06-28 Thread santiago
I don't understand still : what I am looking for is a way to read a url whitout having to write an external method. the point is I belived that reading a url in a web application like zope should not require such powerfull tool as external methods or dedicated products.. Andreas Jung wrote: > You

RE: [Zope] RE: ZopeProfiler issue (found root cause)

2005-06-28 Thread Dieter Maurer
Pascal Peregrina wrote at 2005-6-27 20:50 +0200: >Well, what about : > >try: >p= gP() >except: >return > >;) > It travels to your server. It might even get a return value (in case, it is a Zope server) but not necessarily what we expect. I hate unrestricted "try: ... except: ...". T

Re: [Zope] OFS.SimpleItem problem with maximum recursion depth exceeded Error

2005-06-28 Thread Dieter Maurer
Gautam Saha wrote at 2005-6-28 09:51 -0500: >I have a simple schema based on the "Article" ArchExample schema which >uses the " RichWidget" for file upload. >The product worked fine in Zope2.6.1/Plone1 but does not work in >zope2.7.5-final/Plone2.0.5. >I am getting a "RuntimeError: maximum recur

Re: [Zope] WebDAV

2005-06-28 Thread Dieter Maurer
Luiz Fernando B. Ribeiro wrote at 2005-6-27 16:00 -0300: >I'm using webdav to update to access files from Dreamweaver and it is >working fine but when I try to use windows web folders feature it fails >with the following error in zope log. It seems that windows is >requesting the PROPFIND before

Re: [Zope] Problem with ZSQLMethods/MySQL after update

2005-06-28 Thread Dieter Maurer
Ragnar Beer wrote at 2005-6-27 18:50 +0200: >After upgrading Zope from version 2.6.4 to 2.8.0 and mysqlpython from 0.9.2 to >1.2.0 I cannot add or edit ZSQLMethods anymore, although there is an open >(MySQL)db-Connection that works just fine with the same ZSQLMethods that cannot >be edited or with

Re: [Zope] Debugging a python routine

2005-06-28 Thread Dieter Maurer
Garito wrote at 2005-6-28 13:22 +0200: >... >Dieter: can you send us some info about debug PythonScripts with WingIDE? No, I cannot -- colleagues of mine use it (and are quite satisfied); I am using the archaic "pdb" :-) But, I am sure, you find information on the respective web site... >All: W

Re: [Zope] CMFFormController doubts

2005-06-28 Thread Dieter Maurer
cla wrote at 2005-6-27 17:10 +0100: >I'am trying to add one more field in the edit_news_form(plone) >but when i execute the script that probably stores the object >information of this new field aren't stored. It would have been better to send this question to the Plone-users mailing list. Of cour

Re: [Zope] Tweaking Zope DB- and connection parameters

2005-06-28 Thread J Cameron Cooper
Apache is set to "MaxClients 50" Zope.conf has set "zserver-threads 5" and cache-size 500 pool-size 25 ... I will note that a cache-size of 500 is ridiculously low. (Even though old versions of Zope shipped configured like this!) It needs to be at least 5000. Frankly, 5 wouldn't b

Re: [Zope] Re: External editor for ZMI

2005-06-28 Thread Chris McDonough
> I've been following this discussion with some interest as I have never > been able to get ExternalEditor to work for me. Now, that said, I have > it confiured enough that it will present me with an editor and a file > (WinWord) by clicking on the pencil. But I am confused on two points: > 1.)

[Zope] plone site & dreamweaver

2005-06-28 Thread sguglia
Hello! I need to use dreamweaver to manage a plone site but I cannot find a detailed howto. Any help? thank you, stefano. ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related

Re: [Zope] loading an url from a restricted python script

2005-06-28 Thread Paul Winkler
On Tue, Jun 28, 2005 at 04:56:07PM +0200, Andreas Jung wrote: > > > --On 28. Juni 2005 16:53:35 +0200 santiago <[EMAIL PROTECTED]> wrote: > > >hello > > > >I'm writting a restricted python script (in the zmi) > >and I wish to load an url that the user gives to me > >in order to diplay it back, i

Re: [Zope] loading an url from a restricted python script

2005-06-28 Thread Andreas Jung
--On 28. Juni 2005 16:53:35 +0200 santiago <[EMAIL PROTECTED]> wrote: hello I'm writting a restricted python script (in the zmi) and I wish to load an url that the user gives to me in order to diplay it back, inside my web page. is there a zope method that I can use, or must I relay on an ex

[Zope] loading an url from a restricted python script

2005-06-28 Thread santiago
hello I'm writting a restricted python script (in the zmi) and I wish to load an url that the user gives to me in order to diplay it back, inside my web page. is there a zope method that I can use, or must I relay on an external python script and use urllib ? thanks _

[Zope] OFS.SimpleItem problem with maximum recursion depth exceeded Error

2005-06-28 Thread Gautam Saha
Hi: I have a simple schema based on the "Article" ArchExample schema which uses the " RichWidget" for file upload. The product worked fine in Zope2.6.1/Plone1 but does not work in zope2.7.5-final/Plone2.0.5. I am getting a "RuntimeError: maximum recursion depth exceeded" error while trying to

Re: [Zope] Re: External editor for ZMI

2005-06-28 Thread Andreas Pakulat
On 28.Jun 2005 - 07:12:14, ken wood wrote: > I've been following this discussion with some interest as I have never been > able to get ExternalEditor to work for me. Now, that said, I have it > confiured > enough that it will present me with an editor and a file (WinWord) by > clicking > on th

Re: [Zope] Re: External editor for ZMI

2005-06-28 Thread ken wood
Chris McDonough wrote: On Mon, 2005-06-27 at 21:14 +0200, Josef Meile wrote: Do you mean this? http://plope.com/software/ExternalEditor Are there any screen shots of it in action? I'm not exactly sure how it works, but have feeling it won't work for me. Yes, that's what Paul meant

Re: [Zope] Debugging a python routine

2005-06-28 Thread Garito
Dieter Maurer escribió: John Poltorak wrote at 2005-6-27 16:45 +0100: Can anyone suggest how I would go about debugging a Python routine like this through Zope? It depends what type of object you want to debug, how much money you are ready to invest and how much comfort you need. At

RE: [Zope] Tweaking Zope DB- and connection parameters

2005-06-28 Thread Germer, Carsten
Ahh, this clarifies so far, thanks. But about how many zserver-threads would one need for approx. 50 concurrent connections? /Carsten >-Original Message- >From: Pascal Peregrina [mailto:[EMAIL PROTECTED] >Sent: Tuesday, June 28, 2005 11:54 AM >To: Germer, Carsten; zope list user >Subject

RE: [Zope] Tweaking Zope DB- and connection parameters

2005-06-28 Thread Pascal Peregrina
zserver-threads and pool-size should be almost the same. Each HTTP request from Apache to Zope uses a Connection object bound to a Transaction object. As each Connection object has its own cache, then if the connection pool size is much higher than the number of zsever threads, you could end up u

[Zope] Tweaking Zope DB- and connection parameters

2005-06-28 Thread Germer, Carsten
Hello everyone, I'm trying to figure out what I can set all (I know) Zope Parameters to to get a good overall performance on our "old" live installation. We have a new System with upgraded Zope and the like in the making but untill then I'm trying to keep what is up smooth and stable. Machine: Du

[Zope] Re: Sharing global data between threads / locking a method

2005-06-28 Thread Max M
Dieter Maurer wrote: Max M wrote at 2005-6-27 15:53 +0200: ... So in a external method/module I have a function like this: BUSY_STATE = 0 def sync_in_progress(busy=None): global BUSY_STATE if busy is None: return BUSY_STATE else: BUSY_STATE = busy Note that this is li

[Zope] CMF 1.5.2beta released

2005-06-28 Thread Jens Vagelpohl
Zope Corporation is pleased to announce the release of version 1.5.2beta of the Zope Content Management Framework (CMF). This release is intended for testing purposes only; we do not recommend deploying it to production servers. The final release of version 1.5.2 is expected mid-July 2005

Re: [Zope] Re: WebDAV

2005-06-28 Thread Chris McDonough
On Tue, 2005-06-28 at 03:57 -0400, Tres Seaver wrote: > The Windows WebFolder implementation has been non-compliant with the DAV > spec from the beginning, and further broken in various ways in each version. > > The usual recommendation is to buy an alternative, e.g. Enfold Systems' > PloneDesktop

[Zope] Re: WebDAV

2005-06-28 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Luiz Fernando B. Ribeiro wrote: > I'm using webdav to update to access files from Dreamweaver and it is > working fine but when I try to use windows web folders feature it fails > with the following error in zope log. It seems that windows is > request