Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error al ingresar a la pestaña "Expedientes" #68

Open
goncho123 opened this issue May 10, 2022 · 1 comment
Open

Error al ingresar a la pestaña "Expedientes" #68

goncho123 opened this issue May 10, 2022 · 1 comment

Comments

@goncho123
Copy link

Error ticket for "OpenLex"

Ticket ID

127.0.0.1.2022-05-10.17-18-21.99a2f4ca-6e3d-40c4-9c93-9dbeada7faf4

<class 'ModuleNotFoundError'> No module named 'applications.OpenLex.modules.xhtml2pdf'

Versión

web2py™ Version 2.22.3-stable+timestamp.2022.02.15.07.07.56
Python 3.8.10: /usr/bin/python3 (prefix: /usr)

Error snapshot help

ModuleNotFoundError(No module named 'applications.OpenLex.modules.xhtml2pdf')

Error ticket for "OpenLex" Ticket ID

127.0.0.1.2022-05-10.17-18-21.99a2f4ca-6e3d-40c4-9c93-9dbeada7faf4
<class 'ModuleNotFoundError'> No module named 'applications.OpenLex.modules.xhtml2pdf'
Versión
web2py™ Version 2.22.3-stable+timestamp.2022.02.15.07.07.56
Python Python 3.8.10: /usr/bin/python3 (prefix: /usr)
Rastreo

Traceback (most recent call last):
File "/home/gonzalo/web2py/gluon/restricted.py", line 219, in restricted
exec(ccode, environment)
File "/home/gonzalo/web2py/applications/OpenLex/controllers/expedientes.py", line 9, in
from xhtml2pdf import pisa
File "/home/gonzalo/web2py/gluon/custom_import.py", line 85, in custom_importer
return base_importer(pname, globals, locals, fromlist, level)
ModuleNotFoundError: No module named 'applications.OpenLex.modules.xhtml2pdf'

Error snapshot help

ModuleNotFoundError(No module named 'applications.OpenLex.modules.xhtml2pdf')

@ljguzman
Copy link

ljguzman commented Feb 28, 2023

Este problema se resuelve instalando xhtml2pdf versión 0.2.6 o superior.

En el archivo requirements.txt figura xhtml2pdf==0.2.5 pero con esta versión también muestra ese error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants