Edgewall Software
Modify

Opened 17 years ago

Closed 14 years ago

#5291 closed defect (worksforme)

tracd file/script wiped out completely

Reported by: Aaron Glover <aglover@…> 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 Emmanuel Blot)

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 (0)

Change History (6)

comment:1 by Emmanuel Blot, 17 years ago

Description: modified (diff)

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

comment:2 by jeff@…, 16 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 jeff@…, 16 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 Christian Boos, 16 years ago

Keywords: verify added
Milestone: 0.10.5
Severity: majorminor

comment:5 by Christian Boos, 15 years ago

Milestone: 0.10.60.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 Christian Boos, 14 years ago

Milestone: next-minor-0.12.x
Resolution: worksforme
Status: newclosed

Must have been a manipulation error, no one ever reported the same issue.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.