tracd login Error

I am trying to use tracd but i cannot get past the authentication part. I created a digest file based on their wiki description:


PS C:\Users\22193\AppData\Roaming\Python\Scripts> .\tracd.exe --port 8000 auth="Test_Trac,D:\TracEnv\conf\login2.digest,
ITC" D:\TracEnv
Server starting in PID 5948.
Serving on view at
Using HTTP/1.1 protocol version - - [28/Apr/2016 17:37:25] "GET /TracEnv HTTP/1.1" 200 - - - [28/Apr/2016 17:37:25] "GET /TracEnv/chrome/site/your_project_logo.png HTTP/1.1" 404 - - - [28/Apr/2016 17:37:26] "GET /TracEnv/chrome/site/your_project_logo.png HTTP/1.1" 404 - - - [28/Apr/2016 17:37:27] "GET /TracEnv/login HTTP/1.1" 500 - - - [28/Apr/2016 17:37:27] "GET /TracEnv/chrome/site/your_project_logo.png HTTP/1.1" 404 -

When i click on login i still get an authentication error. I used certutil in windows to generate the digest. What should be the first argument in the --auth option. In the documentation it mentions base project directory, but i did not create any separate project directory, i only created an environment (D:\TracEnv). What could be the problem here?

Update: I now get an error:

PS C:\Users\22193\AppData\Roaming\Python\Scripts> .\tracd.exe -s --port 8000 --auth="TracEnv,D:\TracEnv\conf\login2.htdi
gest,ITC" D:\TracEnv
Warning: found no users in realm: ITC
Server starting in PID 3296.
Serving on view at

When i click on login it prompts for username and password but i cannot login with the user name and password i used to create the digest file. i think this is beacuse of no users in realm. How do i add users in realm?

Asked by: Agata657 | Posted: 06-12-2021

Answer 1

The first argument should be TracEnv. Add the -s switch if you wish to access the Trac instance at http://localhost:8000 rather than http://localhost:8000/TracEnv.

It would be helpful if you specified the wiki documentation you are following. I assume you are following TracStandalone.

Answered by: Samantha116 | Posted: 07-01-2022

Answer 2

The solution that worked for me is generating the digest file using instead of using Windows certutil. Even though the contents of both files (one generated by certutil and one by when viewed in notepad++ are the same, tracd doesn't seem to work with the file generated by certutil. Maybe i'm missing something here but i couldn't figure out why this happens.

Answered by: Thomas226 | Posted: 07-01-2022

Similar questions

python - Tracd Realm

I am trying to setup tracd for the project I am currently working on. After creating a password file with the python script given in the site I am trying to start the server with authentication on. But it throws up warning saying No users found in the realm. What actually is a realm - I tried using trac as the value and also tried leaving it empty....

python - What's the best Django search app?

How can I use a DLL file from Python?

What is the easiest way to use a DLL file from within Python? Specifically, how can this be done without writing any additional wrapper C++ code to expose the functionality to Python? Native Python functionality is strongly preferred over using a third-party library.

python - PubSub lib for c#

Is there a c# library which provides similar functionality to the Python PubSub library? I think it's kind of an Observer Pattern which allows me to subscribe for messages of a given topic instead of using events.

python - What is the best way to copy a list?

This question already has answers here:

python - Possible Google Riddle?

My friend was given this free google website optimizer tshirt and came to me to try and figure out what the front logo meant. t-shirt So, I have a couple of guesses as to what it means, but I was just wondering if there is something more. My first guess is that eac...

How do you check whether a python method is bound or not?

Given a reference to a method, is there a way to check whether the method is bound to an object or not? Can you also access the instance that it's bound to?

ssh - How to scp in Python?

What's the most pythonic way to scp a file in Python? The only route I'm aware of is os.system('scp "%s" "%s:%s"' % (localfile, remotehost, remotefile) ) which is a hack, and which doesn't work outside Linux-like systems, and which needs help from the Pexpect module to avoid password prompts unless you already have passwordless SSH set up to the remote host. I'm aware of Twisted'...

python - How do I create a new signal in pygtk

I've created a python object, but I want to send signals on it. I made it inherit from gobject.GObject, but there doesn't seem to be any way to create a new signal on my object.

python - What do I need to import to gain access to my models?

I'd like to run a script to populate my database. I'd like to access it through the Django database API. The only problem is that I don't know what I would need to import to gain access to this. How can this be achieved?

python - How do I edit and delete data in Django?

I am using django 1.0 and I have created my models using the example in the Django book. I am able to perform the basic function of adding data; now I need a way of retrieving that data, loading it into a form (change_form?! or something), EDIT it and save it back to the DB. Secondly how do I DELETE the data that's in the DB? i.e. search, select and then delete! Please show me an example of the code ...

Still can't find your answer? Check out these communities...

PySlackers | Full Stack Python | NHS Python | Pythonist Cafe | Hacker Earth | Discord Python