Opened 6 years ago

Closed 6 years ago

#4390 closed defect (invalid)

Cannot move existing user passwords into the database

Reported by: schkovich Owned by: pacopablo
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 6 years ago by schkovich@…

  • Keywords SessionStore HtPasswdStore import added
  • Resolution set to invalid
  • Status changed from new to closed

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. :(

Add Comment

Modify Ticket

as closed The owner will remain pacopablo.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.