<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'After converting code to exe using PyInstaller, Unable to access defau' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'After converting code to exe using PyInstaller, Unable to access defau' posted on the 'Python' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2013 Programmers Heaven</copyright>
    <pubDate>Sat, 25 May 2013 11:14:09 -0700</pubDate>
    <lastBuildDate>Sat, 25 May 2013 11:14:09 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>After converting code to exe using PyInstaller, Unable to access defau</title>
      <link>http://www.programmersheaven.com/mb/python/429282/429282/after-converting-code-to-exe-using-pyinstaller-unable-to-access-defau/</link>
      <description>I want to access a default(or any other) pdf viewer (to show a pdf file) from python on ubuntu 11.10.&lt;br /&gt;
On Ubuntu, evince is the default pdf viewer.&lt;br /&gt;
Code :-&lt;br /&gt;
------&lt;br /&gt;
import os&lt;br /&gt;
try:&lt;br /&gt;
    os.system ("evince test_file.pdf")&lt;br /&gt;
except Exception, e:&lt;br /&gt;
    print e&lt;br /&gt;
&lt;br /&gt;
This code works well and gives output. No problem.&lt;br /&gt;
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 ?&lt;br /&gt;
Any Solutions/Comments you have would be appreciated. Thank you...&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/python/429282/429282/after-converting-code-to-exe-using-pyinstaller-unable-to-access-defau/</guid>
      <pubDate>Tue, 21 Aug 2012 00:21:11 -0700</pubDate>
      <category>Python</category>
    </item>
  </channel>
</rss>