I've seen that error when one has a response element
- which should fill the variable 'text' as a string - one has forgotten to 
do it..

regards
Tony



On Fri, 27 Feb 2009, LORENTE MARTINEZ, MAGDALENA wrote:

> Tibor, Thanks for your previous message about virtual tree visualization. All 
> is running Ok now. 
>  
> I have another problem. I have created new doctypes in websubmit module and I 
> have created new forms. But when I try to complete the new form the system 
> break the process and show me this message:
> 
>       Mod_python error: "PythonHandler invenio.webinterface_layout"
>       
>       Traceback (most recent call last):
>       
>         File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line 
> 299, in HandlerDispatch
>           result = object(req)
>       
>         File "/opt/invenio/lib/python/invenio/webinterface_handler.py", line 
> 298, in _profiler
>           return _handler(req)
>       
>         File "/opt/invenio/lib/python/invenio/webinterface_handler.py", line 
> 316, in _handler
>           return root._traverse(req, path)
>       
>         File "/opt/invenio/lib/python/invenio/webinterface_handler.py", line 
> 210, in _traverse
>           result = _check_result(req, obj(req, form))
>       
>         File "/opt/invenio/lib/python/invenio/websubmit_webinterface.py", 
> line 490, in index
>           return _index(req, **args)
>       
>         File "/opt/invenio/lib/python/invenio/websubmit_webinterface.py", 
> line 484, in _index
>           nbPg, curpage)
>       
>         File "/opt/invenio/lib/python/invenio/websubmit_engine.py", line 592, 
> in interface
>           returnto = returnto,
>       
>         File "/opt/invenio/lib/python/invenio/websubmit_templates.py", line 
> 694, in tmpl_page_interface_js
>           if re.search("%s\[\]" % field[i],fieldhtml[i]):
>       
>         File "sre.py", line 134, in search
>           return _compile(pattern, flags).search(string)
>       
>       TypeError: expected string or buffer
>       
> 
> Could you  give me any advice?
>  
> Magda Lorente
>  
> 

-- 


---- CERN - European Laboratory for Particle Physics -------------
-  Tony Osborne                      email: [email protected] -
-  CDS section, UDS Group,IT Dept.    Phone: +41 22 767 3567     -
-  CERN                               Fax  : +41 22 767 8630     -
------------------------------------------------------------------

Reply via email to