Closed computergeek1507 closed 5 years ago
Thanks for the report @computergeek1507 can you provide a copy of your Gitbook export for me to try this on? I'm guessing it's related to the data in your export being different than our tests.
@computergeek1507 Thanks, I'll give this a test. Sorry for the delays in replying, I've been in Germany in a conference so not on my normal timezone.
@computergeek1507 Very interesting, the export seems to be a bit corrupted. The contents of the file
gitbook_xLights\versions\master\layout-and-background-image-definition.json
is this:
{"error":{"code":503,"message":"Service Unavailable. Could not get object","status":"GET_OBJECT"}}
I'll just put in some more error checking for now, but I would recommend re-downloading your exported book.
Thanks, I will try that
@computergeek1507 I also found an issue with CMKY images as well that I put in a check for. You can grab the latest version of the command by running
update --system
I got it to export but the PDF is missing images with this "[ inline-image ]" red line error
this error too
@computergeek1507 Thanks for the additional testing.
this "[ inline-image ]" red line error
This looks to be an unsupported feature in our exporter. Do you have a public URL where we can view the original Gitbook and a page number so I can see what should display there? I'll create a new ticket to track adding that feature.
this error too
I actually think that may be the same CMKY image format I put in a "fix" for. Well, I wrapped the image resize code in a try/catch so images of that type just wouldn't be resized. The look of that error seems that the underlyiing Apache library may have dumped the stack to the console despite the fact I caught the error, so there may not be anything I can do about the output on the screen, but likely there is no issue, it's just an unfortunate case of a chatty Java lib dumping crap to the screen when underlying errors happen. (A library upgrade in my underlying JVM language will need to happen to support that file format) I'm back home today from traveling so I'll look more closely at it. The fact that the job logs on the screen show in green means it looks like everything was successful-- or at least there were no unhandled errors.
Can you capture the full output of the command using the --verbose
flag as that captures more details?
gitbook export --verbose
@computergeek1507 I'm unable to reproduce the image exception, but as I said above, I think it's just a Java lib being chatty in your console.
Here is the ticket for the inline-image. I have it working, but need @scottsteinbeck to help me out a bit with the styles since gitbook has a line break before the first inline image and the exporter isn't doing that.
https://github.com/scottsteinbeck/commandbox-gitbook/issues/34
@computergeek1507 Inline image support has been added now via ticket #34
update --system
Get the following error when I try to export my gitbook project. Using JRE 1.8.0_171