Opened 13 years ago
Last modified 12 years ago
#8487 closed defect
AcctMgr creates blank lines in password_file under Windows — at Version 3
Reported by: | Jeremy Dunn | Owned by: | Steffen Hoffmann |
---|---|---|---|
Priority: | high | Component: | AccountManagerPlugin |
Severity: | major | Keywords: | EOL style Windows |
Cc: | Trac Release: | 0.12 |
Description (last modified by )
Every time the AcctMgr plugin accesses the configured Password_file, it adds an extra blank line after each line in the file. First save, file doubles in size, then triples, etc. I have only 73 users, but the file was 125MB. Eventually trac runs out of memory when trying to do any operation.
AcctMgr plugin 0.3dev r9591 Trac v0.12. Python v2.5. Windows 2008 R2
Trac.ini: [account-manager] account_changes_notify_addresses = <removed> force_passwd_change = true htdigest_realm = trac notify_actions = new password_file = c:\TracRoot\tracusers.txt password_store = HtDigestStore user_lock_max_time = 0
I had every feature enabled except registration. For the moment I've disabled everything, which is why the lines are commented-out:
[components] #acct_mgr.admin.* = enabled #acct_mgr.admin.accountmanageradminpage = enabled #acct_mgr.api.* = enabled #acct_mgr.api.accountmanager = enabled #acct_mgr.db.* = enabled #acct_mgr.db.sessionstore = disabled #acct_mgr.guard.accountguard = enabled #acct_mgr.htfile.* = enabled #acct_mgr.http.* = enabled #acct_mgr.notification.* = enabled #acct_mgr.pwhash.* = enabled #acct_mgr.svnserve.* = enabled #acct_mgr.web_ui.* = enabled #acct_mgr.web_ui.accountmodule = enabled #acct_mgr.web_ui.loginmodule = enabled #acct_mgr.web_ui.registrationmodule = disabled
Change History (2)
comment:1 Changed 13 years ago by
comment:3 Changed 13 years ago by
Description: | modified (diff) |
---|
Note: See
TracTickets for help on using
tickets.
this might be related to [9272] since it mentions EOL values. I suspect the issue is something different between *nix and Windows. I'm a programmer but not a Python programmer so I'm sorry I cannot contribute a solution.