[Zope] FSSession and _v_data

Pavlos Christoforou pavlos@gaaros.com
Mon, 3 Apr 2000 12:01:41 -0400 (EDT)


On Sat, 1 Apr 2000, Marc DANAI wrote:

> Hi,
> 
>   I have a strange PB with FSSession and I can't
> understant why to resolve it.
> site tree but time by time I get an error messages
> with Zope concerning _v_data. Sometimes If I reload
> the page the PB gone and sometimes none.


I got a few complains about the _v_data problem but it seems in all of
them the problem arose when one tried to access the FSSession contents
before initiallizing FSSession with:
<dtml-call FSSession>

If you are sure that this is not the case and that it happens occasionaly,
please email me again with a bit more info (complete traceback, and the 
DTML code that was used to access it) and I will fix it ASAP.

Thanks

Pavlos

> 
>   Even if variable is not set I must get 'None' when I
> try to find it?
> 
>  Here is an example of error:
> 
> File
> /home/dm/Zope-2.1.3-src/lib/python/DocumentTemplate/DT_String.py,
> line 502, in __call__
>    (Object: index_html)
> File
> /home/dm/Zope-2.1.3-src/lib/python/DocumentTemplate/DT_Util.py,
> line 335, in eval
>   (Object: _.str(FSSession['bgcolor']))
>   (Info: FSSession)
> File <string>, line 0, in ?
> File
> /home/dm/Zope-2.1.3-src/lib/python/DocumentTemplate/DT_Util.py,
> line 161, in careful_getitem
> File
> /home/dm/Zope-2.1.3-src/lib/python/Products/FSSession/FSSession.py,
> line 224, in __getitem__
>   (Object: FSSession)
> 
> 
> In this example, it is about bgcolor but sometimes
> about other variables.
> 
> Any suggestion ?
> 
> Thank's
> 
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>