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

Can't exec gs #3

Open
eserte opened this issue Apr 12, 2019 · 1 comment

Comments

Projects
None yet
2 participants
@eserte
Copy link

commented Apr 12, 2019

On some of my smoker systems the test suite fails like this:

Can't exec "gs": Datei oder Verzeichnis nicht gefunden at /opt/perl-5.26.2t/lib/site_perl/5.26.2/PostScript/Convert.pm line 347.
Ghostscript failed: exit status 72057594037927935 (signal 127) (core dumped) at /opt/perl-5.26.2t/lib/site_perl/5.26.2/PostScript/Convert.pm line 360.
	PostScript::Convert::convert_fh(File::Temp=GLOB(0x3fd9610), HASH(0x2c8afe8)) called at /opt/perl-5.26.2t/lib/site_perl/5.26.2/PostScript/Convert.pm line 226
	PostScript::Convert::convert_ref(SCALAR(0x3efe408), HASH(0x2c8afe8)) called at /opt/perl-5.26.2t/lib/site_perl/5.26.2/PostScript/Convert.pm line 124
	PostScript::Convert::psconvert(SCALAR(0x3efe408), "filename", "/var/tmp/cpansmoker-1023/2019041209/MK8Ekd8CVy/66989008.pdf", "format", "pdf") called at /home/cpansand/.cpan/build/2019041209/Vector-QRCode-IntoPDF-0.03-4/blib/lib/Vector/QRCode/IntoPDF.pm line 64
	Vector::QRCode::IntoPDF::_qr_pdf(Vector::QRCode::IntoPDF=HASH(0x3ef96c8), "text", "\x{9000}\x{5b66}\x{5931}\x{6557}", "size", 6, "unit", "cm") called at /home/cpansand/.cpan/build/2019041209/Vector-QRCode-IntoPDF-0.03-4/blib/lib/Vector/QRCode/IntoPDF.pm line 42
	Vector::QRCode::IntoPDF::imprint(Vector::QRCode::IntoPDF=HASH(0x3ef96c8), "page", 1, "x", 213, "y", 250, "text", ...) called at t/11_simple.t line 18
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 29 just after 1.
t/11_simple.t ... 
Dubious, test returned 29 (wstat 7424, 0x1d00)
All 1 subtests passed 

("Datei oder Verzeichnis nicht gefunden" means "File or directory not found")

@ytnobody

This comment has been minimized.

Copy link
Owner

commented Apr 13, 2019

Vector::QRCode::IntoPDF requires ghostscript (it provides gs command) because ghostscript used from PDF::API2.

I going to implement check logic in next version.

@ytnobody ytnobody self-assigned this Apr 13, 2019

@ytnobody ytnobody added the bug label Apr 13, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.