[Zope-dev] Re: Zope Tests: 8 OK, 1 Failed

2006-10-24 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Zope Tests Summarizer wrote: Test failures - Subject: FAILED (errors=1) : Zope-trunk Python-2.4.3 : Linux From: Zope Unit Tests Date: Mon Oct 23 21:35:18 EDT 2006 URL:

[Zope-dev] Re: Zope Tests: 8 OK, 1 Failed

2006-10-24 Thread yuppie
Tres Seaver wrote: Test failures - Subject: FAILED (errors=1) : Zope-trunk Python-2.4.3 : Linux From: Zope Unit Tests Date: Mon Oct 23 21:35:18 EDT 2006 URL: http://mail.zope.org/pipermail/zope-tests/2006-October/006371.html First, thanks for resuming this collected report. I

Re: [ZWeb] dns request: wiki.zope.org

2006-10-24 Thread Simon Michael
Thanks! ___ Zope-web maillist - Zope-web@zope.org http://mail.zope.org/mailman/listinfo/zope-web

[ZWeb] Possible Cache Problem?

2006-10-24 Thread Andrew Sawyers
Intermittently going to the following URL returns a failed conneciton error: http://zope.org/Collectors/Zope/1425 Since we have no insight into the caches - not sure whom to inform. The following error was encountered: * Connection Failed The system returned: (111) Connection refused

Re: [ZWeb] wiki urls

2006-10-24 Thread Simon Michael
.. 2 and 3 autocomplete in firefox much quicker .. ___ Zope-web maillist - Zope-web@zope.org http://mail.zope.org/mailman/listinfo/zope-web

Re: [Zope] ZSQL Method's Precision

2006-10-24 Thread Maciej Wisniowski
In a PostgreSQL DB I have a Numeric data type with a precision of two decimal places. If I have 1.33 in as the result from my query, it's everything is good. However, if I have 1.30 it reduces the precision to one decimal place and I get 1.3. Not so good when dealing with currency ( I don't

Re: [Zope] ZSQL Method's Precision

2006-10-24 Thread Tino Wildenhain
Maciej Wisniowski schrieb: In a PostgreSQL DB I have a Numeric data type with a precision of two decimal places. If I have 1.33 in as the result from my query, it's everything is good. However, if I have 1.30 it reduces the precision to one decimal place and I get 1.3. Not so good when dealing

[Zope] Uploading photos into newly created objects

2006-10-24 Thread Peter Bengtsson
I'm trying to upload a Photo into a newly create object in my product class. The code looks something like this:: def manage_addSomething(dispatcher, id, title, photofile): destination = dispatcher.Destination() instance = Something(id, title) destination._setObject(id, instance)

[Zope] Re: Uploading photos into newly created objects

2006-10-24 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter Bengtsson wrote: I'm trying to upload a Photo into a newly create object in my product class. The code looks something like this:: def manage_addSomething(dispatcher, id, title, photofile): destination = dispatcher.Destination()

Re: [Zope] Re: Uploading photos into newly created objects

2006-10-24 Thread Peter Bengtsson
Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter Bengtsson wrote: I'm trying to upload a Photo into a newly create object in my product class. The code looks something like this:: def manage_addSomething(dispatcher, id, title, photofile): destination =

[Zope] Accessing ZPT properties from another page

2006-10-24 Thread Dyyryath
I've got a page template that I'd like to display some information contained in the properties of another page. Can I do this? I'd like to do something like: div tal:content=context/otherpage/template/propertyname/div Though that obviously doesn't work. :) Does anyone know if something along

[Zope] Re: Accessing ZPT properties from another page

2006-10-24 Thread Michael Haubenwallner
Dyyryath wrote: I've got a page template that I'd like to display some information contained in the properties of another page. Can I do this? I'd like to do something like: div tal:content=context/otherpage/template/propertyname/div Though that obviously doesn't work. :) div

[Zope] DTML Call Fails

