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)

Change History (0)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain bebbo.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.