Open adamretter opened 8 years ago
@joewiz Are you sure you are using the correct PR? The PR disables the font-cache (https://github.com/wolfgangmm/tei-simple-pm/pull/23/commits/cfba8c3ac1b1d47a45fb46009a7adab7e0324bec#diff-27b7c450a06c704fad731b8ac920f159R40) However, your stacktrace shows the font-cache is still being used!
How odd! Yes, I actually copied and pasted directly from the raw view of https://github.com/wolfgangmm/tei-simple-pm/pull/23/commits/cfba8c3ac1b1d47a45fb46009a7adab7e0324bec#diff-27b7c450a06c704fad731b8ac920f159R40, and pasted this over the contents of /db/apps/tei-simple/modules/fo.xql
. I just confirmed that I'm using the latest eXist develop branch and tei-simple-pm master branch, with this version of fo.xql
as the only modification:
@joewiz Okay, can you tell me steps to reproduce then please? If I go into the home page of tei-simple-pm and click an article and click PDF, then I get a PDF, can you tell me a specific article or something?
@adamretter Sure, and thanks:
git pull
./build.sh rebuild
./build.sh clean-default-data-dir
git pull
ant clean
and ant
build/tei-simple-1.0.1.xar
/db/apps/tei-simple/modules/fo.xql
. Save the changes to fo.xql
.Open http://localhost:8080/exist/apps/tei-simple/index.html and select PDF > PDF via FO
from the dropdown menu beside "THE TRAGEDIE OF ROMEO and IVLIET":
The resulting request URL is http://localhost:8080/exist/apps/tei-simple/modules/fo.xql?token=7b0c7c57-36c4-4d52-9d22-73d4918a53bf&odd=teisimple.odd&doc=test/romeo_and_juliet.xml
, and the response is the URI scheme is not "file"
error reported above.
I've tested this PR against the latest eXist develop (and thus am using a version that incorporates https://github.com/eXist-db/exist/pull/977), but I am getting the following error when generating a PDF via FO (reproducible with any file in the stock
test
collection), using a build of tei-simple-pm from the latest master branch: