Modify ↓
#7843 closed defect (fixed)
File not found '/conf/username_list.txt'
Reported by: | anonymous | Owned by: | Richard Liao |
---|---|---|---|
Priority: | normal | Component: | TracAutoCompletePlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.12 |
Description
I compiled the egg and placed it in my environment/plugins directory, restarted apache, and when start typing in the CC field, I get the following log message:
Traceback (most recent call last): File "build/bdist.linux-i686/egg/trac/web/main.py", line 513, in _dispatch_request File "build/bdist.linux-i686/egg/trac/web/main.py", line 235, in dispatch File "build/bdist.linux-i686/egg/autocomplete/web_ui.py", line 58, in process_request File "build/bdist.linux-i686/egg/autocomplete/web_ui.py", line 97, in _handle_query_user File "build/bdist.linux-i686/egg/autocomplete/web_ui.py", line 111, in _query_user File "build/bdist.linux-i686/egg/autocomplete/web_ui.py", line 125, in _update_user_cache File "build/bdist.linux-i686/egg/autocomplete/web_ui.py", line 160, in _email_complete IOError: [Errno 2] No such file or directory: '/conf/username_list.txt'
Do you know why it's not seeing the conf directory?
Attachments (0)
Change History (3)
comment:1 Changed 14 years ago by
Status: | new → assigned |
---|
comment:2 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Thankyou, that worked!
Note: See
TracTickets for help on using
tickets.
There should be a username_list.txt in /path/to/trac/conf/. I'm not sure why it try to get file from root directory.
As here: source:/tracautocompleteplugin/0.11/autocomplete/web_ui.py#L160 ,Try replace with following: