I downloaded klaus from pip for python 3. Ran it simply with klaus git-test.git --host [redacted]. I can access the web view for the repository. When clicking on a file or a commit, I get a 404 http error. If the URL is inspected it's clear that the file name / commit id are being printed as byte objects. Here are a couple of sample URLs I got.
If the extra characters are removed the page renders correctly. Unless I did something wrong, it looks like a difference between python 2 and python 3 to me. If that is the case, it should not be hard to fix using bytes.decode() or manually removing the extra characters, provided you are trying to support python 3 as well.
I downloaded klaus from pip for python 3. Ran it simply with
klaus git-test.git --host [redacted]
. I can access the web view for the repository. When clicking on a file or a commit, I get a 404 http error. If the URL is inspected it's clear that the file name / commit id are being printed as byte objects. Here are a couple of sample URLs I got.If the extra characters are removed the page renders correctly. Unless I did something wrong, it looks like a difference between python 2 and python 3 to me. If that is the case, it should not be hard to fix using bytes.decode() or manually removing the extra characters, provided you are trying to support python 3 as well.