health-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Health-dev] ImportError: cannot import name 'InvalidRecurrence' from 't


From: tumashu
Subject: [Health-dev] ImportError: cannot import name 'InvalidRecurrence' from 'trytond.modules.calendar.exceptions' (/home/feng/gnuhealth/tryton/server/trytond-6.0.13/trytond/modules/calendar/exceptions.py
Date: Tue, 11 Jan 2022 08:53:57 +0800 (CST)


feng@debian:~ $ ./start_gnuhealth.sh

2022-01-11 00:52:19 [INFO] Starting GNU Health Server version 3.9.0 ...
Traceback (most recent call last):
  File "/home/feng/gnuhealth/tryton/server/trytond-6.0.13/bin/./trytond", line 34, in <module>
    Pool.start()
  File "/home/feng/gnuhealth/tryton/server/trytond-6.0.13/trytond/pool.py", line 105, in start
    register_classes()
  File "/home/feng/gnuhealth/tryton/server/trytond-6.0.13/trytond/modules/__init__.py", line 347, in register_classes
    the_module = import_module(module)
  File "/home/feng/gnuhealth/tryton/server/trytond-6.0.13/trytond/modules/__init__.py", line 52, in import_module
    module = importlib.import_module(fullname)
  File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 790, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/home/feng/gnuhealth/tryton/server/trytond-6.0.13/trytond/modules/calendar/__init__.py", line 17, in <module>
    from .calendar_ import *
  File "/home/feng/gnuhealth/tryton/server/trytond-6.0.13/trytond/modules/calendar/calendar_.py", line 20, in <module>
    from .exceptions import (
ImportError: cannot import name 'InvalidRecurrence' from 'trytond.modules.calendar.exceptions' (/home/feng/gnuhealth/tryton/server/trytond-6.0.13/trytond/modules/calendar/exceptions.py)
2022-01-11 00:52:20 [ERROR] Bailing out !
feng@debian:~ $


reply via email to

[Prev in Thread] Current Thread [Next in Thread]