{"action":"created","issue":{"url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/2438","repository_url":"https://api.github.com/repos/pyinstaller/pyinstaller","labels_url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/2438/labels{/name}","comments_url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/2438/comments","events_url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/2438/events","html_url":"https://github.com/pyinstaller/pyinstaller/issues/2438","id":205448225,"number":2438,"title":"FileNotFoundError: [Errno 2] No such file or directory: '/tmp/_MEIRsuH58/jnpr/junos/facts'","user":{"login":"akbhat","id":13479291,"avatar_url":"https://avatars.githubusercontent.com/u/13479291?v=3","gravatar_id":"","url":"https://api.github.com/users/akbhat","html_url":"https://github.com/akbhat","followers_url":"https://api.github.com/users/akbhat/followers","following_url":"https://api.github.com/users/akbhat/following{/other_user}","gists_url":"https://api.github.com/users/akbhat/gists{/gist_id}","starred_url":"https://api.github.com/users/akbhat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akbhat/subscriptions","organizations_url":"https://api.github.com/users/akbhat/orgs","repos_url":"https://api.github.com/users/akbhat/repos","events_url":"https://api.github.com/users/akbhat/events{/privacy}","received_events_url":"https://api.github.com/users/akbhat/received_events","type":"User","site_admin":false},"labels":[{"id":139086564,"url":"https://api.github.com/repos/pyinstaller/pyinstaller/labels/support","name":"support","color":"009800","default":false}],"state":"closed","locked":false,"assignee":{"login":"htgoebel","id":784161,"avatar_url":"https://avatars.githubusercontent.com/u/784161?v=3","gravatar_id":"","url":"https://api.github.com/users/htgoebel","html_url":"https://github.com/htgoebel","followers_url":"https://api.github.com/users/htgoebel/followers","following_url":"https://api.github.com/users/htgoebel/following{/other_user}","gists_url":"https://api.github.com/users/htgoebel/gists{/gist_id}","starred_url":"https://api.github.com/users/htgoebel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/htgoebel/subscriptions","organizations_url":"https://api.github.com/users/htgoebel/orgs","repos_url":"https://api.github.com/users/htgoebel/repos","events_url":"https://api.github.com/users/htgoebel/events{/privacy}","received_events_url":"https://api.github.com/users/htgoebel/received_events","type":"User","site_admin":false},"assignees":[{"login":"htgoebel","id":784161,"avatar_url":"https://avatars.githubusercontent.com/u/784161?v=3","gravatar_id":"","url":"https://api.github.com/users/htgoebel","html_url":"https://github.com/htgoebel","followers_url":"https://api.github.com/users/htgoebel/followers","following_url":"https://api.github.com/users/htgoebel/following{/other_user}","gists_url":"https://api.github.com/users/htgoebel/gists{/gist_id}","starred_url":"https://api.github.com/users/htgoebel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/htgoebel/subscriptions","organizations_url":"https://api.github.com/users/htgoebel/orgs","repos_url":"https://api.github.com/users/htgoebel/repos","events_url":"https://api.github.com/users/htgoebel/events{/privacy}","received_events_url":"https://api.github.com/users/htgoebel/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2017-02-05T19:41:07Z","updated_at":"2017-02-13T00:46:24Z","closed_at":"2017-02-12T10:15:38Z","body":"PyInstaller==3.2.1, Ubuntu 14 (Python 2.6, 2.7 and 3.5 installed)\r\n\r\nI had a Python2.7 script that was frozen using Pyisntaller and working as expected. I wanted to move to Python3.5 so converted the script to Python3, removed and reinstalled Pyinstaller.\r\n\r\nIn the new environment, I can freeze the script (pyinstaller jcollect.spec --clean --onefile --log=DEBUG - [debug.txt](https://github.com/pyinstaller/pyinstaller/files/753223/debug.txt)) but get the following error running the executable.  \r\nTraceback (most recent call last):\r\n  File \"jcollect.py\", line 5, in <module>\r\n    from jutil import *\r\n  File \"<frozen importlib._bootstrap>\", line 969, in _find_and_load\r\n  File \"<frozen importlib._bootstrap>\", line 958, in _find_and_load_unlocked\r\n  File \"<frozen importlib._bootstrap>\", line 664, in _load_unlocked\r\n  File \"<frozen importlib._bootstrap>\", line 634, in _load_backward_compatible\r\n  File \"/usr/local/lib/python3.5/site-packages/PyInstaller/loader/pyimod03_importers.py\", line 389, in load_module\r\n    exec(bytecode, module.__dict__)\r\n  File \"jutil.py\", line 8, in <module>\r\n    from jnpr.junos.device import Device\r\n  File \"<frozen importlib._bootstrap>\", line 969, in _find_and_load\r\n  File \"<frozen importlib._bootstrap>\", line 958, in _find_and_load_unlocked\r\n  File \"<frozen importlib._bootstrap>\", line 664, in _load_unlocked\r\n  File \"<frozen importlib._bootstrap>\", line 634, in _load_backward_compatible\r\n  File \"/usr/local/lib/python3.5/site-packages/PyInstaller/loader/pyimod03_importers.py\", line 389, in load_module\r\n    exec(bytecode, module.__dict__)\r\n  File \"site-packages/jnpr/junos/__init__.py\", line 1, in <module>\r\n  File \"<frozen importlib._bootstrap>\", line 969, in _find_and_load\r\n  File \"<frozen importlib._bootstrap>\", line 958, in _find_and_load_unlocked\r\n  File \"<frozen importlib._bootstrap>\", line 664, in _load_unlocked\r\n  File \"<frozen importlib._bootstrap>\", line 634, in _load_backward_compatible\r\n  File \"/usr/local/lib/python3.5/site-packages/PyInstaller/loader/pyimod03_importers.py\", line 389, in load_module\r\n    exec(bytecode, module.__dict__)\r\n  File \"site-packages/jnpr/junos/device.py\", line 28, in <module>\r\n  File \"<frozen importlib._bootstrap>\", line 969, in _find_and_load\r\n  File \"<frozen importlib._bootstrap>\", line 958, in _find_and_load_unlocked\r\n  File \"<frozen importlib._bootstrap>\", line 664, in _load_unlocked\r\n  File \"<frozen importlib._bootstrap>\", line 634, in _load_backward_compatible\r\n  File \"/usr/local/lib/python3.5/site-packages/PyInstaller/loader/pyimod03_importers.py\", line 389, in load_module\r\n    exec(bytecode, module.__dict__)\r\n  File \"site-packages/jnpr/junos/factcache.py\", line 4, in <module>\r\n  File \"<frozen importlib._bootstrap>\", line 969, in _find_and_load\r\n  File \"<frozen importlib._bootstrap>\", line 958, in _find_and_load_unlocked\r\n  File \"<frozen importlib._bootstrap>\", line 664, in _load_unlocked\r\n  File \"<frozen importlib._bootstrap>\", line 634, in _load_backward_compatible\r\n  File \"/usr/local/lib/python3.5/site-packages/PyInstaller/loader/pyimod03_importers.py\", line 389, in load_module\r\n    exec(bytecode, module.__dict__)\r\n  File \"site-packages/jnpr/junos/facts/__init__.py\", line 108, in <module>\r\n  File \"site-packages/jnpr/junos/facts/__init__.py\", line 91, in _build_fact_callbacks_and_doc_strings\r\n  File \"site-packages/jnpr/junos/facts/__init__.py\", line 69, in _import_fact_modules\r\n  File \"site-packages/jnpr/junos/facts/__init__.py\", line 52, in _get_list_of_fact_module_names\r\nFileNotFoundError: [Errno 2] No such file or directory: '/tmp/_MEIOLklta/jnpr/junos/facts'\r\nFailed to execute script jcollect\r\n\r\nUsing the following Analysis function in the spec file for compilation:\r\n\r\nfrom PyInstaller.utils.hooks import collect_data_files\r\na = Analysis(['jcollect.py'],\r\n             pathex=['/home/abhat/Desktop/jcollect'],\r\n             binaries=[],\r\n             datas= collect_data_files('jnpr.junos'),\r\n             hiddenimports=[],\r\n             hookspath=[],\r\n             runtime_hooks=[],\r\n             excludes=[],\r\n             win_no_prefer_redirects=False,\r\n             win_private_assemblies=False,\r\n             cipher=block_cipher)"},"comment":{"url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/comments/279270298","html_url":"https://github.com/pyinstaller/pyinstaller/issues/2438#issuecomment-279270298","issue_url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/2438","id":279270298,"user":{"login":"xoviat","id":15351036,"avatar_url":"https://avatars.githubusercontent.com/u/15351036?v=3","gravatar_id":"","url":"https://api.github.com/users/xoviat","html_url":"https://github.com/xoviat","followers_url":"https://api.github.com/users/xoviat/followers","following_url":"https://api.github.com/users/xoviat/following{/other_user}","gists_url":"https://api.github.com/users/xoviat/gists{/gist_id}","starred_url":"https://api.github.com/users/xoviat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xoviat/subscriptions","organizations_url":"https://api.github.com/users/xoviat/orgs","repos_url":"https://api.github.com/users/xoviat/repos","events_url":"https://api.github.com/users/xoviat/events{/privacy}","received_events_url":"https://api.github.com/users/xoviat/received_events","type":"User","site_admin":false},"created_at":"2017-02-13T00:46:24Z","updated_at":"2017-02-13T00:46:24Z","body":"His email should be on the contact page of crazy-compilers.com. I'm hesitant to write it here for fear that bots will pick it up."}}
{"actor":{"display_login":"xoviat"}}