jazzband / django-fsm-log

Automatic logging for Django FSM
https://django-fsm-log.readthedocs.io/en/latest/
MIT License
241 stars 78 forks source link

Django 4 support #106

Closed iurisilvio closed 2 years ago

iurisilvio commented 2 years ago

It crashes before starting.

  File "/usr/local/lib/python3.9/site-packages/django/__init__.py", line 24, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/usr/local/lib/python3.9/site-packages/django/apps/registry.py", line 91, in populate
    app_config = AppConfig.create(entry)
  File "/usr/local/lib/python3.9/site-packages/django/apps/config.py", line 123, in create
    mod = import_module(mod_path)
  File "/usr/local/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 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/usr/local/lib/python3.9/site-packages/django_fsm_log/apps.py", line 6, in <module>
    from django_fsm.signals import pre_transition, post_transition
  File "/usr/local/lib/python3.9/site-packages/django_fsm/__init__.py", line 11, in <module>
    from django_fsm.signals import pre_transition, post_transition
  File "/usr/local/lib/python3.9/site-packages/django_fsm/signals.py", line 4, in <module>
    pre_transition = Signal(providing_args=['instance', 'name', 'source', 'target'])
TypeError: __init__() got an unexpected keyword argument 'providing_args'
iurisilvio commented 2 years ago

Sorry, it is an issue with outdated django-fsm.