﻿id	summary	reporter	owner	description	type	status	priority	component	severity	resolution	keywords	cc	release
10643	[Errno 2] No such file or directory: '' when attempting to add a new account.	adrya.stembridge@…	hasienda	"I recently installed AccountManager in my local copy of Trac.  When attempting to add a new account, the following error appears: 


{{{
[Errno 2] No such file or directory: '' when attempting to add a new account.
}}}

I double checked my trac.ini file to ensure there were no blank paths in the component or account-manager sections. 

Here's my installation info: 

{{{
Trac 	0.12
Babel 	0.9.5
Genshi 	0.6
mod_python 	3.2.8
pysqlite 	2.6.3
Python 	2.4.3 (#1, May 1 2012, 13:55:48) [GCC 4.1.2 20080704 (Red Hat 4.1.2-52)]
setuptools 	0.6
SQLite 	3.3.6
Subversion 	1.6.11 (r934486)
jQuery	1.4.2
Enabled Plugins:
CKIntegration 	1.1dev 	/usr/lib/python2.4/site-packages/CKIntegration-1.1dev-py2.4.egg
TracAccountManager 	0.3.2 	/usr/lib/python2.4/site-packages/TracAccountManager-0.3.2-py2.4.egg
TracPermRedirect 	2.0 	/usr/lib/python2.4/site-packages/TracPermRedirect-2.0-py2.4.egg
}}}


And the error traceback: 


{{{
File ""/usr/lib/python2.4/site-packages/Trac-0.12-py2.4.egg/trac/web/main.py"", line 513, in _dispatch_request
  dispatcher.dispatch(req)
File ""/usr/lib/python2.4/site-packages/Trac-0.12-py2.4.egg/trac/web/main.py"", line 235, in dispatch
  resp = chosen_handler.process_request(req)
File ""/usr/lib/python2.4/site-packages/Trac-0.12-py2.4.egg/trac/admin/web_ui.py"", line 116, in process_request
  path_info)
File ""/usr/lib/python2.4/site-packages/TracAccountManager-0.3.2-py2.4.egg/acct_mgr/admin.py"", line 137, in render_admin_panel
  return self._do_users(req)
File ""/usr/lib/python2.4/site-packages/TracAccountManager-0.3.2-py2.4.egg/acct_mgr/admin.py"", line 240, in _do_users
  _create_user(req, env, check_permissions=False)
File ""/usr/lib/python2.4/site-packages/TracAccountManager-0.3.2-py2.4.egg/acct_mgr/web_ui.py"", line 148, in _create_user
  acctmgr.set_password(username, password)
File ""/usr/lib/python2.4/site-packages/TracAccountManager-0.3.2-py2.4.egg/acct_mgr/api.py"", line 294, in set_password
  if store.set_password(user, password, old_password):
File ""/usr/lib/python2.4/site-packages/TracAccountManager-0.3.2-py2.4.egg/acct_mgr/htfile.py"", line 56, in set_password
  self.userline(user, password))
File ""/usr/lib/python2.4/site-packages/TracAccountManager-0.3.2-py2.4.egg/acct_mgr/htfile.py"", line 159, in _update_file
  f = open(filename, 'w')
}}}

Help appreciated."	defect	closed	low	AccountManagerPlugin	normal	worksforme	needinfo file AccountModule		0.12
