Opened 9 years ago

Closed 9 years ago

#4390 closed defect (invalid)

Cannot move existing user passwords into the database

Reported by: schkovich Owned by: John Hampton
Priority: normal Component: AccountManagerPlugin
Severity: normal Keywords: SessionStore, HtPasswdStore, import
Cc: schkovich@… Trac Release: 0.11


While using contrib/ following error is raised: python /var/trac/jmp Traceback (most recent call last):

File "", line 5, in ?

from acct_mgr.api import AccountManager

ImportError: No module named acct_mgr.api

Otherwise AccountManagerPlugin using HtPasswdStore is working just fine. :)

Attachments (0)

Change History (1)

comment:1 Changed 9 years ago by schkovich@…

Keywords: SessionStore HtPasswdStore import added
Resolution: invalid
Status: newclosed

Folder in which are AccountManager source files must be in python path e.g. something like export PYTHONPATH=$PYTHONPATH:/root/tracinstall/accountmanagerplugin/0.11 will resolve the problem.

Since relative path from to AccountManager source files should be always the same (expect in case that user moved file to some other location) it might be nice to add it before line 5. Perhaps os.path.dirname( os.path.realpath( file ) ) could do the work but I am not familiar with Python. :(

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain John Hampton.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.