Modify ↓
#323 closed defect (fixed)
Registering user gives OSError
Reported by: | Russ Brown | Owned by: | Matt Good |
---|---|---|---|
Priority: | normal | Component: | AccountManagerPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.9 |
Description
I recently upgraded both trac and the AccountManager plugin and now registering a new user fails with the following:
Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 299, in dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 189, in dispatch resp = chosen_handler.process_request(req) File "build/bdist.linux-i686/egg/acct_mgr/web_ui.py", line 117, in process_request File "build/bdist.linux-i686/egg/acct_mgr/web_ui.py", line 138, in _do_create File "build/bdist.linux-i686/egg/acct_mgr/api.py", line 88, in set_password File "build/bdist.linux-i686/egg/acct_mgr/htfile.py", line 50, in set_password File "build/bdist.linux-i686/egg/acct_mgr/htfile.py", line 77, in _update_file File "/usr/lib/python2.4/fileinput.py", line 231, in next line = self.readline() File "/usr/lib/python2.4/fileinput.py", line 300, in readline os.rename(self._filename, self._backupfilename) OSError: [Errno 16] Device or resource busy
I think it was the update to trac itself that triggered the problem as I tried updating the plugin to fix the problem, to no avail.
The password file is writeable by trac, as is the directory it is contained within.
Attachments (0)
Change History (5)
comment:1 Changed 19 years ago by
comment:2 Changed 19 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Confirmed. Thanks for the speedy fix. :)
comment:3 Changed 19 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Well, you shouldn't close the ticket until the fix has been committed.
comment:4 Changed 19 years ago by
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Note: See
TracTickets for help on using
tickets.
This is a Unicode problem. Following patch fixes it.
trunk/acct_mgr/htfile.py
filename, inplace=True):0.9/acct_mgr/htfile.py
filename, inplace=True):