Edgewall Software

Ticket #5291 (new defect)

Opened 20 months ago

Last modified 14 months ago

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...

  1. open up command prompt and cd c:\Python24\Scripts
  2. 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

Change History

Changed 20 months ago by eblot

  • description modified (diff)

(reformatting description to get rid of the [[BR]] tags.)

Changed 14 months ago by jeff@…

  • 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?

Changed 14 months ago by jeff@…

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

Changed 14 months ago by cboos

  • keywords verify added
  • severity changed from major to minor
  • milestone set to 0.10.5

Add/Change #5291 (tracd file/script wiped out completely)

Author



Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will change from jonas. Next status will be 'new'
The owner will change from jonas to anonymous. Next status will be 'assigned'
 
Note: See TracTickets for help on using tickets.