Edgewall Software
Modify

Opened 15 years ago

Closed 15 years ago

#9384 closed defect (cantfix)

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

Reported by: user Owned by:
Priority: high Milestone:
Component: admin/web Version: 0.11.6
Severity: major Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

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'091882babf4cde455259fe91',
 'add': u' Add ',
 'cat_id': u'accounts',
 'email': u'',
 'name': u'',
 'panel_id': u'users',
 'password': u'1234',
 'password_confirm': u'1234',
 'path_info': None,
 'user': u'test1'}

User Agent was: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3

System Information

Trac 0.11.6
Python 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit (Intel)]
setuptools 0.6c11
SQLite 3.6.11
pysqlite 2.5.5
Genshi 0.5.1
mod_python 3.3.1
Subversion 1.6.6 (r40053)
jQuery: 1.2.6

Python Traceback

Traceback (most recent call last):
  File "c:\programme\bitnami trac stack\trac\lib\site-packages\Trac-0.11.6-py2.5.egg\trac\web\main.py", line 450, in _dispatch_request
    dispatcher.dispatch(req)
  File "c:\programme\bitnami trac stack\trac\lib\site-packages\Trac-0.11.6-py2.5.egg\trac\web\main.py", line 206, in dispatch
    resp = chosen_handler.process_request(req)
  File "c:\programme\bitnami trac stack\trac\lib\site-packages\Trac-0.11.6-py2.5.egg\trac\admin\web_ui.py", line 114, in process_request
    path_info)
  File "build\bdist.win32\egg\acct_mgr\admin.py", line 117, in render_admin_panel
    return self._do_users(req)
  File "build\bdist.win32\egg\acct_mgr\admin.py", line 188, in _do_users
    _create_user(req, self.env, check_permissions=False)
  File "build\bdist.win32\egg\acct_mgr\web_ui.py", line 71, in _create_user
    mgr.set_password(user, password)
  File "build\bdist.win32\egg\acct_mgr\api.py", line 143, in set_password
    if store.set_password(user, password):
  File "build\bdist.win32\egg\acct_mgr\htfile.py", line 46, in set_password
    self.userline(user, password))
  File "build\bdist.win32\egg\acct_mgr\htfile.py", line 100, in _update_file
    f = open(filename, 'a')
IOError: [Errno 2] No such file or directory: u''

Attachments (0)

Change History (1)

comment:1 by Remy Blank, 15 years ago

Resolution: cantfix
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'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.