Modify

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#13606 closed defect (duplicate)

missing modules in 0.5.0

Reported by: ralph.phd@… Owned by: Ryan J Ollos
Priority: normal Component: AccountManagerPlugin
Severity: major Keywords:
Cc: Trac Release: 1.4

Description

I added the plugin to a clean install of Trac v1.4, hosted on a EC2/Amazon Linux 2 machine via

sudo pip install TracAccountManager

After the install, only a subset of modules showed up in the Admin panel and trac.ini file; most notably the web_ui was missing. Manually adding

acct_mgr.web_ui.* = enabled

in the ini file did not help. However, I did confirm that the web_ui python files are present in the unzipped python store. Installing the previous version via

sudo pip install TracAccountManager==0.4.4

removed v0.5 as expected, replaced it with 0.4.4 and resolved the issue; all modules were present again as expected. The behavior is reproducable with any fresh EC2 instance (micro/free-tier), and is the same regardless of using mod_wsgi vs. tracd.

Attachments (0)

Change History (2)

comment:1 Changed 3 years ago by Ryan J Ollos

Resolution: duplicate
Status: newclosed

#13124 will make the plugin compatible with Trac 1.4. TracAccountManager 0.4.4 should have the same issues with the notification system as TracAccountManager 0.5. You will find the following in the logs:

11:03:01 Trac[loader] ERROR: Skipping "acct_mgr.admin = acct_mgr.admin": ImportError: cannot import name NotifyEmail
11:03:01 Trac[loader] ERROR: Skipping "acct_mgr.macros = acct_mgr.macros": ImportError: cannot import name NotifyEmail
11:03:01 Trac[loader] ERROR: Skipping "acct_mgr.notification = acct_mgr.notification": ImportError: cannot import name NotifyEmail
11:03:01 Trac[loader] ERROR: Skipping "acct_mgr.register = acct_mgr.register": ImportError: cannot import name NotifyEmail
11:03:01 Trac[loader] ERROR: Skipping "acct_mgr.web_ui = acct_mgr.web_ui": ImportError: cannot import name NotifyEmail

comment:2 Changed 3 years ago by ralph.phd@…

Confirmed; I did find the errors you described (sorry for the duplicate). FYI, same with v0.4.4 in spite of the modules showing up. I'll subscribe to the other ticket you referenced; let me know if I can help with anything. Thanks!

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.