-
Notifications
You must be signed in to change notification settings - Fork 0
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
Generating e-Pub fails on remote server #19
Comments
I have configured very large request size limits, I think 2 GB. But I never tested large requests. How large is your request?
I send you credentials. You find freme-dev log files in /opt/freme/logs
$ java -version It is the same on freme-dev and freme-live. Does this answer your question? |
Yes, thanks. The file is only about 2 MB, so that won't be the problem. |
In the broker.log you can find
Unfortunately this is not new information to @pheyvaer |
@jnehring As discussed at the F2F, you were going to check this, right? |
Thanks for the reminder. I will take a look at the issue. |
I tried to reproduce the bug. I used your CURL request and your files.zip. I cannot see any error messages in the logfile on freme-dev. Also I can open the ebook with Readium. The file OEPBS/content.opf looks like a valid XML file to me. I renamed content.opf to content.txt and attached it to this issue. @pheyvaer can you please check if the file is ok? |
It just happened again ... |
But now it also happens locally. |
I could not reproduce it on my windows 8 machine. |
It might be caused by a specific html file on our side. We are looking into it. |
UPDATE: so it works with the example at the beginning of this issue. However, with our current example (the Semantic Book) it doesn't. And there is not error or what so ever, the
|
OK, so it fails if one of the submitted files is not valid. |
Maybe we can add some validation and return an error message instead of invalid ebook? |
When sending the file files.zip to the e-Publishing service, the resulting epub file is not complete. In the epub, only a part of the file
OEPBS/content.opf
is written.on the FREME server, it works on version 0.4 of the Broker, but not on the dev. version.
When running on a local machine there is no problem using the dev version; we cannot reproduce it.
The command is
The epub file is just a zip file, so it is easy to see what's in it.
So the first questions ( @jnehring ) are:
The text was updated successfully, but these errors were encountered: