-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:
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
Thanks!
___
Zope-web maillist - Zope-web@zope.org
http://mail.zope.org/mailman/listinfo/zope-web
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
.. 2 and 3 autocomplete in firefox much quicker ..
___
Zope-web maillist - Zope-web@zope.org
http://mail.zope.org/mailman/listinfo/zope-web
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
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
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)
-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()
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 =
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
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
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:
[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
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
+---[ 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
|
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
- 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
[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
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
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
[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
[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
23 matches
Mail list logo