Edgewall Software

Changes between Initial Version and Version 1 of Ticket #5291


Ignore:
Timestamp:
May 9, 2007, 6:59:16 PM (17 years ago)
Author:
Emmanuel Blot
Comment:

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

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5291 – Description

    initial v1  
    1 Some background information:[[BR]]
    2 [[BR]]
    3 *Running TRAC on Windows based workstation[[BR]]
    4 *Running 'tracd' standalone web based server[[BR]]
    5 *'tracd.py' file exists in 'C:\Python24\Scripts\'[[BR]]
    6 *trac environment exists in 'C:\Python24\Scripts\trac\occam\'[[BR]]
    7 [[BR]]
    8 [[BR]]
    9 I normally do the following to get 'tracd' running...[[BR]]
    10 [[BR]]
    11 1. open up command prompt and '''cd c:\Python24\Scripts'''[[BR]]
    12 2. run the following command '''tracd.py --port 8080 --basic-auth *,/Python24/scripts/trac/occam/htpasswd,trac c:/Python24/scripts/trac/occam"'''[[BR]]
     1Some background information:
    132
    14 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\'[[BR]]
    15 [[BR]]
     3 * Running TRAC on Windows based workstation
     4 * Running 'tracd' standalone web based server
     5 * 'tracd.py' file exists in 'C:\Python24\Scripts\'
     6 * trac environment exists in 'C:\Python24\Scripts\trac\occam\'
     7
     8I normally do the following to get 'tracd' running...
     9 1. open up command prompt and '''cd c:\Python24\Scripts'''
     10 1. run the following command '''tracd.py --port 8080 --basic-auth *,/Python24/scripts/trac/occam/htpasswd,trac c:/Python24/scripts/trac/occam"'''
     11
     12This 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\'
     13
    1614'''C:\Python24\Scripts>tracd.py --port 8080 --basic-auth *,/Python24/scripts/trac/occam/htpasswd,trac c:/Python24/scripts/trac/occam"
    17 '''[[BR]]
    18 [[BR]]
    19 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.[[BR]]
    20 [[BR]]
    21 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.[[BR]]
    22 [[BR]]
     15'''
     16
     17The 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.
     18
     19On 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.
     20
    2321I 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
    2422