-
Notifications
You must be signed in to change notification settings - Fork 1
Description
@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'