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

Ghostscript Must be X? #1

Open
wushuyi opened this issue Nov 10, 2014 · 1 comment
Open

Ghostscript Must be X? #1

wushuyi opened this issue Nov 10, 2014 · 1 comment

Comments

@wushuyi
Copy link

wushuyi commented Nov 10, 2014

Create missing storage directory: /home/wushuyi/pdf2img-master/var
GPL Ghostscript 9.14: Cannot open X display (null)'. Ghostscript process did not exit cleanly! Error Code: 1 ECreate missing storage directory: /home/wushuyi/pdf2img-master/var GPL Ghostscript 9.14: Cannot open X display(null)'.
Ghostscript process did not exit cleanly!
Error Code: 1
ECreate missing storage directory: /home/wushuyi/pdf2img-master/var
ECreate missing storage directory: /home/wushuyi/pdf2img-master/var
GPL Ghostscript 9.14: Cannot open X display (null)'. Ghostscript process did not exit cleanly! Error Code: 1 ECreate missing storage directory: /home/wushuyi/pdf2img-master/var GPL Ghostscript 9.14: Cannot open X display(null)'.
Ghostscript process did not exit cleanly!
Error Code: 1

E

ERROR: test_converter (main.TestPdf2img)

Traceback (most recent call last):
File "tests/test_lib.py", line 57, in test_converter
os.path.abspath(PDF_PATH))
File "/usr/lib/python2.7/site-packages/pdf2img-1.0.0-py2.7.egg/pdf2img/init.py", line 65, in convert
pages = self.count_pages(pdf_file)
File "/usr/lib/python2.7/site-packages/pdf2img-1.0.0-py2.7.egg/pdf2img/init.py", line 50, in count_pages
return int(result)
ValueError: invalid literal for int() with base 10: '**** Unable to open the initial device, quitting.\n'

ERROR: test_count_pages (main.TestPdf2img)

Traceback (most recent call last):
File "tests/test_lib.py", line 23, in test_count_pages
os.path.abspath(PDF_PATH))
File "/usr/lib/python2.7/site-packages/pdf2img-1.0.0-py2.7.egg/pdf2img/init.py", line 50, in count_pages
return int(result)
ValueError: invalid literal for int() with base 10: '**** Unable to open the initial device, quitting.\n'

ERROR: test_get_destination_folder (main.TestPdf2img)

Traceback (most recent call last):
File "tests/test_lib.py", line 28, in test_get_destination_folder
exists, result = self.converter.destination_folder(filehandler)
TypeError: destination_folder() takes exactly 1 argument (2 given)

ERROR: test_get_destination_folder_exists (main.TestPdf2img)

Traceback (most recent call last):
File "tests/test_lib.py", line 38, in test_get_destination_folder_exists
os.path.abspath(PDF_PATH))
File "/usr/lib/python2.7/site-packages/pdf2img-1.0.0-py2.7.egg/pdf2img/init.py", line 65, in convert
pages = self.count_pages(pdf_file)
File "/usr/lib/python2.7/site-packages/pdf2img-1.0.0-py2.7.egg/pdf2img/init.py", line 50, in count_pages
return int(result)
ValueError: invalid literal for int() with base 10: '**** Unable to open the initial device, quitting.\n'

ERROR: test_get_resources (main.TestPdf2img)

Traceback (most recent call last):
File "tests/test_lib.py", line 49, in test_get_resources
os.path.abspath(PDF_PATH))
File "/usr/lib/python2.7/site-packages/pdf2img-1.0.0-py2.7.egg/pdf2img/init.py", line 65, in convert
pages = self.count_pages(pdf_file)
File "/usr/lib/python2.7/site-packages/pdf2img-1.0.0-py2.7.egg/pdf2img/init.py", line 50, in count_pages
return int(result)
ValueError: invalid literal for int() with base 10: '**** Unable to open the initial device, quitting.\n'


Ran 5 tests in 0.273s

FAILED (errors=5)

@maethu
Copy link
Owner

maethu commented Mar 4, 2015

@wushuyi Sry for the late answer, but can you post more infos about your system?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants