Ticket #5291 (new defect)
tracd file/script wiped out completely
| Reported by: | Aaron Glover <aglover@…> | Owned by: | jonas |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.10.6 |
| Component: | web frontend/tracd | Version: | 0.10.4 |
| Severity: | minor | Keywords: | windows verify |
| Cc: |
Description (last modified by eblot) (diff)
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


