Comments (6)
After fiddling a bit with the libpng debugging output, the error message is "libpng error: no rows for png_write_image to write", which appears to be produced in the corresponding call in image_write.
from pdf-tools.
Same problem here with same setup om Arch linux. When I do "make all check" from the source I downloaded yesterday, I also get some error mesages, cf.:
Making all in src
make[1]: Entering directory '/home/ask/Downloads/pdf-tools-master/src'
make all-am
make[2]: Entering directory '/home/ask/Downloads/pdf-tools-master/src'
make[2]: Leaving directory '/home/ask/Downloads/pdf-tools-master/src'
make[1]: Leaving directory '/home/ask/Downloads/pdf-tools-master/src'
Making all in tests
make[1]: Entering directory '/home/ask/Downloads/pdf-tools-master/tests'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/ask/Downloads/pdf-tools-master/tests'
make[1]: Entering directory '/home/ask/Downloads/pdf-tools-master'
make[1]: Nothing to be done for 'all-am'.
make[1]: Leaving directory '/home/ask/Downloads/pdf-tools-master'
Making check in src
make[1]: Entering directory '/home/ask/Downloads/pdf-tools-master/src'
make[1]: Leaving directory '/home/ask/Downloads/pdf-tools-master/src'
Making check in tests
make[1]: Entering directory '/home/ask/Downloads/pdf-tools-master/tests'
make check-TESTS
make[2]: Entering directory '/home/ask/Downloads/pdf-tools-master/tests'
make[3]: Entering directory '/home/ask/Downloads/pdf-tools-master/tests'
Parsing tar file...
Parsing tar file...done
Symbol's value as variable is void:ELF
Makefile:611: recipe for target 'install-basic.el.log' failed
make[3]: *** [install-basic.el.log] Error 255
make[3]: Leaving directory '/home/ask/Downloads/pdf-tools-master/tests'
Makefile:590: recipe for target 'check-TESTS' failed
make[2]: *** [check-TESTS] Error 2
make[2]: Leaving directory '/home/ask/Downloads/pdf-tools-master/tests'
Makefile:663: recipe for target 'check-am' failed
make[1]: *** [check-am] Error 2
make[1]: Leaving directory '/home/ask/Downloads/pdf-tools-master/tests'
Makefile:371: recipe for target 'check-recursive' failed
make: *** [check-recursive] Error 1
from pdf-tools.
Ok, I added the with-file-modes macro.
As for the not-rendering problem, please try
echo renderpage:/absoulte/path/to/some.pdf:1:100 | ./epdfinfo /dev/stdout
in the pdf-tools elpa directory and see how that works.
As for the ELF error message: This is most likely due to an
unconfigured library path. ldconfig can help in this case.
from pdf-tools.
entering the command in the mentioned directory results in the following error message:
libpng error: no rows for png_write_image to write
Error writing png data
ERR
Unable to write image
from pdf-tools.
Looking at the libpng API, it seems as if the code is mixing the high- and low-level interfaces. png_write_png is supposed to write all info and rows in one go, while here this is done explicitly in the for-loop using png_write_row. If I remove the png_write_png call, I can load PDFs in Emacs.
from pdf-tools.
the code is mixing the high- and low-level interfaces.
Thanks. Yes, that shouldn't be there.
from pdf-tools.
Related Issues (20)
- How can one make a selection persist HOT 2
- Open annotation text box automatically HOT 1
- (invalid-function pdf-view-current-page) HOT 1
- AUCTeX and pdf-tools: split windows configuration HOT 5
- Use Nix instead of Homebrew when nix-env is available
- Gentoo dev-util/pkgconfig no longer in repos HOT 1
- Feature request: reorder/remove pages HOT 4
- Wayland HOT 2
- Zero or negative size array HOT 1
- Error while building the epdfinfo program HOT 2
- I get this ```pdf-info-query: epdfinfo: Unable to create synctex scanner, did you run latex with `--synctex=1'``` when I double-click on a word to select it. Is it related to this? Should I switch branches on `pdf-tools` to the PR https://github.com/politza/pdf-tools/pull/527? HOT 1
- Image command Fit to window height (s h) doesn't work in PDFView mode
- Customize buttons are displayed with unraised face when emacs client launched via daemon/server
- Printing with filename that contains a space HOT 3
- italics not displayed HOT 15
- pdf-tools-20220426.2203's epdfinfo doesn't build anymore on Arch Linux (requires c++17, not c++11) HOT 6
- Adding images to pdfs HOT 2
- Cannot install on Manjaro poppler-private header HOT 3
- error when installing pdf-tools HOT 3
- FR: Double clicking on a word to highlight it HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pdf-tools.