Modify ↓
Opened 16 years ago
Closed 15 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 16 years ago by
comment:2 Changed 15 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note: See
TracTickets for help on using
tickets.



I solved this issue changing
setup.pyfile like this:[...] entry_points = { 'trac.plugins': [ 'adauth = tracext.adauth', 'adauth.permissionstore = tracext.adauth.api', ], }, [...]In other words simply replacing
tracext.adauth.api.UserExtensiblePermissionStorewithtracext.adauth.apiAfter this change you need to rebuild egg with
python setup.py bdist_eggas usual and replace the already installed plugin file