Opened 7 years ago

Closed 6 years ago

#6162 closed defect (fixed)

ImportError with UserExtensiblePermissionStore

Reported by: anonymous Owned by: pacopablo
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 7 years ago by mrfree

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 6 years ago by pacopablo

  • Resolution set to fixed
  • Status changed from new to closed

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

Add Comment

Modify Ticket

as closed The owner will remain pacopablo.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.