Modify ↓
#3786 closed defect (fixed)
tracd standalone doesn't support auth files beginning with .
Reported by: | Owned by: | Matthew Good | |
---|---|---|---|
Priority: | normal | Milestone: | 0.10 |
Component: | web frontend/tracd | Version: | 0.9.6 |
Severity: | normal | Keywords: | needinfo |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Tracd standalone server won't startup if auth file begins with a '.'
Attachments (0)
Change History (4)
comment:1 by , 18 years ago
Keywords: | needinfo added |
---|
comment:2 by , 18 years ago
Component: | general → tracd |
---|
Turns out I was wrong… The problem seems to be with trailing newlines in the htdigest file. Appending an additional newline to the end of htdigest produces the following on 0.9.6:
Traceback (most recent call last): File "/usr/local/bin/tracd", line 102, in ? main() File "/usr/local/bin/tracd", line 66, in main add_auth(auths, a, DigestAuth) File "/usr/local/bin/tracd", line 47, in add_auth auths[p] = cls(h, r) File "/usr/local/lib/python2.4/site-packages/trac/web/standalone.py", line 117, in __init__ self.load_htdigest(htdigest, realm) File "/usr/local/lib/python2.4/site-packages/trac/web/standalone.py", line 126, in load_htdigest u, r, a1 = line.strip().split(':') ValueError: need more than 1 value to unpack
comment:3 by , 18 years ago
Milestone: | → 0.10 |
---|---|
Owner: | changed from | to
Status: | new → assigned |
Note:
See TracTickets
for help on using tickets.
Please provide the command line you're executing to start tracd and the error you're seeing. Testing on 0.10 it works fine. This may not be related to the filename, so please provide whatever information you can to debug this.