Opened 8 years ago

Closed 7 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


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 8 years ago by Laurento Frittella

I solved this issue changing 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 bdist_egg as usual and replace the already installed plugin file

comment:2 Changed 7 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
as closed The owner will remain John Hampton.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.