2006-10-24 Thread hpinson
A little bit of legacy DTML fun here... Zope 2.9.3 On save of a DTML Method, why would this dtml-call fail: dtml-let standards=REQUEST.SESSION dtml-call standards.set('AR-DA-08', AR-DA-08) /dtml-let With the error: Expression (Python) Syntax error: invalid token Whereas this works fine:

Re: [Zope] DTML Call Fails

2006-10-24 Thread Tino Wildenhain
[EMAIL PROTECTED] schrieb: A little bit of legacy DTML fun here... Zope 2.9.3 On save of a DTML Method, why would this dtml-call fail: dtml-let standards=REQUEST.SESSION dtml-call standards.set('AR-DA-08', AR-DA-08) /dtml-let With the error: Expression (Python) Syntax error: invalid

Re: [Zope] DTML Call Fails

2006-10-24 Thread Alexis Roda
En/na [EMAIL PROTECTED] ha escrit: A little bit of legacy DTML fun here... Zope 2.9.3 On save of a DTML Method, why would this dtml-call fail: dtml-let standards=REQUEST.SESSION dtml-call standards.set('AR-DA-08', AR-DA-08) /dtml-let AR - DA - 08 ^ octal literal HTH

Re: [Zope] DTML Call Fails

2006-10-24 Thread Andrew Milton
+---[ Tino Wildenhain ]-- | [EMAIL PROTECTED] schrieb: | A little bit of legacy DTML fun here... Zope 2.9.3 | | On save of a DTML Method, why would this dtml-call fail: | | dtml-let standards=REQUEST.SESSION | dtml-call standards.set('AR-DA-08', AR-DA-08) | /dtml-let |

Re: [Zope] DTML Call Fails

2006-10-24 Thread hpinson
Hi Tino. Yes, that is correct. This application has variables named like: 'AR-DA-08' This also fails in a Page Template: span tal:define=standards python: request.SESSION tal:block define=temp python: data.set('AR-DA-08',AR-DA- 08)/tal:block /span With the error: Compilation failed

Re: [Zope] DTML Call Fails

2006-10-24 Thread Jonathan
- Original Message - From: [EMAIL PROTECTED] To: zope@zope.org Sent: Tuesday, October 24, 2006 1:04 PM Subject: Re: [Zope] DTML Call Fails Hi Tino. Yes, that is correct. This application has variables named like: 'AR-DA-08' This also fails in a Page Template: span

Re: [Zope] DTML Call Fails

2006-10-24 Thread David H
[EMAIL PROTECTED] wrote: A little bit of legacy DTML fun here... Zope 2.9.3 On save of a DTML Method, why would this dtml-call fail: dtml-let standards=REQUEST.SESSION dtml-call standards.set('AR-DA-08', AR-DA-08) /dtml-let With the error: Expression (Python) Syntax error: invalid token

Re: [Zope] DTML Call Fails

2006-10-24 Thread hpinson
Yep, changing to a underscore from a dash does the trick. Thanks to everyone who helped me understand this. -- Harlow Pinson Indepth Learning Email: [EMAIL PROTECTED] Phone: 505 994-2135 Fax: 505 994-3603 ___ Zope maillist - Zope@zope.org

Re: [Zope] DTML Call Fails

2006-10-24 Thread hpinson
Changing the dash to an underscore in the variable name solved the problem. -- Harlow Pinson Indepth Learning Email: [EMAIL PROTECTED] Phone: 505 994-2135 Fax: 505 994-3603 ___ Zope maillist - Zope@zope.org

Re: [Zope] DTML Call Fails

2006-10-24 Thread Tino Wildenhain
[EMAIL PROTECTED] schrieb: Hi Tino. Yes, that is correct. This application has variables named like: 'AR-DA-08' Not very clever. This also fails in a Page Template: span tal:define=standards python: request.SESSION tal:block define=temp python: data.set('AR-DA-08',AR-DA- 08)/tal:block

Re: [Zope] DTML Call Fails

2006-10-24 Thread Tino Wildenhain
[EMAIL PROTECTED] schrieb: Changing the dash to an underscore in the variable name solved the problem. I'm quite sure you could solve it even better - if we would know where these variables come from and what their meaning is. I suspect some kind of form? Regards Tino Wildenhain