-
Notifications
You must be signed in to change notification settings - Fork 1
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
internal server error #2
Comments
I tried to debug this and the issue are deeper than a pathing problem. You can fix the pathing problem by changing run.py line 26 to:
I tried this on dev, but the XSLT transformation is timing out. Resulting in:
The offending line seems to be line 27, when etree parses the file. This only seems to be a problem on the server, so it might be a python26/27 issue. Either way, I'm not sure how much time I'll be able to devote to this over the next couple of weeks. The semi-good news is that everything works locally. Do the people who need to use this application use macs? |
yeah, i think they all use macs. bringing @joeafletch into this one |
@joeafletch, see if the instructions I've provided in the readme work for you |
We all use Macs up in Rochester FYI. |
@queryluke I got "error: can't create or remove files in install directory" when I tried to follow the readme instructions. But I'm a novice when it comes to using terminal so there may be something I need to do that @ba001 can help me with. |
added 'sudo' to the instructions. should be good to go |
@queryluke i updated the xsl and css for the transcription viewer, but i'm getting an internal server error when i try out some xml. the server can't seem to read xsl/transcription.xsl.
from the log:
wren@blake /logs/dtp> tail -f errors
[Wed Feb 01 12:01:30 2017] [error] [client 152.2.86.24] reraise(exc_type, exc_value, tb)
[Wed Feb 01 12:01:30 2017] [error] [client 152.2.86.24] File "/usr/lib/python2.6/site-packages/flask/app.py", line 1475, in full_dispatch_request
[Wed Feb 01 12:01:30 2017] [error] [client 152.2.86.24] rv = self.dispatch_request()
[Wed Feb 01 12:01:30 2017] [error] [client 152.2.86.24] File "/usr/lib/python2.6/site-packages/flask/app.py", line 1461, in dispatch_request
[Wed Feb 01 12:01:30 2017] [error] [client 152.2.86.24] return self.view_functionsrule.endpoint
[Wed Feb 01 12:01:30 2017] [error] [client 152.2.86.24] File "/htdocs/dtp/run.py", line 19, in index
[Wed Feb 01 12:01:30 2017] [error] [client 152.2.86.24] xml = transform(xmlInput)
[Wed Feb 01 12:01:30 2017] [error] [client 152.2.86.24] File "/htdocs/dtp/run.py", line 26, in transform
[Wed Feb 01 12:01:30 2017] [error] [client 152.2.86.24] xslt_xml = etree.parse(open("xsl/transcription.xsl"))
[Wed Feb 01 12:01:30 2017] [error] [client 152.2.86.24] IOError: [Errno 2] No such file or directory: 'xsl/transcription.xsl'
The text was updated successfully, but these errors were encountered: