shacker / django-todo

A multi-user, multi-group todo/ticketing system for Django projects. Includes CSV import and integrated mail tracking.
http://django-todo.org
BSD 3-Clause "New" or "Revised" License
822 stars 285 forks source link

python3 manage.py migrate todo: multiple exception types must be parenthesized #138

Closed nhondong closed 2 years ago

nhondong commented 2 years ago

Environment: Ubuntu 22.04 with python 3.10 After adding todo and executing: python3 manage.py migrate todo i get:

File "/home/nhondong/.local/lib/python3.10/site-packages/todo/init.py", line 67 except subprocess.CalledProcessError, e: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: multiple exception types must be parenthesized

shacker commented 2 years ago

@nhondong Thank you, I'll take care of this shortly.

shacker commented 2 years ago

@nhondong Something doesn't make sense here. Your report mentions /site-packages/todo/init.py", line 67 but here is that module. As you can see, it only goes to like 19. And there is no reference to subprocess in the whole codebase.

I can only conclude that you are working with someone else's repackaged and modified version of todo. Sorry, I can't help with this!