{"action":"created","issue":{"url":"https://api.github.com/repos/vispy/vispy/issues/1356","repository_url":"https://api.github.com/repos/vispy/vispy","labels_url":"https://api.github.com/repos/vispy/vispy/issues/1356/labels{/name}","comments_url":"https://api.github.com/repos/vispy/vispy/issues/1356/comments","events_url":"https://api.github.com/repos/vispy/vispy/issues/1356/events","html_url":"https://github.com/vispy/vispy/issues/1356","id":258229694,"number":1356,"title":"vispy.test() fails (after `clean` install)","user":{"login":"TurtleDogBird","id":11612496,"avatar_url":"https://avatars1.githubusercontent.com/u/11612496?v=4","gravatar_id":"","url":"https://api.github.com/users/TurtleDogBird","html_url":"https://github.com/TurtleDogBird","followers_url":"https://api.github.com/users/TurtleDogBird/followers","following_url":"https://api.github.com/users/TurtleDogBird/following{/other_user}","gists_url":"https://api.github.com/users/TurtleDogBird/gists{/gist_id}","starred_url":"https://api.github.com/users/TurtleDogBird/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TurtleDogBird/subscriptions","organizations_url":"https://api.github.com/users/TurtleDogBird/orgs","repos_url":"https://api.github.com/users/TurtleDogBird/repos","events_url":"https://api.github.com/users/TurtleDogBird/events{/privacy}","received_events_url":"https://api.github.com/users/TurtleDogBird/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-09-16T12:49:48Z","updated_at":"2017-11-07T19:20:18Z","closed_at":null,"author_association":"NONE","body":"# Error message vispy.test() error\r\n\r\npyqt5 error:\r\n```\r\nRunning tests with pyqt5 backend:\r\n_VISPY_TESTING_APP=pyqt5 -m vispy_app_test  --cov vispy --no-cov-on-fail \r\nusage: -c [options] [file_or_dir] [file_or_dir] [...]\r\n-c: error: unrecognized arguments: --cov --no-cov-on-fail\r\n  inifile: None\r\n  rootdir: ~/anaconda3/envs/gpuplot/lib/python3.6/site-packages\r\nFailed: unit failure (2)\r\n```\r\n\r\nsome other weird error:\r\n```\r\nRuntimeError                              Traceback (most recent call last)\r\n<ipython-input-3-fe0595160d82> in <module>()\r\n----> 1 vispy.test()\r\n\r\n~/anaconda3/envs/gpuplot/lib/python3.6/site-packages/vispy/testing/_runners.py in test(label, extra_arg_string)\r\n    357     sys.stdout.flush()\r\n    358     if len(fail) > 0:\r\n--> 359         raise RuntimeError('FAILURE')\r\n\r\nRuntimeError: FAILURE\r\n```\r\n\r\n\r\n# How to reproduce?\r\nSetup isolated environment:\r\n```\r\nconda create -n gpuplot\r\nsource activate gpuplot\r\nconda install python=3 ipython pip\r\n```\r\n\r\nInstall vispy:\r\n```pip install --upgrade vispy```\r\n\r\nVispy forgets about pytest, so install that as well:\r\n```conda install pytest```\r\n\r\nVispy needs some backend, lets try pyqt:\r\n\r\n```conda install pyqt```\r\n\r\nlets test this:\r\n\r\n```\r\nipython\r\nimport vispy\r\nvispy.test()\r\n```\r\n\r\nand here is the error:\r\n\r\n```\r\n----------------------------------------------------------------------\r\nSkipping tests for backend pyqt4, not found (No module named 'PyQt4')\r\n----------------------------------------------------------------------\r\n\r\n----------------------------------------------------------------------\r\nRunning tests with pyqt5 backend:\r\n_VISPY_TESTING_APP=pyqt5 -m vispy_app_test  --cov vispy --no-cov-on-fail \r\nusage: -c [options] [file_or_dir] [file_or_dir] [...]\r\n-c: error: unrecognized arguments: --cov --no-cov-on-fail\r\n  inifile: None\r\n  rootdir: ~/anaconda3/envs/gpuplot/lib/python3.6/site-packages\r\nFailed: unit failure (2)\r\n----------------------------------------------------------------------\r\nSkipping tests for backend pyside, not found (Refusing to import PySide because PyQt5.QtCore is already imported.)\r\n----------------------------------------------------------------------\r\n\r\n----------------------------------------------------------------------\r\nSkipping tests for backend pyglet, not found (No module named 'pyglet')\r\n----------------------------------------------------------------------\r\n\r\n----------------------------------------------------------------------\r\nSkipping tests for backend glfw, not found (GLFW library not found)\r\n----------------------------------------------------------------------\r\n\r\n----------------------------------------------------------------------\r\nSkipping tests for backend sdl2, not found (No module named 'sdl2')\r\n----------------------------------------------------------------------\r\n\r\n----------------------------------------------------------------------\r\nSkipping tests for backend wx, not found (No module named 'wx')\r\n----------------------------------------------------------------------\r\n\r\n----------------------------------------------------------------------\r\nSkipping tests for backend egl, not found (Not ready for testing)\r\n----------------------------------------------------------------------\r\n\r\n~/anaconda3/envs/gpuplot/lib/python3.6/site-packages/IPython/html.py:14: ShimWarning: The `IPython.html` package has been deprecated since IPython 4.0. You should import from `notebook` instead. `IPython.html.widgets` has moved to `ipywidgets`.\r\n  \"`IPython.html.widgets` has moved to `ipywidgets`.\", ShimWarning)\r\n----------------------------------------------------------------------\r\nSkipping tests for backend ipynb_webgl, not found (No module named 'tornado')\r\n----------------------------------------------------------------------\r\n\r\n----------------------------------------------------------------------\r\nSkipping tests for backend _test, not found (test backend should be skipped)\r\n----------------------------------------------------------------------\r\n\r\nSkipping example test: Cannot test examples unless in vispy git directory\r\n----------------------------------------------------------------------\r\nRunning tests with no backend:\r\n_VISPY_TESTING_APP=nobackend -m \"not vispy_app_test\"  --cov vispy --no-cov-on-fail \r\nusage: -c [options] [file_or_dir] [file_or_dir] [...]\r\n-c: error: unrecognized arguments: --cov --no-cov-on-fail\r\n  inifile: None\r\n  rootdir: ~/anaconda3/envs/gpuplot/lib/python3.6/site-packages\r\nFailed: unit failure (2)\r\nRunning line endings check... \r\nPassed\r\n\r\nSkipping flake8 test, flake8 not installed\r\nPassed\r\n\r\nTesting failed (['pyqt5', 'nobackend'] failed, ['pyqt4', 'pyside', 'pyglet', 'glfw', 'sdl2', 'wx', 'egl', 'ipynb_webgl', '_test', 'examples'] skipped) in 0.542 seconds\r\n---------------------------------------------------------------------------\r\nRuntimeError                              Traceback (most recent call last)\r\n<ipython-input-3-fe0595160d82> in <module>()\r\n----> 1 vispy.test()\r\n\r\n~/anaconda3/envs/gpuplot/lib/python3.6/site-packages/vispy/testing/_runners.py in test(label, extra_arg_string)\r\n    357     sys.stdout.flush()\r\n    358     if len(fail) > 0:\r\n--> 359         raise RuntimeError('FAILURE')\r\n\r\nRuntimeError: FAILURE\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/vispy/vispy/issues/comments/342592165","html_url":"https://github.com/vispy/vispy/issues/1356#issuecomment-342592165","issue_url":"https://api.github.com/repos/vispy/vispy/issues/1356","id":342592165,"user":{"login":"kmuehlbauer","id":5821660,"avatar_url":"https://avatars2.githubusercontent.com/u/5821660?v=4","gravatar_id":"","url":"https://api.github.com/users/kmuehlbauer","html_url":"https://github.com/kmuehlbauer","followers_url":"https://api.github.com/users/kmuehlbauer/followers","following_url":"https://api.github.com/users/kmuehlbauer/following{/other_user}","gists_url":"https://api.github.com/users/kmuehlbauer/gists{/gist_id}","starred_url":"https://api.github.com/users/kmuehlbauer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kmuehlbauer/subscriptions","organizations_url":"https://api.github.com/users/kmuehlbauer/orgs","repos_url":"https://api.github.com/users/kmuehlbauer/repos","events_url":"https://api.github.com/users/kmuehlbauer/events{/privacy}","received_events_url":"https://api.github.com/users/kmuehlbauer/received_events","type":"User","site_admin":false},"created_at":"2017-11-07T19:20:18Z","updated_at":"2017-11-07T19:20:18Z","author_association":"CONTRIBUTOR","body":"Some examples will fail due to possibly not installed `scipy`, `networkx`, `imageio`, and in this case `PyQt4`.\r\n\r\n\r\n\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"kmuehlbauer"}}