[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
_
[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:
you still have to quote if you mean the variable with that
weird name. Otherwise its an expression in python.
_['AR-
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
http://mail.zope.org/mailman/listinfo/zop
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
http://ma
[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:
With the error:
"Expression (Python) Syntax error: invalid token"
Whereas this works fine:
Any insight is appreciated.
hpinson,
Maybe you
- Original Message -
From: <[EMAIL PROTECTED]>
To:
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:
Hi Tino. Yes, that is correct. This application has variables named
like:
'AR-DA-08'
This also fails in a Page Template:
With the error:
Compilation failed
TAL.TALDefs.TALError: Python expression error:
invalid token (Python expression "data.set('AR-DA-08',AR-DA-08)",
line 1) in expre
+---[ 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:
| >
| >
| >
| >
| >
| >With the error:
| >
| >"Expression (Python) Syntax error: invalid token"
| >
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:
AR - DA - 08
^ octal literal
HTH
___
Zope maillist - Zope@zope.org
http://mail.zope.
[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:
With the error:
"Expression (Python) Syntax error: invalid token"
Whereas this works fine:
I doubt any of that really "works". So you happen
t
A little bit of legacy DTML fun here... Zope 2.9.3
On save of a DTML Method, why would this dtml-call fail:
With the error:
"Expression (Python) Syntax error: invalid token"
Whereas this works fine:
Any insight is appreciated.
--
Harlow Pinson
Indepth Learning
Email: [EMAIL PR
11 matches
Mail list logo