You have to learn to read tracebacks. It tells you that the error
occurs in line 217 of ExtendPathIndex.py. So you'll likely find offending
"int(n)" statement there. Take the debugger and figure out the value of 'n'.
This gives you an indication about your problem..please don't complain that
you can not deal with the debugger..that's a good exercise :-)
Andreas
--On 3. Juli 2008 04:02:04 -0700 tcr <t.ceretto@chu-nancy.fr> wrote:
>
> Yes, but I don't know what is this 'n', on my ZPT I don't have this 'n'
> (text or variable or integer)
>
>
> Andreas Jung-5 wrote:
>>
>>
>>
>> --On 3. Juli 2008 03:44:27 -0700 tcr <t.ceretto@chu-nancy.fr> wrote:
>>
>>>
>> ts.ExtendedPathIndex.ExtendedPathIndex, line 375, in
>>> _apply_index
>>> Module Products.ExtendedPathIndex.ExtendedPathIndex, line 217, in
>>> search
>>> ValueError: invalid literal for int(): n
>>>
>>
>>> or why I get this error and how correct it
>>>
>>
>>
>> You take the debugger and figure out what 'n' is (the traceback above
>> tells
>> you where to debug).
>>
>> -aj
>>
>> -------------------------------------------------------------------------
>> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
>> Studies have shown that voting for your favorite open source project,
>> along with a healthy diet, reduces your potential for chronic lameness
>> and boredom. Vote Now at
http://www.sourceforge.net/community/cca08>> _______________________________________________
>> Plone-Users mailing list
>> Plone-Users@lists.sourceforge.net
>>
https://lists.sourceforge.net/lists/listinfo/plone-users>>
>>
>
> --
> View this message in context:
>
http://www.nabble.com/Custom-and-syntax-problem-in-ZPT---tp18256535s6742p> 18256795.html Sent from the General Questions mailing list archive at
> Nabble.com.
>
>
> -------------------------------------------------------------------------
> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
> Studies have shown that voting for your favorite open source project,
> along with a healthy diet, reduces your potential for chronic lameness
> and boredom. Vote Now at
http://www.sourceforge.net/community/cca08> _______________________________________________
> Plone-Users mailing list
> Plone-Users@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/plone-users--
ZOPYX Ltd. & Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany
Web: www.zopyx.com - Email: info@zopyx.com - Phone +49 - 7071 - 793376
Registergericht: Amtsgericht Stuttgart, Handelsregister A 381535
Geschäftsführer/Gesellschafter: ZOPYX Limited, Birmingham, UK
------------------------------------------------------------------------
E-Publishing, Python, Zope & Plone development, Consulting
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at
http://www.sourceforge.net/community/cca08_______________________________________________
Plone-Users mailing list
Plone-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plone-users