{"action":"created","issue":{"url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/2135","repository_url":"https://api.github.com/repos/pyinstaller/pyinstaller","labels_url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/2135/labels{/name}","comments_url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/2135/comments","events_url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/2135/events","html_url":"https://github.com/pyinstaller/pyinstaller/issues/2135","id":169625064,"number":2135,"title":" Cannot find qt_menu.nib for PyQt4 on OSX Yosemite","user":{"login":"MNGuenther","id":11521683,"avatar_url":"https://avatars.githubusercontent.com/u/11521683?v=3","gravatar_id":"","url":"https://api.github.com/users/MNGuenther","html_url":"https://github.com/MNGuenther","followers_url":"https://api.github.com/users/MNGuenther/followers","following_url":"https://api.github.com/users/MNGuenther/following{/other_user}","gists_url":"https://api.github.com/users/MNGuenther/gists{/gist_id}","starred_url":"https://api.github.com/users/MNGuenther/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MNGuenther/subscriptions","organizations_url":"https://api.github.com/users/MNGuenther/orgs","repos_url":"https://api.github.com/users/MNGuenther/repos","events_url":"https://api.github.com/users/MNGuenther/events{/privacy}","received_events_url":"https://api.github.com/users/MNGuenther/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2016-08-05T14:52:37Z","updated_at":"2016-09-02T19:11:35Z","closed_at":null,"body":"Hi, I run into a similar issue as reported in conda/conda-recipes#672, #1332, and #2132, but the answers provided there did not help me further:\r\n```\r\nCannot find qt_menu.nib for PyQt4\r\nPath checked: /Users/felipe/miniconda/envs/_build/lib/Resources, /Users/felipe/miniconda/envs/_build/lib/QtGui.framework/Resources\r\n```\r\n\r\nI run OSX Yosemite, and created a short example of my problem: I created a new & clean virtual anaconda environment. I downloaded and succesfully ran design.py and main.py from https://gist.github.com/Nikola-K/615def9e197d5db04bef. Then I pip installed and tested first the newest stable (not shown) and then the newest development verison (see below) of pyinstaller. All used packages and the error can be found below:\r\n\r\n```\r\n$ ls\r\nmain.py    design.py\t\r\n\r\n$ conda list\r\n# packages in environment at /Applications/anaconda/envs/env_simple:\r\n#\r\nUsing Anaconda Cloud api site https://api.anaconda.org\r\n_nb_ext_conf              0.2.0                    py27_0  \r\nalabaster                 0.7.8                    py27_0  \r\nanaconda                  4.1.1               np111py27_0  \r\nanaconda-client           1.4.0                    py27_0  \r\nanaconda-navigator        1.2.1                    py27_0  \r\nappnope                   0.1.0                    py27_0  \r\nappscript                 1.0.1                    py27_0  \r\nargcomplete               1.0.0                    py27_1  \r\nastropy                   1.2.1               np111py27_0  \r\nbabel                     2.3.3                    py27_0  \r\nbackports                 1.0                      py27_0  \r\nbackports_abc             0.4                      py27_0  \r\nbeautifulsoup4            4.4.1                    py27_0  \r\nbitarray                  0.8.1                    py27_0  \r\nblaze                     0.10.1                   py27_0  \r\nbokeh                     0.12.0                   py27_0  \r\nboto                      2.40.0                   py27_0  \r\nbottleneck                1.1.0               np111py27_0  \r\ncdecimal                  2.3                      py27_2  \r\ncffi                      1.6.0                    py27_0  \r\nchest                     0.2.3                    py27_0  \r\nclick                     6.6                      py27_0  \r\ncloudpickle               0.2.1                    py27_0  \r\nclyent                    1.2.2                    py27_0  \r\ncolorama                  0.3.7                    py27_0  \r\nconfigobj                 5.0.6                    py27_0  \r\nconfigparser              3.5.0b2                  py27_1  \r\ncontextlib2               0.5.3                    py27_0  \r\ncryptography              1.4                      py27_0  \r\ncurl                      7.49.0                        0  \r\ncycler                    0.10.0                   py27_0  \r\ncython                    0.24                     py27_0  \r\ncytoolz                   0.8.0                    py27_0  \r\ndask                      0.10.0                   py27_0  \r\ndatashape                 0.5.2                    py27_0  \r\ndecorator                 4.0.10                   py27_0  \r\ndill                      0.2.5                    py27_0  \r\ndocutils                  0.12                     py27_2  \r\ndynd-python               0.7.2                    py27_0  \r\nentrypoints               0.2.2                    py27_0  \r\nenum34                    1.1.6                    py27_0  \r\net_xmlfile                1.0.1                    py27_0  \r\nfastcache                 1.0.2                    py27_1  \r\nflask                     0.11.1                   py27_0  \r\nflask-cors                2.1.2                    py27_0  \r\nfreetype                  2.5.5                         1  \r\nfuncsigs                  1.0.2                    py27_0  \r\nfunctools32               3.2.3.2                  py27_0  \r\nfutures                   3.0.5                    py27_0  \r\nget_terminal_size         1.0.0                    py27_0  \r\ngevent                    1.1.1                    py27_0  \r\ngreenlet                  0.4.10                   py27_0  \r\ngrin                      1.2.1                    py27_3  \r\nh5py                      2.6.0               np111py27_1  \r\nhdf5                      1.8.16                        0  \r\nheapdict                  1.0.0                    py27_1  \r\nidna                      2.1                      py27_0  \r\nimagesize                 0.7.1                    py27_0  \r\nipaddress                 1.0.16                   py27_0  \r\nipykernel                 4.3.1                    py27_0  \r\nipython                   4.2.0                    py27_1  \r\nipython_genutils          0.1.0                    py27_0  \r\nipywidgets                4.1.1                    py27_0  \r\nitsdangerous              0.24                     py27_0  \r\njbig                      2.1                           0  \r\njdcal                     1.2                      py27_1  \r\njedi                      0.9.0                    py27_1  \r\njinja2                    2.8                      py27_1  \r\njpeg                      8d                            1  \r\njsonschema                2.5.1                    py27_0  \r\njupyter                   1.0.0                    py27_3  \r\njupyter_client            4.3.0                    py27_0  \r\njupyter_console           4.1.1                    py27_0  \r\njupyter_core              4.1.0                    py27_0  \r\nlibdynd                   0.7.2                         0  \r\nlibpng                    1.6.22                        0  \r\nlibtiff                   4.0.6                         2  \r\nlibxml2                   2.9.2                         0  \r\nlibxslt                   1.1.28                        2  \r\nllvmlite                  0.11.0                   py27_0  \r\nlocket                    0.2.0                    py27_1  \r\nlxml                      3.6.0                    py27_0  \r\nmarkupsafe                0.23                     py27_2  \r\nmatplotlib                1.5.1               np111py27_0  \r\nmistune                   0.7.2                    py27_1  \r\nmkl                       11.3.3                        0  \r\nmkl-service               1.1.2                    py27_2  \r\nmpmath                    0.19                     py27_1  \r\nmultipledispatch          0.4.8                    py27_0  \r\nnb_anacondacloud          1.1.0                    py27_0  \r\nnb_conda                  1.1.0                    py27_0  \r\nnb_conda_kernels          1.0.3                    py27_0  \r\nnbconvert                 4.2.0                    py27_0  \r\nnbformat                  4.0.1                    py27_0  \r\nnbpresent                 3.0.2                    py27_0  \r\nnetworkx                  1.11                     py27_0  \r\nnltk                      3.2.1                    py27_0  \r\nnose                      1.3.7                    py27_1  \r\nnotebook                  4.2.1                    py27_0  \r\nnumba                     0.26.0              np111py27_0  \r\nnumexpr                   2.6.0               np111py27_0  \r\nnumpy                     1.11.1                   py27_0  \r\nodo                       0.5.0                    py27_1  \r\nopenpyxl                  2.3.2                    py27_0  \r\nopenssl                   1.0.2h                        1  \r\npandas                    0.18.1              np111py27_0  \r\npartd                     0.3.4                    py27_0  \r\npath.py                   8.2.1                    py27_0  \r\npathlib2                  2.1.0                    py27_0  \r\npatsy                     0.4.1                    py27_0  \r\npep8                      1.7.0                    py27_0  \r\npexpect                   4.0.1                    py27_0  \r\npickleshare               0.7.2                    py27_0  \r\npillow                    3.2.0                    py27_1  \r\npip                       8.1.2                    py27_0  \r\nply                       3.8                      py27_0  \r\npsutil                    4.3.0                    py27_0  \r\nptyprocess                0.5.1                    py27_0  \r\npy                        1.4.31                   py27_0  \r\npyasn1                    0.1.9                    py27_0  \r\npyaudio                   0.2.7                    py27_0  \r\npycosat                   0.6.1                    py27_1  \r\npycparser                 2.14                     py27_1  \r\npycrypto                  2.6.1                    py27_4  \r\npycurl                    7.43.0                   py27_0  \r\npyflakes                  1.2.3                    py27_0  \r\npygments                  2.1.3                    py27_0  \r\nPyInstaller               3.3.dev0+d3e0cb4           <pip>\r\npyopenssl                 0.16.0                   py27_0  \r\npyparsing                 2.1.4                    py27_0  \r\npyqt                      4.11.4                   py27_3  \r\npytables                  3.2.2               np111py27_4  \r\npytest                    2.9.2                    py27_0  \r\npython                    2.7.12                        1  \r\npython-dateutil           2.5.3                    py27_0  \r\npython.app                1.2                      py27_4  \r\npytz                      2016.4                   py27_0  \r\npyyaml                    3.11                     py27_4  \r\npyzmq                     15.2.0                   py27_1  \r\nqt                        4.8.7                         3  \r\nqtconsole                 4.2.1                    py27_0  \r\nqtpy                      1.0.2                    py27_0  \r\nreadline                  6.2                           2  \r\nredis                     3.2.0                         0  \r\nredis-py                  2.10.5                   py27_0  \r\nrequests                  2.10.0                   py27_0  \r\nrope                      0.9.4                    py27_1  \r\nruamel_yaml               0.11.7                   py27_0  \r\nscikit-image              0.12.3              np111py27_1  \r\nscikit-learn              0.17.1              np111py27_2  \r\nscipy                     0.17.1              np111py27_1  \r\nsetuptools                23.0.0                   py27_0  \r\nsimplegeneric             0.8.1                    py27_1  \r\nsingledispatch            3.4.0.3                  py27_0  \r\nsip                       4.16.9                   py27_0  \r\nsix                       1.10.0                   py27_0  \r\nsnowballstemmer           1.2.1                    py27_0  \r\nsockjs-tornado            1.0.3                    py27_0  \r\nsphinx                    1.4.1                    py27_0  \r\nsphinx_rtd_theme          0.1.9                    py27_0  \r\nspyder                    2.3.9                    py27_0  \r\nsqlalchemy                1.0.13                   py27_0  \r\nsqlite                    3.13.0                        0  \r\nssl_match_hostname        3.4.0.2                  py27_1  \r\nstatsmodels               0.6.1               np111py27_1  \r\nsympy                     1.0                      py27_0  \r\nterminado                 0.6                      py27_0  \r\ntk                        8.5.18                        0  \r\ntoolz                     0.8.0                    py27_0  \r\ntornado                   4.3                      py27_1  \r\ntraitlets                 4.2.1                    py27_0  \r\nunicodecsv                0.14.1                   py27_0  \r\nwerkzeug                  0.11.10                  py27_0  \r\nwheel                     0.29.0                   py27_0  \r\nxlrd                      1.0.0                    py27_0  \r\nxlsxwriter                0.9.2                    py27_0  \r\nxlwings                   0.7.2                    py27_0  \r\nxlwt                      1.1.2                    py27_0  \r\nxz                        5.2.2                         0  \r\nyaml                      0.1.6                         0  \r\nzlib                      1.2.8                         3  \r\n\r\n\r\n$ pyinstaller --debug --windowed main.py\r\n45 INFO: PyInstaller: 3.3.dev0+d3e0cb4\r\n45 INFO: Python: 2.7.12\r\n75 INFO: Platform: Darwin-14.5.0-x86_64-i386-64bit\r\n82 INFO: wrote /Users/user1/test_pyinstaller/main.spec\r\n104 INFO: UPX is not available.\r\n106 INFO: Extending PYTHONPATH with paths\r\n['/Users/user1/test_pyinstaller', '/Users/user1/test_pyinstaller']\r\n106 INFO: checking Analysis\r\n106 INFO: Building Analysis because out00-Analysis.toc is non existent\r\n106 INFO: Initializing module dependency graph...\r\n109 INFO: Initializing module graph hooks...\r\n198 INFO: running Analysis out00-Analysis.toc\r\n206 INFO: Caching module hooks...\r\n208 INFO: Analyzing /Users/user1/test_pyinstaller/main.py\r\n1424 INFO: Loading module hooks...\r\n1425 INFO: Loading module hook \"hook-PyQt4.py\"...\r\nTraceback (most recent call last):\r\n  File \"/Applications/anaconda/envs/env_simple/bin/pyinstaller\", line 9, in <module>\r\n    load_entry_point('PyInstaller==3.3.dev0+d3e0cb4', 'console_scripts', 'pyinstaller')()\r\n  File \"/Applications/anaconda/envs/env_simple/lib/python2.7/site-packages/PyInstaller/__main__.py\", line 90, in run\r\n    run_build(pyi_config, spec_file, **vars(args))\r\n  File \"/Applications/anaconda/envs/env_simple/lib/python2.7/site-packages/PyInstaller/__main__.py\", line 46, in run_build\r\n    PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)\r\n  File \"/Applications/anaconda/envs/env_simple/lib/python2.7/site-packages/PyInstaller/building/build_main.py\", line 788, in main\r\n    build(specfile, kw.get('distpath'), kw.get('workpath'), kw.get('clean_build'))\r\n  File \"/Applications/anaconda/envs/env_simple/lib/python2.7/site-packages/PyInstaller/building/build_main.py\", line 734, in build\r\n    exec(text, spec_namespace)\r\n  File \"<string>\", line 16, in <module>\r\n  File \"/Applications/anaconda/envs/env_simple/lib/python2.7/site-packages/PyInstaller/building/build_main.py\", line 212, in __init__\r\n    self.__postinit__()\r\n  File \"/Applications/anaconda/envs/env_simple/lib/python2.7/site-packages/PyInstaller/building/datastruct.py\", line 161, in __postinit__\r\n    self.assemble()\r\n  File \"/Applications/anaconda/envs/env_simple/lib/python2.7/site-packages/PyInstaller/building/build_main.py\", line 470, in assemble\r\n    module_hook.post_graph()\r\n  File \"/Applications/anaconda/envs/env_simple/lib/python2.7/site-packages/PyInstaller/building/imphook.py\", line 409, in post_graph\r\n    self._load_hook_module()\r\n  File \"/Applications/anaconda/envs/env_simple/lib/python2.7/site-packages/PyInstaller/building/imphook.py\", line 376, in _load_hook_module\r\n    self.hook_module_name, self.hook_filename)\r\n  File \"/Applications/anaconda/envs/env_simple/lib/python2.7/site-packages/PyInstaller/hooks/hook-PyQt4.py\", line 33, in <module>\r\n    (qt_menu_nib_dir('PyQt4'), ''),\r\n  File \"/Applications/anaconda/envs/env_simple/lib/python2.7/site-packages/PyInstaller/utils/hooks/qt.py\", line 126, in qt_menu_nib_dir\r\n    \"\"\".format(namespace, \", \".join(paths)))\r\nException: \r\n            Cannot find qt_menu.nib for PyQt4\r\n            Path checked: /Users/felipe/miniconda/envs/_build/lib/Resources, /Users/felipe/miniconda/envs/_build/lib/QtGui.framework/Resources\r\n     \r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/comments/244463202","html_url":"https://github.com/pyinstaller/pyinstaller/issues/2135#issuecomment-244463202","issue_url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/2135","id":244463202,"user":{"login":"tallforasmurf","id":1137018,"avatar_url":"https://avatars.githubusercontent.com/u/1137018?v=3","gravatar_id":"","url":"https://api.github.com/users/tallforasmurf","html_url":"https://github.com/tallforasmurf","followers_url":"https://api.github.com/users/tallforasmurf/followers","following_url":"https://api.github.com/users/tallforasmurf/following{/other_user}","gists_url":"https://api.github.com/users/tallforasmurf/gists{/gist_id}","starred_url":"https://api.github.com/users/tallforasmurf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tallforasmurf/subscriptions","organizations_url":"https://api.github.com/users/tallforasmurf/orgs","repos_url":"https://api.github.com/users/tallforasmurf/repos","events_url":"https://api.github.com/users/tallforasmurf/events{/privacy}","received_events_url":"https://api.github.com/users/tallforasmurf/received_events","type":"User","site_admin":false},"created_at":"2016-09-02T19:11:35Z","updated_at":"2016-09-02T19:11:35Z","body":"If the original was working, I guess ok. I'm a little puzzled because, in the Qt distribution folder there is a `.framework/Resource` folder for every component, e.g. `QtGui.framework/Resources`, `QtWidgets.framework/Resources` , `QtWebEngineWidgets.framework/Resources` etc etc. What's special about QtGui that it has to be called out (and e.g. QtCore.framework/Resources is not)."}}
{"actor":{"display_login":"tallforasmurf"}}