Erreur après upgrade 2.4.10
#1
Lorsque je tente une mise à jour des versions 2.4.9 à 2.4.10, j'obtiens l'erreur suivante lors de l'execution de la commande "creme migrate" (déploiement docker) :

Code :
[2024-02-15 11:10:21] WARNING - creme.creme_core.utils.imports : An error occurred trying to import "creme.billing.exporters.xhtml2pdf.Xhtml2pdfExportEngine": [cannot import name 'ShowBoundaryValue' from 'reportlab.platypus.frames' (/srv/creme/venv/lib/python3.8/site-packages/reportlab/platypus/frames.py)]
Traceback (most recent call last):
  File "/srv/creme/venv/bin/creme", line 8, in <module>
    sys.exit(execute())
  File "/srv/creme/venv/lib/python3.8/site-packages/creme/manage.py", line 39, in execute
    execute_from_command_line(argv)
  File "/srv/creme/venv/lib/python3.8/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line
    utility.execute()
  File "/srv/creme/venv/lib/python3.8/site-packages/django/core/management/__init__.py", line 413, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/srv/creme/venv/lib/python3.8/site-packages/django/core/management/base.py", line 354, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/srv/creme/venv/lib/python3.8/site-packages/django/core/management/base.py", line 398, in execute
    output = self.handle(*args, **options)
  File "/srv/creme/venv/lib/python3.8/site-packages/django/core/management/base.py", line 89, in wrapped
    res = handle_func(*args, **kwargs)
  File "/srv/creme/venv/lib/python3.8/site-packages/django/core/management/commands/migrate.py", line 75, in handle
    self.check(databases=[database])
  File "/srv/creme/venv/lib/python3.8/site-packages/django/core/management/base.py", line 419, in check
    all_issues = checks.run_checks(
  File "/srv/creme/venv/lib/python3.8/site-packages/django/core/checks/registry.py", line 76, in run_checks
    new_errors = check(app_configs=app_configs, databases=databases)
  File "/srv/creme/venv/lib/python3.8/site-packages/creme/billing/apps.py", line 47, in check_exporters
    for engine_cls in BillingExportEngineManager().engine_classes:
  File "/srv/creme/venv/lib/python3.8/site-packages/creme/billing/exporters/base.py", line 163, in engine_classes
    raise self.InvalidEngineClass(
creme.billing.exporters.base.InvalidEngineClass: "creme.billing.exporters.xhtml2pdf.Xhtml2pdfExportEngine" is an invalid path of <BillingExportEngine>.

Une idée de l'origine possible du problème ou de la façon dont je pourrai investiguer ça ?

Merci d'avance
  Répondre


Messages dans ce sujet
Erreur après upgrade 2.4.10 - par rnivet - 19-02-2024, 11:23
RE: Erreur après upgrade 2.4.10 - par genglert - 19-02-2024, 13:00
RE: Erreur après upgrade 2.4.10 - par rnivet - 19-02-2024, 15:56

Atteindre :


Utilisateur(s) parcourant ce sujet : 1 visiteur(s)