Skip to content

internal server error #2

@ghost

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions