Re: [Zope-dev] Added rename to ZOPE FTP server (another bug: jpg images are not autodetected)

2001-01-28 Thread Tom Vijlbrief
Joachim Werner wrote: Hi! I've found one problem with FTP and KDE: jpg-images are uploaded as files, not images. This works fine with wedav (tried cadaver) and plain command line FTP, but using KDE2 konqueror it doesn't work. Maybe because of the partial upload magic it does? Yes, I

[Zope-dev] How to avoid ConflictErrors ?

2001-01-28 Thread Morten W. Petersen
Hi zopers, I'm having problems with a product I'm developing. The product is part of the ZopeGUM package, the GUM product. If you have a look in gum.py in that product, you can see a method named _retrieve_messages, which can at times store enourmous amounts of objects and data in one

Re: [Zope-dev] How to avoid ConflictErrors ?

2001-01-28 Thread Morten W. Petersen
[Chris Withers] | Please check that both rfc822_message and message_container subclass | Persistence.Persistent. They do. *ponder* -Morten ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross

[Zope-dev] Re: [Zope] Creating a namespace

2001-01-28 Thread Chris Withers
Stephan Richter wrote: ...and search the list archives. The e-groups search is pointless and never gives you anything useful (I did that already). So use the ones at NIP: http://zope.nipltd.com/public/lists.html Thanks so much for your hints, but I am just a little frustrated right now

[Zope-dev] 2.3.0 ZCatalog Copy Paste Bug Fixed :-)

2001-01-28 Thread Chris Withers
...but the error message looks better ;^)= Oh boy, Chris P's gonna kick himself for this one ;-) The idea was to change the meta_type of ZCatalog to Z Catalog so it was like everything else in core Zope, but he left a 'bad' line in ZCatalog.py. The patch below fixes the problem. *grinz*

Re: [Zope-dev] asynchat producer ready() method patch.

2001-01-28 Thread Dieter Maurer
Donovan Baarda writes: I remember reading ages ago on a wishlist for ZServer that someone was thinking of adding blocking support to producers. This patch adds support for just that in a non-intrusive way. I haven't tried applying this patch to ZServer, but it _should_ work. What does

Re: [Zope-dev] ZCatalog Bug Fix II

2001-01-28 Thread Chris Withers
Chris Withers wrote: Okay, tracked down what's happening, can't understand why :-( Now I can... convoluted but with a simple answer ;-) As to why the object is on the top of the namespace, I dunno whether it's dtml-in or ZCatalog that's responsible... The reason for this, was because

[Zope-dev] ZDebug patch for 2.3.0

2001-01-28 Thread Chris Withers
The patch below got ZDebug working with Zope 2.3.0 for me. Hope I didn't miss anything ;-) cheers, Chris --- debugsecuritypolicy.py.old Sun Jan 28 21:59:23 2001 +++ debugsecuritypolicy.py Sun Jan 28 22:07:21 2001 @@ -89,7 +89,7 @@ __version__='$Revision: 1.4 $'[11:-2] from AccessControl

[Zope-dev] Re: Creating a namespace

