This tool seems to be exactly what I am looking for. When trying to execute the makefile on Pop OS 22.04, I run into the following error.
module 'os' has no attribute 'popen2'
This happens when the tests are run. Here a bit context:
ln -sf ../pdfcompare.py pdfcompare
env PATH=.:$PATH sh ./helptest.sh 1.6.9 VER=1.6.9
version: 1.6.9
The version numbers match!
env PATH=.:$PATH sh ./python3.sh
testpy3
Ran 1 test.
OK
env PATH=.:$PATH refresh= sh ./restest.sh
testpdf
pygame 2.1.2 (SDL 2.0.20, Python 3.10.4)
Hello from the pygame community. https://www.pygame.org/contribute.html
pdftohtml -q -i -nodrm -nomerge -stdout -xml test2.pdf
pdftohtml -xml failed: pdftohtml -q -i -nodrm -nomerge -stdout -xml test2.pdf: module 'os' has no attribute 'popen2'
grep: newpdf.pdf: No such file or directory
ASSERT:Pdftest returned != 0 expected:</Type /Annot
I have searched for this a bit and found this related issue: https://github.com/secdev/scapy/pull/2078 It seems os.popen2() has been dropped from Python. It seems a fix with subprocess.Popen() should be doable but I did not manage this myself.
Dear developer,
This tool seems to be exactly what I am looking for. When trying to execute the makefile on Pop OS 22.04, I run into the following error.
module 'os' has no attribute 'popen2'
This happens when the tests are run. Here a bit context:
I have searched for this a bit and found this related issue: https://github.com/secdev/scapy/pull/2078 It seems os.popen2() has been dropped from Python. It seems a fix with subprocess.Popen() should be doable but I did not manage this myself.
Many thanks for looking into it.