Opened 6 years ago

Last modified 3 years ago

#8578 assigned defect

Plugin doesn't load

Reported by: dr4cul4@… Owned by: Ryan J Ollos
Priority: normal Component: UserManagerPlugin
Severity: normal Keywords: dependency
Cc: Trac Release: 0.11


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\", line 68, in _load_eggs
  File "C:\Python25\lib\site-packages\", line 1954, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "build\bdist.win32\egg\tracusermanager\account\", line 1, in <module>
  File "build\bdist.win32\egg\tracusermanager\account\", line 14, in <module>
ImportError: No module named acct_mgr.api

Attachments (0)

Change History (2)

comment:1 Changed 5 years ago by Steffen Hoffmann

Keywords: dependency added
Owner: changed from Catalin BALAN to Steffen Hoffmann
Trac Release: 0.120.11

Neither does 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.

comment:2 Changed 3 years ago by Ryan J Ollos

Owner: changed from Steffen Hoffmann to Ryan J Ollos
Status: newassigned

Modify Ticket

as assigned The owner will remain Ryan J Ollos.

Add Comment

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

Note: See TracTickets for help on using tickets.