Discussion:
[tryton-es] Error al abrir modulo
Maicoly Guerrero
2018-09-12 16:32:51 UTC
Permalink
Buenos días ***@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
2018-09-12 16:53:19 UTC
Permalink
Post by Maicoly Guerrero
tengo un error cuando hago clic en mi modulo public_pac (TDR) al momento
me sale
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 ?
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
2018-09-12 19:15:29 UTC
Permalink
Gracias x responder Sergi

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


El mié., 12 sept. 2018 a las 11:53, Sergi Almacellas Abellana (<
Post by Maicoly Guerrero
Post by Maicoly Guerrero
tengo un error cuando hago clic en mi modulo public_pac (TDR) al momento
me sale
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
Post by Maicoly Guerrero
ValueError: can only parse strings
Alguien me puede guiar ?
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
Loading...