Modify

Opened 8 years ago

Closed 8 years ago

#13043 closed defect (duplicate)

IOError: [Errno 2] No such file or directory: ''

Reported by: tracAdmin Owned by:
Priority: normal Component: AccountManagerPlugin
Severity: normal Keywords:
Cc: Trac Release:

Description

How to Reproduce

While doing a POST operation on /admin/accounts/users, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'__FORM_TOKEN': u'f9f145d4bfc8711297ba61d9',
 'add': u' Add ',
 'cat_id': u'accounts',
 'email': u'notar@live.com',
 'name': u'',
 'panel_id': u'users',
 'password': u'123',
 'password_confirm': u'123',
 'path_info': None,
 'username': u'isabella'}

User agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36

System Information

Trac 0.12.5
Babel 0.9.4
Genshi 0.6 (without speedups)
mod_python 3.3.1
pysqlite 2.4.1
Python 2.6.6 (r266:84292, Aug 18 2016, 15:13:37)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]
setuptools 0.6
SQLite 3.6.20
Subversion 1.6.11 (r934486)
jQuery 1.4.4

Enabled Plugins

main N/A
RoadmapFilter N/A
TracAccountManager 0.3.2

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 525, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 246, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.6/site-packages/trac/admin/web_ui.py", line 117, in process_request
    path_info)
  File "/var/trac/tt_cms/plugins/TracAccountManager-0.3.2-py2.6.egg/acct_mgr/admin.py", line 137, in render_admin_panel
    return self._do_users(req)
  File "/var/trac/tt_cms/plugins/TracAccountManager-0.3.2-py2.6.egg/acct_mgr/admin.py", line 240, in _do_users
    _create_user(req, env, check_permissions=False)
  File "/var/trac/tt_cms/plugins/TracAccountManager-0.3.2-py2.6.egg/acct_mgr/web_ui.py", line 148, in _create_user
    acctmgr.set_password(username, password)
  File "/var/trac/tt_cms/plugins/TracAccountManager-0.3.2-py2.6.egg/acct_mgr/api.py", line 294, in set_password
    if store.set_password(user, password, old_password):
  File "/var/trac/tt_cms/plugins/TracAccountManager-0.3.2-py2.6.egg/acct_mgr/htfile.py", line 56, in set_password
    self.userline(user, password))
  File "/var/trac/tt_cms/plugins/TracAccountManager-0.3.2-py2.6.egg/acct_mgr/htfile.py", line 159, in _update_file
    f = open(filename, 'w')
IOError: [Errno 2] No such file or directory: ''

Attachments (0)

Change History (1)

comment:1 Changed 8 years ago by Jun Omae

Component: SELECT A HACKAccountManagerPlugin
Resolution: duplicate
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
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.