Opened 18 years ago
Closed 15 years ago
#5291 closed defect (worksforme)
tracd file/script wiped out completely
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | web frontend/tracd | Version: | 0.10.4 |
Severity: | minor | Keywords: | windows verify |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description (last modified by )
Some background information:
- Running TRAC on Windows based workstation
- Running 'tracd' standalone web based server
- 'tracd.py' file exists in 'C:\Python24\Scripts\'
- trac environment exists in 'C:\Python24\Scripts\trac\occam\'
I normally do the following to get 'tracd' running…
- open up command prompt and cd c:\Python24\Scripts
- run the following command tracd.py —port 8080 —basic-auth *,/Python24/scripts/trac/occam/htpasswd,trac c:/Python24/scripts/trac/occam"
This all works fine… except tonight I ran performed step ONE but the command I run in Step TWO was slightly different…. I included the FULL file path… Here is the command I ran (keeping in mind I was already inside the folder 'C:\Python24\Scripts\'
C:\Python24\Scripts>tracd.py —port 8080 —basic-auth *,/Python24/scripts/trac/occam/htpasswd,trac c:/Python24/scripts/trac/occam"
The subtle difference was that used the full file path which was really superfluous considering I was already in the directory. However the command failed. when i tried to rerun the command CORRECTLY without the unnecessary file path tracd failed to run.
On closer inspection i discovered that the tracd script file was completely empty. There was no text inside it at all and had a file length of 0 bytes. I redownloaded the tracd script file from the subversion repository and then it worked again… this is reproducible on my workstation and I tried this a number of times to confirm this was what was happening.
I don't know if this is a bug or just my lack of understanding on how these scripts work. Either way perhaps it should be documented (if it isn't already) or maybe it is a bug…. in each case I would like to know why this happened to my installation
Attachments (0)
Change History (6)
comment:1 by , 18 years ago
Description: | modified (diff) |
---|
comment:2 by , 17 years ago
Keywords: | windows added |
---|
No, I got this SAME bug. Wow, it was quite difficult to google this error to.
Any clue why this would be happening?
comment:3 by , 17 years ago
ps: this is the file you need to rebuild (link since it took me a minute to find…)
http://trac.edgewall.org/browser/tags/trac-0.10.3/scripts/tracd
comment:4 by , 17 years ago
Keywords: | verify added |
---|---|
Milestone: | → 0.10.5 |
Severity: | major → minor |
comment:5 by , 16 years ago
Milestone: | 0.10.6 → 0.11.6 |
---|
No idea what happened here. I could try to reproduce it… but I'm pretty sure the tracd.py file won't disappear ;-)
comment:6 by , 15 years ago
Milestone: | next-minor-0.12.x |
---|---|
Resolution: | → worksforme |
Status: | new → closed |
Must have been a manipulation error, no one ever reported the same issue.
(reformatting description to get rid of the
[[BR]]
tags.)