<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: error importing cgi module in Python on HP-XU in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/error-importing-cgi-module-in-python-on-hp-xu/m-p/4731047#M655592</link>
    <description>&amp;gt;/opt/iexpress/python/lib/python2.7/lib-dynload/binascii.sl: cannot open&lt;BR /&gt;&amp;gt;I did search and the file is present.&lt;BR /&gt;&lt;BR /&gt;These seem contradictory.  You need to check the permissions of each directory path and the file itself to make sure they all have at least r-xr-xr-x:&lt;BR /&gt;ll -d /opt /opt/iexpress /opt/iexpress/python /opt/iexpress/python/lib /opt/iexpress/python/lib/python2.7 /opt/iexpress/python/lib/python2.7/lib-dynload /opt/iexpress/python/lib/python2.7/lib-dynload/binascii.sl</description>
    <pubDate>Wed, 29 Dec 2010 19:32:26 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2010-12-29T19:32:26Z</dc:date>
    <item>
      <title>error importing cgi module in Python on HP-XU</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-importing-cgi-module-in-python-on-hp-xu/m-p/4731042#M655587</link>
      <description>I installed the current Python package on a HP-UX 11.23 system today.  Python install and runs but when I try to import the cgi module with:&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;import cgi&lt;BR /&gt;&lt;BR /&gt;I get the following error.  &lt;BR /&gt;&lt;BR /&gt;ImportError: Failed to load /opt/iexpress/python/lib/python2.7/lib-dynload/binascii.sl&lt;BR /&gt;&lt;BR /&gt;Also, when running a cgi script that does the same import this error also appears in the log for Apache.  Is there a patch or fix for this?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Bill Allen&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Dec 2010 23:12:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-importing-cgi-module-in-python-on-hp-xu/m-p/4731042#M655587</guid>
      <dc:creator>bill_allen</dc:creator>
      <dc:date>2010-12-27T23:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: error importing cgi module in Python on HP-XU</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-importing-cgi-module-in-python-on-hp-xu/m-p/4731043#M655588</link>
      <description>What do these show:&lt;BR /&gt;uname -a&lt;BR /&gt;file /opt/iexpress/python/lib/python2.7/lib-dynload/binascii.sl</description>
      <pubDate>Tue, 28 Dec 2010 05:12:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-importing-cgi-module-in-python-on-hp-xu/m-p/4731043#M655588</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-12-28T05:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: error importing cgi module in Python on HP-XU</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-importing-cgi-module-in-python-on-hp-xu/m-p/4731044#M655589</link>
      <description>Thanks for the response, here is that information.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HP-UX fcdshp03 B.11.23 U 9000/800 1122901597 unlimited-user license&lt;BR /&gt;&lt;BR /&gt;Running file against that particular file yields:&lt;BR /&gt;&lt;BR /&gt;/opt/iexpress/python/lib/python2.7/lib-dynload/binascii.sl:     cannot open&lt;BR /&gt;&lt;BR /&gt;Essentially, this is what Python is telling me also, which make me think this file is corrupt in the depot.  I have downloaded the depot again and made another attempt with the same results, so I do not think it is corruption from the download process but at the source.  I could be wrong, any thoughts?&lt;BR /&gt;&lt;BR /&gt;--Bill Allen&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Dec 2010 17:14:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-importing-cgi-module-in-python-on-hp-xu/m-p/4731044#M655589</guid>
      <dc:creator>bill_allen</dc:creator>
      <dc:date>2010-12-28T17:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: error importing cgi module in Python on HP-XU</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-importing-cgi-module-in-python-on-hp-xu/m-p/4731045#M655590</link>
      <description>&amp;gt;.../binascii.sl: cannot open&lt;BR /&gt;&amp;gt;this is what Python is telling me also,&lt;BR /&gt;&lt;BR /&gt;No, this tells you the file isn't there, rather than it is the wrong type or corrupted.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;I do not think it is corruption from the download process but at the source.&lt;BR /&gt;&lt;BR /&gt;Right, it just isn't there.  Have you tried searching for it?&lt;BR /&gt;find /opt/iexpress -name binascii.sl</description>
      <pubDate>Wed, 29 Dec 2010 04:14:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-importing-cgi-module-in-python-on-hp-xu/m-p/4731045#M655590</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-12-29T04:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: error importing cgi module in Python on HP-XU</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-importing-cgi-module-in-python-on-hp-xu/m-p/4731046#M655591</link>
      <description>I did serarch and the file is present.&lt;BR /&gt;&lt;BR /&gt; find /opt/iexpress -name binascii.sl&lt;BR /&gt;/opt/iexpress/python/lib/python2.7/lib-dynload/binascii.sl&lt;BR /&gt;&lt;BR /&gt;Here is a little more information, the full traceback.  It still appears to me the problem is with the file itself.&lt;BR /&gt;&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;  File "&lt;STDIN&gt;", line 1, in &lt;MODULE&gt;&lt;BR /&gt;  File "/opt/iexpress/python/lib/python2.7/cgi.py", line 51, in &lt;MODULE&gt;&lt;BR /&gt;    import mimetools&lt;BR /&gt;  File "/opt/iexpress/python/lib/python2.7/mimetools.py", line 6, in &lt;MODULE&gt;&lt;BR /&gt;    import tempfile&lt;BR /&gt;  File "/opt/iexpress/python/lib/python2.7/tempfile.py", line 34, in &lt;MODULE&gt;&lt;BR /&gt;    from random import Random as _Random&lt;BR /&gt;  File "/opt/iexpress/python/lib/python2.7/random.py", line 48, in &lt;MODULE&gt;&lt;BR /&gt;    from binascii import hexlify as _hexlify&lt;BR /&gt;ImportError: Failed to load /opt/iexpress/python/lib/python2.7/lib-dynload/binascii.sl&lt;/MODULE&gt;&lt;/MODULE&gt;&lt;/MODULE&gt;&lt;/MODULE&gt;&lt;/MODULE&gt;&lt;/STDIN&gt;</description>
      <pubDate>Wed, 29 Dec 2010 15:57:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-importing-cgi-module-in-python-on-hp-xu/m-p/4731046#M655591</guid>
      <dc:creator>bill_allen</dc:creator>
      <dc:date>2010-12-29T15:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: error importing cgi module in Python on HP-XU</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-importing-cgi-module-in-python-on-hp-xu/m-p/4731047#M655592</link>
      <description>&amp;gt;/opt/iexpress/python/lib/python2.7/lib-dynload/binascii.sl: cannot open&lt;BR /&gt;&amp;gt;I did search and the file is present.&lt;BR /&gt;&lt;BR /&gt;These seem contradictory.  You need to check the permissions of each directory path and the file itself to make sure they all have at least r-xr-xr-x:&lt;BR /&gt;ll -d /opt /opt/iexpress /opt/iexpress/python /opt/iexpress/python/lib /opt/iexpress/python/lib/python2.7 /opt/iexpress/python/lib/python2.7/lib-dynload /opt/iexpress/python/lib/python2.7/lib-dynload/binascii.sl</description>
      <pubDate>Wed, 29 Dec 2010 19:32:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-importing-cgi-module-in-python-on-hp-xu/m-p/4731047#M655592</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-12-29T19:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: error importing cgi module in Python on HP-XU</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-importing-cgi-module-in-python-on-hp-xu/m-p/4731048#M655593</link>
      <description>I'll check those directory privs.  Perhaps something did not get set properly during the install.</description>
      <pubDate>Wed, 29 Dec 2010 20:02:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-importing-cgi-module-in-python-on-hp-xu/m-p/4731048#M655593</guid>
      <dc:creator>bill_allen</dc:creator>
      <dc:date>2010-12-29T20:02:47Z</dc:date>
    </item>
  </channel>
</rss>

