Skip to content
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

pdf: Image: error: RBPDF error: Image filename is empty. #46

Closed
naitoh opened this issue Jun 24, 2018 · 1 comment
Closed

pdf: Image: error: RBPDF error: Image filename is empty. #46

naitoh opened this issue Jun 24, 2018 · 1 comment
Assignees
Labels
Milestone

Comments

@naitoh
Copy link
Owner

naitoh commented Jun 24, 2018

This problem is https://www.redmine.org/issues/28125#note-2

pdf: Image: error: RBPDF error: Image filename is empty.

Although I could not reproduce it, I corrected the processing which is considered as a cause.
I was closing the temporary file to save the file with RBPDF.
Therefore, there was a possibility that files were deleted when GC occurred.

Fixed to save file contents with fsync().

@naitoh naitoh self-assigned this Jun 24, 2018
@naitoh naitoh added the image label Jun 24, 2018
@naitoh naitoh added this to the 1.19.5 milestone Jun 24, 2018
@naitoh
Copy link
Owner Author

naitoh commented Jun 24, 2018

fixed fa1506f

@naitoh naitoh closed this as completed Jun 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant