Error al abrir modulo

69 views
Skip to first unread message

Maicoly Guerrero

unread,
Sep 12, 2018, 12:32:51 PM9/12/18
to tryton-es
Buenos días amig@s ,
tengo un error cuando hago clic en mi modulo public_pac (TDR) al momento me sale

Traceback (most recent call last):
  File "/trytond/wsgi.py", line 71, in dispatch_request
    return endpoint(request, **request.view_args)
  File "/trytond/protocols/dispatcher.py", line 41, in rpc
    request, database_name, *request.rpc_params)
  File "/trytond/wsgi.py", line 42, in auth_required
    return wrapped(*args, **kwargs)
  File "/trytond/protocols/wrappers.py", line 122, in wrapper
    return func(request, pool, *args, **kwargs)
  File "/trytond/protocols/dispatcher.py", line 173, in _dispatch
    result = rpc.result(meth(*c_args, **c_kwargs))
  File "/trytond/model/modelview.py", line 280, in fields_view_get
    tree = etree.fromstring(result['arch'], parser=parser)
  File "src/lxml/etree.pyx", line 3213, in lxml.etree.fromstring
  File "src/lxml/parser.pxi", line 1876, in lxml.etree._parseMemoryDocument
ValueError: can only parse strings
Alguien me puede guiar ? 

Sergi Almacellas Abellana

unread,
Sep 12, 2018, 12:53:22 PM9/12/18
to tryt...@googlegroups.com
En tu módulo tienes una vista definida que no existe el fichero xml con
la definición de la misma.

Un saludo,

--
Sergi Almacellas Abellana
www.koolpi.com
Twitter: @pokoli_srk

Maicoly Guerrero

unread,
Sep 12, 2018, 3:15:42 PM9/12/18
to tryt...@googlegroups.com
Gracias x responder Sergi

Tiene razón!!! Soy nuevo en Tryton gracias!

Reply all
Reply to author
Forward
0 new messages