Modify ↓
Opened 12 months ago
#14263 new defect
Unable to load DirectoryAuthPlugin with Python 3
Reported by: | Jun Omae | Owned by: | bebbo |
---|---|---|---|
Priority: | normal | Component: | DirectoryAuthPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 1.6 |
Description
$ pyflakes tracext/dirauth/*.py tracext/dirauth/__init__.py:11:1: 'from api import *' used; unable to detect undefined names tracext/dirauth/__init__.py:11:1: 'api.*' imported but unused tracext/dirauth/__init__.py:12:1: 'from auth import *' used; unable to detect undefined names tracext/dirauth/__init__.py:12:1: 'auth.*' imported but unused tracext/dirauth/auth.py:202:24: multiple exception types must be parenthesized except Exception, e: ^
>>> import tracext.dirauth Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/dev/shm/venv-trac16/lib/python3.9/site-packages/tracext/dirauth/__init__.py", line 11, in <module> from api import * ModuleNotFoundError: No module named 'api'
Attachments (0)
Note: See
TracTickets for help on using
tickets.