2001-01-28 Thread Michael Halle
Stephan Richter [EMAIL PROTECTED] writes: I want to make my own name space with the following situation: class X: attributes = {'foo': 'bar'} x = X() Then I want to use it like that: dtml-with x dtml-var foo /dtml-with I puzzled through a related problem a little, but for (I

Re: [Zope-dev] Possible TransparentFolders bug?

2001-01-28 Thread Itai Tavor
I can't reproduce this problem myself. In fact, as of this morning it doesn't happen anymore. Guess it was just one of those flukes the universe throws at me to try to convince me to move to another universe. Shane Hathaway wrote: Itai Tavor wrote: The TransparentFolders Product seems to

[Zope-dev] Unable to clear proxy roles in Zope 2.3.0

2001-01-28 Thread Dirksen
In Zope 2.2.x, one can clear the proxy roles for one method by unseleting all proxy roles. In Zope 2.3.0, this lets to this error: You must select one or more proxy roles. Is it a bug, or is it done in a different fashion? cheers Dirksen __ Do You

[Zope-dev] 2.3.0 release badness

2001-01-28 Thread richard
I've just updated to 2.3.0 release using CVS. My CSS serving has subsequently broken. The CSS serving worked fine with the CVS code from 2.3.0b2. I didn't get to check b3 - we had a public holiday on Friday and that meant that the one working day assigned to the b3 release was lost to me (and

Re: [Zope-dev] 2.3.0 release badness

2001-01-28 Thread Pablo Bleyer Kocik
[EMAIL PROTECTED] wrote: I've just updated to 2.3.0 release using CVS. My CSS serving has subsequently broken. The CSS serving worked fine with the CVS code from 2.3.0b2. I didn't get to check b3 - we had a public holiday on Friday and that meant that the one working day assigned to the b3

Re: [Zope-dev] asynchat producer ready() method patch.

2001-01-28 Thread Donovan Baarda
On Sun, Jan 28, 2001 at 09:31:07PM +0100, Dieter Maurer wrote: Donovan Baarda writes: I remember reading ages ago on a wishlist for ZServer that someone was thinking of adding blocking support to producers. This patch adds support for just that in a non-intrusive way. I haven't tried

Re: [Zope-dev] 2.3.0 release badness

2001-01-28 Thread Pablo Bleyer Kocik
the HTML's header) and then a sort of synchronizing error happens. When you are at the local machine the delay between the document requests is larger so the Oops. That should be "When you are *not* at the local machine...". Sorry ;^) -- Pablo Bleyer Kocik | pbleyer|"Rintrah

[Zope] migration issues - 2.2.4 - 2.30

2001-01-28 Thread Lee
Hi there, I've been developing an application on Win32 using Zope 2.2.4 and a Gadfly database. Now that I've got a working prototype I will me rebuilding my app on Zope 2.3 in Unix using a MySQL database... tomorrow. I expect the process won't be a simple job i.e. copying pasting *won't* do the

[Zope] Re: Zope Inheritance with ZClasse

2001-01-28 Thread Martijn Pieters
Hi Ernesto, The best place to ask these questsions is on the [EMAIL PROTECTED] mailinglist. More information about the mailinglists can be found at: http://www.zope.org/Resources/MailingLists/ I forwarded your mail to the list. Hope this helps! On Sun, Jan 28, 2001 at 08:14:18AM -0500,

Re: [Zope] sending variables/parameters via hyperlink

2001-01-28 Thread Chris Withers
Dieter Maurer wrote: This should work *IF* the URL does not contain funny characters. Note that many characters are not allowed in URL's and especially "value" above must not contain blanks (as per HTML 4.x and CGI). Such values must be quoted with "url_quote_plus". Why is it so bad if

[Zope] How can a document know its own URL?

2001-01-28 Thread Brendon Grunewald
Can anyone tell me how to use DTML to get at the URL for the document being displayed? I want to display the URL of the documentbeing displayed inside of the document being displayed. Something like: b You are now viewing the following URL: dtml-var Some_DTML_var /b Similar to the

Re: [Zope] DTML namespace puzzle

2001-01-28 Thread Dieter Maurer
Ron Bickers writes: I have a Python Script (sendOrder) that calls a DTML method (orderMessage) as follows: container.orderMessage(num=num, SESSION=SESSION) orderMessage contains the following: dtml-with "SESSION['info']" mapping Order Number: dtml-var num Blah blah

Re: [Zope] sending variables/parameters via hyperlink

2001-01-28 Thread Dieter Maurer
Chris Withers writes: Dieter Maurer wrote: This should work *IF* the URL does not contain funny characters. Note that many characters are not allowed in URL's and especially "value" above must not contain blanks (as per HTML 4.x and CGI). Such values must be quoted with

Re: [Zope] where are the pages stored?

2001-01-28 Thread Dieter Maurer
Horatio B. Bogbindero writes: btw, were does zope store the template pages and objects? i tried do look into the folders but i could not seem to find it. is there are a way of moving this document root to a different folder? Before Zope 2.3, they were in "lib/python/*/*.dtml". Since Zope

[Zope] Re: Subtranscations are hacky?

2001-01-28 Thread Dieter Maurer
Chris Withers writes: What about just putting a try: ... except AttributeError around the commit_sub call in Transaction.py? What bad effects would that have? That would probably not be a good idea as it could hide serious problems. ZCatalog has a similar "try: ... except" and in its

[Zope] Re: Subtranscations are hacky?

2001-01-28 Thread Chris Withers
"hasattr(...,'commit_sub')" and "hasattr(,'abort_sub')" would be a better approach. I'd totally agree :-) Should I put that in the collector or do you want to? cheers, Chris ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] namespace problems

2001-01-28 Thread Chris Withers
How would I do the URL redirect using an equivalent to the dtml-call "RESPONSE.redirect(URL1)" that's in the DTML Method below? context.RESPONSE.redirect(URL1) cheers, Chris ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] Did I miss some major change in Z SQL Methods ?

2001-01-28 Thread Curtis Maloney
On Thursday 25 January 2001 21:29, peter bengtson wrote: Curtis, Doing Z SQL Methods (SELECT) is really easy with DTML. When you've got a working example of it in DTML, then we can perhaps help you to convert that into Python Method code. Cheers, Peter Peter, Please, do not mistake me

[Zope] Python Methods can't construct literal dictionaries?

2001-01-28 Thread Fred Yankowski
I'm trying to create a Python Method, using PythonMethod 0-1-7, that validates a set of form values before updating a database. I planned to return any/all errors as a dictionary keyed by the errant field name. But statements like this in my Python Method input_errors = {}

Re: [Zope] separate zope from site products

2001-01-28 Thread Tres Seaver
[EMAIL PROTECTED] asked: Ok, I saw it by accident while searching for something else the other day, and now can't find the HOWTO on getting your Zope install separate from your local products, so that future Zope upgrades don't require re-installation of all your already existing products.

RE: [Zope] DTML namespace puzzle

2001-01-28 Thread Ron Bickers
-Original Message- From: Dieter Maurer [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 28, 2001 3:43 PM To: Ron Bickers Cc: [EMAIL PROTECTED] Subject: Re: [Zope] DTML namespace puzzle Does "SESSION['info']" has a key "num" or do you expect to access the "num" passed as

Re: [Zope] basic authorization triggered inside LoginManager context

2001-01-28 Thread Tres Seaver
Fred Yankowski [EMAIL PROTECTED] wrote: I've set up LoginManager with SQL and it's working OK, but I've run into a case where the browser pops up a basic/HTTP authentication request when I try to access a particular object inside the LoginManager-protected area. I particular, I added the

Re: [Zope] Did I miss some major change in Z SQL Methods ?

2001-01-28 Thread Fred Yankowski
I missed the original message, but I'm trying to do something similar -- use Python Methods rather than DTML -- and I found one critical difference just today. Here's an example: I've got an SQL Method called 'select_item' that takes 'item_id' as its only input parameter. I've got a DTML

Re: [Zope] How can a document know its own URL?

2001-01-28 Thread Joachim Werner
Can anyone tell me how to use DTML to get at the URL for the document being displayed? dtml-var URL Sometimes, things can be so easy ;-) Joachim. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No

Re: [Zope] where are the pages stored?

2001-01-28 Thread Horatio B. Bogbindero
btw, were does zope store the template pages and objects? i tried do look into the folders but i could not seem to find it. is there are a way of moving this document root to a different folder? Before Zope 2.3, they were in "lib/python/*/*.dtml". Since Zope 2.3, they are in

Re: [Zope] namespace problems

2001-01-28 Thread Gary Lowder
with your line dropped in, my python script still gives me: Error Type: AttributeError Error Value: RESPONSE I'm passing variables via a form action..., how do I let python access that namespace? Thanks, Gary. Chris Withers wrote: How would I do the URL redirect using an equivalent to the

[Zope] Core Session

2001-01-28 Thread josh on
Is core session a part 2.3? Can someone point me to the documentation on it? Thanks, josh on ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

Re: [Zope] Python Methods can't construct literal dictionaries?

2001-01-28 Thread Evan Simpson
This is one of the shortcomings of Python Methods that Scripts eliminate. You can work around it by writing: x = {} x.update({y: z}) Cheers, Evan @ digicool 4-am ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope

Re: [Zope] Core Session

2001-01-28 Thread Chris McDonough
Hi Josh, No, the core session tracking product does not ship with 2.3. But it does work with it. You can get it from http://www.zope.org/Members/mcdonc/Products/CoreSessionTracking On Sun, 28 Jan 2001 17:19:32 -0800 "josh on" [EMAIL PROTECTED] wrote: Is core session a part 2.3? Can

Re: [Zope] Did I miss some major change in Z SQL Methods ?

2001-01-28 Thread Curtis Maloney
On Monday 29 January 2001 10:19, Fred Yankowski wrote: I missed the original message, but I'm trying to do something similar -- use Python Methods rather than DTML -- and I found one critical difference just today. Here's an example: I've got an SQL Method called 'select_item' that takes

Re: [Zope] subtransactions

2001-01-28 Thread Chris McDonough
Maybe. I wouldn't bother submitting a patch... we just need to figure out the "right thing to do". What you suggest may be it. On Sun, 28 Jan 2001 16:34:44 + Chris Withers [EMAIL PROTECTED] wrote: - Original Message - From: "Dieter Maurer" [EMAIL PROTECTED] If this is the

[Zope] Products and Zope 2.3

2001-01-28 Thread David K. Trudgett
On Sun, Jan 28, 2001 at 09:23:21PM -0500, Chris McDonough wrote: No, the core session tracking product does not ship with 2.3. But it does work with it. You can get it from http://www.zope.org/Members/mcdonc/Products/CoreSessionTracking This brings up the question: are there any

[Zope] Getting https://..... pages to redirect to Zope

2001-01-28 Thread Deja User
I can't get my buy page to work on Etailer I'm not sure if it the rewrite rules in apache or the ssl setup. It seems that the https:// request doesn't get converted to call Zope When it tries to access https://192.168.0.102/Kayak/kl/buy from the browser, I get page not found. The apache error

[Zope] ANNOUNCE: please have a look at ZDatabaseTool

2001-01-28 Thread Andreas Heckel
We at easyleading.org are pleased to announce a new Zope Product. ZDatabaseTool provides a set of wizards to let you manage databases more comfortable. At the moment PostgreSQL is supported. The code is not yet released but I want you to have a look at the screen shots and the online demo.