Re: [Zope-dev] LONGing for normal integers... the sequal

2001-02-16 Thread francine broekhove

Hi guys,

after solving the problem with the long integers (thanx) there's another related 
incident happening with the tree tag. 

I've used the tree tag according to the 'book' like:
 ... 


The Mysqlda returns again something incompatible  (couldn't it simply be handled in 
the Mysqlda code for downward compatibility reasons?) so i get:

'call of non-function (type long int)' which kills the zope function, with Info: 
(['E5M=', []], {'childless_decoration': '', 'id': 'search_id', 
'branches_expr': , 'url': 'tpURL'}, 
(['E5M=', []],), (['E5M=', []],)))

Trying to fix it with an adjusted ('_.int(search_id)' didn't work, which is hardly 
surpricing as i do not know what i'm doing in the first place when the tree tag is 
involved.


So again LONGing (..the E5M seems somehow appropriate ..). In the mean time 
i'm trying to figure it out. Will keep you posted.

(zope 2.3.0.src, python 2.0, MySQL-python-0.3.2, MySQL 3.23, Z MySQL DA 2.0.0)

_
Get Your Private, Free Email at http://www.burningmail.com" 
target="_new">http://www.BurningMail.com

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



[Zope-dev] LONGing for normal integers ...

2001-02-10 Thread francine broekhove

Hi everyone,

i've updated my Zope (finaly) and my Python and my Linux (have been bussy). But, 
trying to fire up my 'old' applications in Zope, mostly connected to MySQL databases, 
i get an annoying 'L' behind every integer.

All my indexes are integers. I could rewrite all my dtml to include _.int(integer) or 
something, but that seems completely stupid. Isn't there a more 'central' way to solve 
this. F.i. should i adapt some python types? Does anyone know what is wrong and how to 
fix this?

Thanx (a million)
Francine

_
Get Your Private, Free Email at http://www.burningmail.com" 
target="_new">http://www.BurningMail.com

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )