Modify ↓
Opened 18 years ago
Closed 18 years ago
#454 closed defect (duplicate)
plugin does not work on MS Winzoz XP
Reported by: | Owned by: | Matt Good | |
---|---|---|---|
Priority: | normal | Component: | AccountManagerPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.9 |
Description
I have installed and configured AccountManagerPlugin on my TRAC v0.95 server, but when I try to change my password from "MyAccount" section, I receive the following error message
Oops... Trac detected an internal error: [Errno 2] No such file or directory: '/dev/urandom'
Python traceback
Traceback (most recent call last): File "E:\Python23\Lib\site-packages\trac\web\modpython_frontend.py", line 206, in handler File "E:\Python23\Lib\site-packages\trac\web\main.py", line 139, in dispatch_request File "E:\Python23\Lib\site-packages\trac\web\main.py", line 107, in dispatch File "C:\Python23\lib\site-packages\tracaccountmanager-0.1.2.egg\acct_mgr\web_ui.py", line 51, in process_request File "C:\Python23\lib\site-packages\tracaccountmanager-0.1.2.egg\acct_mgr\web_ui.py", line 67, in _do_change_password File "C:\Python23\lib\site-packages\tracaccountmanager-0.1.2.egg\acct_mgr\api.py", line 88, in set_password File "C:\Python23\lib\site-packages\tracaccountmanager-0.1.2.egg\acct_mgr\htfile.py", line 50, in set_password File "C:\Python23\lib\site-packages\tracaccountmanager-0.1.2.egg\acct_mgr\htfile.py", line 122, in userline File "C:\Python23\lib\site-packages\tracaccountmanager-0.1.2.egg\acct_mgr\htfile.py", line 95, in salt File "C:\Python23\lib\site-packages\tracaccountmanager-0.1.2.egg\acct_mgr\htfile.py", line 30, in urandom IOError: [Errno 2] No such file or directory: '/dev/urandom'
It seems to be the use of '/dev/urandom' that does not exist on Windows sistems...
Is it a known problem? Thanks Mario
Attachments (0)
Note: See
TracTickets for help on using
tickets.
Htpasswd is currently unsupported on Windows due to the lack of a secure random number generator in Python 2.3. See #63
For now I'd recommend using htdigest instead.