{"action":"closed","issue":{"url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/1154","labels_url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/1154/labels{/name}","comments_url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/1154/comments","events_url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/1154/events","html_url":"https://github.com/pyinstaller/pyinstaller/issues/1154","id":54180870,"number":1154,"title":"PyInstaller test_pycrypto failed","user":{"login":"lumy","id":4170605,"avatar_url":"https://avatars.githubusercontent.com/u/4170605?v=3","gravatar_id":"","url":"https://api.github.com/users/lumy","html_url":"https://github.com/lumy","followers_url":"https://api.github.com/users/lumy/followers","following_url":"https://api.github.com/users/lumy/following{/other_user}","gists_url":"https://api.github.com/users/lumy/gists{/gist_id}","starred_url":"https://api.github.com/users/lumy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lumy/subscriptions","organizations_url":"https://api.github.com/users/lumy/orgs","repos_url":"https://api.github.com/users/lumy/repos","events_url":"https://api.github.com/users/lumy/events{/privacy}","received_events_url":"https://api.github.com/users/lumy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pyinstaller/pyinstaller/labels/develop","name":"develop","color":"ededed"},{"url":"https://api.github.com/repos/pyinstaller/pyinstaller/labels/need+info","name":"need info","color":"c7def8"},{"url":"https://api.github.com/repos/pyinstaller/pyinstaller/labels/OS+X","name":"OS X","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-01-13T11:27:50Z","updated_at":"2015-01-13T16:14:48Z","closed_at":"2015-01-13T16:14:48Z","body":"Hi,\r\n\r\nI just clone the depot, and run the test,\r\n```\r\n(env_2.7)bash-3.2$ python runtests.py test_pycrypto\r\nRunning test:  /test_pycrypto\r\n114 WARNING: You are running 64-bit Python: created binaries will only work on Mac OS X 10.6+.\r\nIf you need 10.4-10.5 compatibility, run Python as a 32-bit binary with this command:\r\nVERSIONER_PYTHON_PREFER_32_BIT=yes arch -i386 /Users/lumy-meludia/.pyenv/versions/env_2.7/bin/python\r\n4128 INFO: UPX is not available.\r\n4156 INFO: Processing hook hook-os\r\n4268 INFO: Processing hook hook-time\r\n4271 INFO: Processing hook hook-cPickle\r\n4343 INFO: Processing hook hook-_sre\r\n4465 INFO: Processing hook hook-cStringIO\r\n4561 INFO: Processing hook hook-encodings\r\n4575 INFO: Processing hook hook-codecs\r\ntest_pycrypto (__main__.GenericTestCase) ... FAIL\r\n======================================================================\r\nFAIL: test_pycrypto (__main__.GenericTestCase)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"runtests.py\", line 542, in _generic_test_function\r\n    msg='Test %s not found.' % self.test_name)\r\nAssertionError: False is not true : Test /test_pycrypto not found.\r\n----------------------------------------------------------------------\r\nRan 1 test in 0.001s\r\nFAILED (failures=1)\r\n```\r\n\r\nAnd if i run the full test i get\r\n\r\n```\r\n(env_2.7)bash-3.2$ python runtests.py\r\nRunning normal tests (-i for interactive tests)...\r\n91 WARNING: You are running 64-bit Python: created binaries will only work on Mac OS X 10.6+.\r\nIf you need 10.4-10.5 compatibility, run Python as a 32-bit binary with this command:\r\n    VERSIONER_PYTHON_PREFER_32_BIT=yes arch -i386 /Users/lumy-meludia/.pyenv/versions/env_2.7/bin/python\r\n4099 INFO: UPX is not available.\r\n4123 INFO: Processing hook hook-os\r\n4230 INFO: Processing hook hook-time\r\n4233 INFO: Processing hook hook-cPickle\r\n4310 INFO: Processing hook hook-_sre\r\n4422 INFO: Processing hook hook-cStringIO\r\n4518 INFO: Processing hook hook-encodings\r\n4532 INFO: Processing hook hook-codecs\r\ntest_12 (__main__.BasicTestCase) ... ok\r\ntest_13 (__main__.BasicTestCase) ... ok\r\ntest_absolute_ld_library_path (__main__.BasicTestCase) ... skipped 'Required another Python version or OS.'\r\ntest_absolute_python_path (__main__.BasicTestCase) ... ok\r\ntest_celementtree (__main__.BasicTestCase) ... ok\r\ntest_codecs (__main__.BasicTestCase) ... ok\r\ntest_email (__main__.BasicTestCase) ... ok\r\ntest_email_oldstyle (__main__.BasicTestCase) ... ok\r\ntest_encoders (__main__.BasicTestCase) ... ok\r\ntest_f_option (__main__.BasicTestCase) ... ok\r\ntest_filename (__main__.BasicTestCase) ... ok\r\ntest_getfilesystemencoding (__main__.BasicTestCase) ... ok\r\ntest_helloworld (__main__.BasicTestCase) ... ok\r\ntest_module__file__attribute (__main__.BasicTestCase) ... ok\r\ntest_module_attributes (__main__.BasicTestCase) ... ok\r\ntest_module_reload (__main__.BasicTestCase) ... ok\r\ntest_multiprocess (__main__.BasicTestCase) ... ok\r\ntest_onefile_chdir_meipass (__main__.BasicTestCase) ... ok\r\ntest_onefile_ctypes (__main__.BasicTestCase) ... ok\r\ntest_onefile_get_meipass2_value (__main__.BasicTestCase) ... ok\r\ntest_onefile_helloworld (__main__.BasicTestCase) ... ok\r\ntest_onefile_module__file__attribute (__main__.BasicTestCase) ... ok\r\ntest_onefile_multiprocess (__main__.BasicTestCase) ... ok\r\ntest_onefile_nestedlaunch0 (__main__.BasicTestCase) ... ok\r\ntest_onefile_nestedlaunch1 (__main__.BasicTestCase) ... ok\r\ntest_onefile_python_makefile (__main__.BasicTestCase) ... ok\r\ntest_onefile_win32com (__main__.BasicTestCase) ... skipped 'Module win32com is missing.'\r\ntest_option_verbose (__main__.BasicTestCase) ... ok\r\ntest_option_wignore (__main__.BasicTestCase) ... ok\r\ntest_pkg_structures (__main__.BasicTestCase) ... ok\r\ntest_python_home (__main__.BasicTestCase) ... ok\r\ntest_pyz_as_external_file (__main__.BasicTestCase) ... ok\r\ntest_site (__main__.BasicTestCase) ... ok\r\ntest_threading (__main__.BasicTestCase) ... ok\r\ntest_threading2 (__main__.BasicTestCase) ... ok\r\ntest_time (__main__.BasicTestCase) ... ok\r\ntest_win32com (__main__.BasicTestCase) ... skipped 'Module win32com is missing.'\r\ntest_crypto (__main__.CryptoTestCase) ... NOTE: Bytecode encryption is enabled for this test.ok\r\ntest_nocrypto (__main__.CryptoTestCase) ... ok\r\ntest_onefile_crypto (__main__.CryptoTestCase) ... NOTE: Bytecode encryption is enabled for this test.ok\r\ntest_onefile_nocrypto (__main__.CryptoTestCase) ... ok\r\ntest_app_with_plugins (__main__.ImportTestCase) ... ok\r\ntest_c_extension (__main__.ImportTestCase) ... skipped 'Module simplejson is missing.'\r\ntest_ctypes_cdll_c (__main__.ImportTestCase) ... ok\r\ntest_eggs1 (__main__.ImportTestCase) ... skipped 'Unzipped eggs not yet implemented.'\r\ntest_eggs2 (__main__.ImportTestCase) ... ok\r\ntest_hiddenimport (__main__.ImportTestCase) ... ok\r\ntest_hook_without_hook_for_package (__main__.ImportTestCase) ... ok\r\ntest_import_module_with_unicode (__main__.ImportTestCase) ... ok\r\ntest_onefile_c_extension (__main__.ImportTestCase) ... skipped 'Module simplejson is missing.'\r\ntest_onefile_ctypes_cdll_c (__main__.ImportTestCase) ... ok\r\ntest_onefile_error_during_import (__main__.ImportTestCase) ... ok\r\ntest_onefile_pkg_resources (__main__.ImportTestCase) ... ok\r\ntest_onefile_pkgutil-get_data (__main__.ImportTestCase) ... ok\r\ntest_onefile_pkgutil-get_data__main__ (__main__.ImportTestCase) ... FAIL\r\ntest_onefile_relative_import (__main__.ImportTestCase) ... ok\r\ntest_onefile_relative_import2 (__main__.ImportTestCase) ... ok\r\ntest_onefile_relative_import3 (__main__.ImportTestCase) ... ok\r\ntest_onefile_zipimport (__main__.ImportTestCase) ... ok\r\ntest_onefile_zipimport2 (__main__.ImportTestCase) ... ok\r\ntest_pep302_import_protokol (__main__.ImportTestCase) ... ok\r\ntest_Image (__main__.LibrariesTestCase) ... skipped 'Module Image is missing.'\r\ntest_Image2 (__main__.LibrariesTestCase) ... skipped 'Module Image is missing.'\r\ntest_PIL (__main__.LibrariesTestCase) ... skipped 'Module PIL is missing.'\r\ntest_PIL2 (__main__.LibrariesTestCase) ... skipped 'Module PIL is missing.'\r\ntest_PyQt4-QtWebKit (__main__.LibrariesTestCase) ... ok\r\ntest_PyQt4-uic (__main__.LibrariesTestCase) ... ok\r\ntest_enchant (__main__.LibrariesTestCase) ... skipped 'Required another Python version or OS.'\r\ntest_gst (__main__.LibrariesTestCase) ... skipped 'Module gst is missing.'\r\ntest_idlelib (__main__.LibrariesTestCase) ... ok\r\ntest_keyring (__main__.LibrariesTestCase) ... FAIL\r\ntest_markdown (__main__.LibrariesTestCase) ... skipped 'Module markdown is missing.'\r\ntest_numpy (__main__.LibrariesTestCase) ... ok\r\ntest_onefile_matplotlib (__main__.LibrariesTestCase) ... skipped 'Module matplotlib is missing.'\r\ntest_onefile_numpy (__main__.LibrariesTestCase) ... ok\r\ntest_onefile_tkinter (__main__.LibrariesTestCase) ... ok\r\ntest_pycparser (__main__.LibrariesTestCase) ... ok\r\ntest_pycrypto (__main__.LibrariesTestCase) ... FAIL\r\ntest_pyexcelerate (__main__.LibrariesTestCase) ... skipped 'Module pyexcelerate is missing.'\r\ntest_pygments (__main__.LibrariesTestCase) ... skipped 'Module pygments is missing.'\r\ntest_pylint (__main__.LibrariesTestCase) ... skipped 'Module pylint is missing.'\r\ntest_pyodbc (__main__.LibrariesTestCase) ... skipped 'Module pyodbc is missing.'\r\ntest_python_makefile (__main__.LibrariesTestCase) ... ok\r\ntest_pyttsx (__main__.LibrariesTestCase) ... skipped 'Module pyttsx is missing.'\r\ntest_pytz (__main__.LibrariesTestCase) ... skipped 'Module pytz is missing.'\r\ntest_scapy1 (__main__.LibrariesTestCase) ... skipped 'Module scapy is missing.'\r\ntest_scapy2 (__main__.LibrariesTestCase) ... skipped 'Module scapy is missing.'\r\ntest_scapy3 (__main__.LibrariesTestCase) ... skipped 'Module scapy is missing.'\r\ntest_scipy (__main__.LibrariesTestCase) ... skipped 'Module scipy is missing.'\r\ntest_sphinx (__main__.LibrariesTestCase) ... skipped 'Module sphinx is missing.'\r\ntest_sqlalchemy (__main__.LibrariesTestCase) ... skipped 'Module sqlalchemy is missing.'\r\ntest_sqlite3 (__main__.LibrariesTestCase) ... ok\r\ntest_sysconfig (__main__.LibrariesTestCase) ... ok\r\ntest_twisted_qt4reactor (__main__.LibrariesTestCase) ... ok\r\ntest_twisted_reactor (__main__.LibrariesTestCase) ... ok\r\ntest_usb (__main__.LibrariesTestCase) ... ok\r\ntest_wx (__main__.LibrariesTestCase) ... skipped 'Module wx is missing.'\r\ntest_wx_pubsub (__main__.LibrariesTestCase) ... skipped 'Module wx is missing.'\r\ntest_wx_pubsub_arg1 (__main__.LibrariesTestCase) ... skipped 'Module wx is missing.'\r\ntest_wx_pubsub_kwargs (__main__.LibrariesTestCase) ... skipped 'Module wx is missing.'\r\ntest_xml (__main__.LibrariesTestCase) ... ok\r\ntest_zmq (__main__.LibrariesTestCase) ... skipped 'Module zmq is missing.'\r\ntest_zope_interface (__main__.LibrariesTestCase) ... ok\r\ntest_multipackage1 (__main__.MultipackageTestCase) ... ok\r\ntest_multipackage2 (__main__.MultipackageTestCase) ... ok\r\ntest_multipackage3 (__main__.MultipackageTestCase) ... ok\r\ntest_multipackage4 (__main__.MultipackageTestCase) ... ok\r\ntest_multipackage5 (__main__.MultipackageTestCase) ... ok\r\n\r\n======================================================================\r\nFAIL: test_onefile_pkgutil-get_data__main__ (__main__.ImportTestCase)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"runtests.py\", line 546, in _generic_test_function\r\n    msg='Running exe of %s failed.' % self.test_name)\r\nAssertionError: False is not true : Running exe of import/test_onefile_pkgutil-get_data__main__ failed.\r\n\r\n======================================================================\r\nFAIL: test_keyring (__main__.LibrariesTestCase)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"runtests.py\", line 546, in _generic_test_function\r\n    msg='Running exe of %s failed.' % self.test_name)\r\nAssertionError: False is not true : Running exe of libraries/test_keyring failed.\r\n\r\n======================================================================\r\nFAIL: test_pycrypto (__main__.LibrariesTestCase)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"runtests.py\", line 546, in _generic_test_function\r\n    msg='Running exe of %s failed.' % self.test_name)\r\nAssertionError: False is not true : Running exe of libraries/test_pycrypto failed.\r\n\r\n----------------------------------------------------------------------\r\nRan 108 tests in 376.877s\r\n\r\nFAILED (failures=3, skipped=31)\r\n```\r\n\r\nI was trying to make an MacOsX app containing pycrypto.\r\nWhat i missed on my dependencies ?\r\n"}}