Modify ↓
#8578 closed defect (worksforme)
Plugin doesn't load
Reported by: | Owned by: | Ryan J Ollos | |
---|---|---|---|
Priority: | normal | Component: | UserManagerPlugin |
Severity: | normal | Keywords: | dependency |
Cc: | Trac Release: | 0.11 |
Description
When I enable this plugin I see links in admin interace, but when I try to enter them ti seams that resources are missing (templates)
I enabled logging and saw:
2011-03-07 20:13:15,269 Trac[loader] ERROR: Skipping "tracusermanager.account = tracusermanager.account": Traceback (most recent call last): File "c:\users\lukasz~1.gry\appdata\local\temp\easy_install-lnkdu3\Trac-0.12.2-py2.5-win32.egg.tmp\trac\loader.py", line 68, in _load_eggs entry.load(require=True) File "C:\Python25\lib\site-packages\pkg_resources.py", line 1954, in load entry = __import__(self.module_name, globals(),globals(), ['__name__']) File "build\bdist.win32\egg\tracusermanager\account\__init__.py", line 1, in <module> File "build\bdist.win32\egg\tracusermanager\account\admin_um.py", line 14, in <module> ImportError: No module named acct_mgr.api
Attachments (0)
Change History (4)
comment:1 Changed 13 years ago by
Keywords: | dependency added |
---|---|
Owner: | changed from Catalin BALAN to Steffen Hoffmann |
Trac Release: | 0.12 → 0.11 |
comment:2 Changed 11 years ago by
Owner: | changed from Steffen Hoffmann to Ryan J Ollos |
---|---|
Status: | new → assigned |
comment:3 Changed 8 years ago by
Resolution: | → worksforme |
---|---|
Status: | assigned → closed |
Works fine in recent version.
Note: See
TracTickets for help on using
tickets.
Neither does
setup.py
state any dependencies, even not Genshi and Trac, nor is an import from AccountManagerPlugin source handled gracefully.So you certainly have a point here. Not sure, how to resolve this best, but IMHO degrading without exception would be preferable over no function at all anyway.
In the end the very tight wraps around AccountManagerPlugin especially in tracusermanager.account.admin_um would be best resolved by tight integration into AccountManagerPlugin.
Even a stepwise approach could be appropriate, with an intermediate solution to allow at least for successful load independently of AccountManagerPlugin presence. But let me think about it a bit more, please.