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

Erro ao gerar PDF #89

Open
rg3915 opened this issue Mar 5, 2020 · 1 comment
Open

Erro ao gerar PDF #89

rg3915 opened this issue Mar 5, 2020 · 1 comment

Comments

@rg3915
Copy link
Collaborator

rg3915 commented Mar 5, 2020

@thiagopena
Ao gerar PDF a partir da tela de orçamentos

Com Django 2.2.11 dá o seguinte erro:

File "~/djangoSIGE/.venv/lib/python3.7/site-packages/django/utils/functional.py", line 80, in __get__
    res = instance.__dict__[self.name] = self.func(instance)
  File "~/djangoSIGE/.venv/lib/python3.7/site-packages/django/db/models/lookups.py", line 118, in contains_aggregate
    return self.lhs.contains_aggregate or getattr(self.rhs, 'contains_aggregate', False)
RecursionError: maximum recursion depth exceeded while calling a Python object

Com Django 3.0.4 ele dá o erro:

Thread 0x00007f353b626080 (most recent call first):
  File "~/djangoSIGE/.venv/lib/python3.7/site-packages/django/utils/autoreload.py", line 355 in tick
  File "~/djangoSIGE/.venv/lib/python3.7/site-packages/django/utils/autoreload.py", line 305 in run_loop
  File "~/djangoSIGE/.venv/lib/python3.7/site-packages/django/utils/autoreload.py", line 299 in run
  File "~/djangoSIGE/.venv/lib/python3.7/site-packages/django/utils/autoreload.py", line 584 in start_django
  File "~/djangoSIGE/.venv/lib/python3.7/site-packages/django/utils/autoreload.py", line 599 in run_with_reloader
  File "~/djangoSIGE/.venv/lib/python3.7/site-packages/django/core/management/commands/runserver.py", line 102 in run
  File "~/djangoSIGE/.venv/lib/python3.7/site-packages/django/core/management/commands/runserver.py", line 95 in handle
  File "~/djangoSIGE/.venv/lib/python3.7/site-packages/django/core/management/base.py", line 369 in execute
  File "~/djangoSIGE/.venv/lib/python3.7/site-packages/django/core/management/commands/runserver.py", line 60 in execute
  File "~/djangoSIGE/.venv/lib/python3.7/site-packages/django/core/management/base.py", line 328 in run_from_argv
  File "~/djangoSIGE/.venv/lib/python3.7/site-packages/django/core/management/__init__.py", line 395 in execute
  File "~/djangoSIGE/.venv/lib/python3.7/site-packages/django/core/management/__init__.py", line 401 in execute_from_command_line
  File "~/djangoSIGE/.venv/../manage.py", line 23 in <module>
@mod64bits
Copy link

nem uma solução?

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