Modify

Opened 5 years ago

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

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 4 years ago by mrfree

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

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from pacopablo. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.