-
Notifications
You must be signed in to change notification settings - Fork 1
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
Crash in pdfPreviewGenerateNative
API
#64
Comments
I had been debugging this issue in this branch (placed some logs there), just in case somebody needs a reference to where I was: https://github.com/ARK-Builders/arklib/pull/59/files |
@tuancoltech Do you know in what circumstance it crash? I was able to save image with High Quality directly without error |
@gwendalF Have you setup the environment as described in this issue? ARK-Builders/ARK-Navigator#412 |
@tuancoltech I don't have the Java environement ready. The stacktrace you describe say it crash on unwrap. There is 4 unwrap here: PDFIUM
.get()
.unwrap()
.load_pdf_from_reader(data, None)
.unwrap()
.pages()
.get(0)
.unwrap()
.render_with_config(&render_cfg)
.unwrap()
.as_image() Can you describe the parameters you pass to the function? |
@gwendalF Sorry I just missed this comment. |
Complete this first: |
This happens when clicking on
Navigate data
inNavigator
app with some PDF files.Related: ARK-Builders/ARK-Navigator#412
The text was updated successfully, but these errors were encountered: