After converting code to exe using PyInstaller, Unable to access defau - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

After converting code to exe using PyInstaller, Unable to access defau

Kalirajan88Kalirajan88 Posts: 2Member
I want to access a default(or any other) pdf viewer (to show a pdf file) from python on ubuntu 11.10.
On Ubuntu, evince is the default pdf viewer.
Code :-
------
import os
try:
os.system ("evince test_file.pdf")
except Exception, e:
print e

This code works well and gives output. No problem.
But, After converting this code to exe using PyInstaller On ubuntu, only the same code does not works. It gives the following error msg. "evince: error while loading shared libraries: libz.so.1: failed to map segment from shared object: Permission denied". How to resolve this problem ?
Any Solutions/Comments you have would be appreciated. Thank you...

Sign In or Register to comment.