New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Diff between revision numbers displaying what looks like a linux binary #223
Comments
That's certainly unexpected behavior! Is that binary spew that you're seeing the entire output from ViewVC -- as in, it fills the whole browser window? Or does it appear embedded in an otherwise ViewVC-branded page? |
It's the entire page, all that's returned is a page that starts with that screenshot. |
A clue -- at the bottom of the page, however, is some python traceback:
|
Is there some way to put viewvc in debug mode so I can see what it's actually doing? I can't find any log file other than the apache log file that just has the URL. |
Unfortunately, there's not much to offer as far as debugging goes. The Is there any way you could try using the CGI mode of ViewVC to see if that helps? I haven't used the FastCGI method myself in many years, and I'm struggling a bit to get it working at all right now on my machine. |
I tried it with fcgi previously, wsgi, and cgi just now. wsgi failed the same way fcgi failed with the python traceback at the end. Cgi is doing the same thing, but there is no traceback at the end. This was the wsgi config:
This is the CGI config:
No customization, this is a virgin EPEL repository install, with modifications to the viewvc.conf file to point to our data. Is there any way I can get logs to see whats happening? |
I think this is the cause. |
@futatuki That did it, you're the best! Working as normal now. Thanks! |
@futatuki Well done! |
Describe the bug
When selecting diff to the previous revision, the page that comes up looks like the binary dump of an executable.
Steps to reproduce the behavior
Expected behavior
Before we migrated to AWS Linux, it came up with an actual diff.
Additional context
Default AWS Linux install from epel:
I went through the INSTALL file from viewvc-1.2.1, and the package seems to have done everything properly.
Here is my viewvc.conf file:
There are no errors in the apache log file:
I don't speak Python, but it looks to me like instead of launching a diff, it's actually including the contents of the diff binary?
Please help me out.
This is the apache config file that the epel package installed:
The text was updated successfully, but these errors were encountered: