Modify

Opened 15 years ago

Closed 14 years ago

#6162 closed defect (fixed)

ImportError with UserExtensiblePermissionStore

Reported by: anonymous Owned by: John Hampton
Priority: normal Component: DirectoryAuthPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

Loading this plugin always gets and error message in the trac log saying:

 Trac[loader] ERROR: Skipping: "aduth.permissionstore = tracext.adauth.api.UserExtensiblePermissionStore": (can't import "ImportError: No moduled named UserExtensiblePermissionStore")

Attachments (0)

Change History (2)

comment:1 Changed 15 years ago by Laurento Frittella

I solved this issue changing setup.py file like this:

[...]
        entry_points = {
            'trac.plugins': [
                'adauth = tracext.adauth',
                'adauth.permissionstore = tracext.adauth.api',
            ],
        },
[...]

In other words simply replacing tracext.adauth.api.UserExtensiblePermissionStore with tracext.adauth.api

After this change you need to rebuild egg with python setup.py bdist_egg as usual and replace the already installed plugin file

comment:2 Changed 14 years ago by John Hampton

Resolution: fixed
Status: newclosed

(In [9328]) Fixed import of UserExtensiblePermissionStore. Closes #6162

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain John Hampton.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.