On Wed, Dec 13, 2023 at 2:10 PM RjOllos <[email protected]> wrote:
> There's no message indicating DirectoryAuthPlugin is loading. It seems like
> it may not be installed. That said, I'm not sure it's compatible with Trac
> 1.6.
>
> https://trac-hacks.org/wiki/DirectoryAuthPlugin
The plugin is unable to be loaded with Python 3 due to
incompatibilities with Python 3.
$ 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:
^
$ /dev/shm/venv-trac16/bin/python
>>> 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'
I've filed the issue at https://trac-hacks.org/ticket/14263.
--
Jun Omae <[email protected]> (大前 潤)
--
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/trac-users/CAEVLMaiORzj-toPEKCX08BF4jjCmxnx-c4gHSWLnGcTPYkY2jw%40mail.gmail.com.