Note that there are some explanatory texts on larger screens.

plurals
  1. POSSLError in Requests when packaging as OS X .app
    primarykey
    data
    text
    <p>I'm developing an application for OS X. The application involves communicating with a server through python-requests, using a secure connection. </p> <p>I am able to run the python file I intend to package, and it succeeds with the SSL connection. However, when I package the file with py2app and try to run it, I get the following error:</p> <pre><code>Traceback (most recent call last): File "/Users/yossi/Documents/repos/drunken-octo-nemesis/dist/drunken-octo.app/Contents/Resources/__boot__.py", line 338, in &lt;module&gt; _run() File "/Users/yossi/Documents/repos/drunken-octo-nemesis/dist/drunken-octo.app/Contents/Resources/__boot__.py", line 333, in _run exec(compile(source, path, 'exec'), globals(), globals()) File "/Users/yossi/Documents/repos/drunken-octo-nemesis/dist/drunken-octo.app/Contents/Resources/media_test.py", line 16, in &lt;module&gt; cmpbl.syncWithCloud() File "src/compare_book_lists.pyc", line 172, in syncWithCloud File "src/compare_book_lists.pyc", line 64, in checkMediaOnCloud File "src/get_cloud_book_list.pyc", line 26, in getCloudFulfilledBookList File "requests/api.pyc", line 55, in get File "requests/api.pyc", line 44, in request File "requests/sessions.pyc", line 354, in request File "requests/sessions.pyc", line 460, in send File "requests/adapters.pyc", line 250, in send requests.exceptions.SSLError: [Errno 185090050] _ssl.c:340: error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib 2013-06-12 11:39:49.119 drunken-octo[1656:707] drunken-octo Error </code></pre> <p>I was able to package part of my application successfully. The problem begins when the target file depends, somewhere in the chain, on Requests.</p> <p>I am using zc.buildout to organize my imports. Therefore, I am running in a local python interpreter created by the buildout, so any fixes, unfortunately, will be easier to implement if they don't involve modifying the system Python. However, all suggestions are welcome, and I'll do my best to modify them for my specifics.</p> <p>This only happens when I run the packaged app. Any ideas?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload