Advertisement
evanjs

sclack-ModuleNotFoundError

Aug 3rd, 2020
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.42 KB | None | 0 0
  1. bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
  2. Sourcing python-recompile-bytecode-hook.sh
  3. Sourcing python-remove-tests-dir-hook
  4. Sourcing python-catch-conflicts-hook.sh
  5. Sourcing python-remove-bin-bytecode-hook.sh
  6. Sourcing setuptools-build-hook
  7. Using setuptoolsBuildPhase
  8. Using setuptoolsShellHook
  9. Sourcing pip-install-hook
  10. Using pipInstallPhase
  11. Sourcing python-imports-check-hook.sh
  12. Using pythonImportsCheckPhase
  13. Sourcing python-namespaces-hook
  14. Sourcing setuptools-check-hook
  15. Using setuptoolsCheckPhase
  16. Sourcing pytest-check-hook
  17. Using pytestCheckPhase
  18. Removing setuptoolsCheckPhase
  19. @nix { "action": "setPhase", "phase": "unpackPhase" }
  20. unpacking sources
  21. unpacking source archive /nix/store/zlkx4vc1k0m0bv2nlzi3wdz14l2isq8d-source
  22. source root is source
  23. setting SOURCE_DATE_EPOCH to timestamp 315619200 of file source/.travis.yml
  24. @nix { "action": "setPhase", "phase": "patchPhase" }
  25. patching sources
  26. @nix { "action": "setPhase", "phase": "configurePhase" }
  27. configuring
  28. no configure script, doing nothing
  29. @nix { "action": "setPhase", "phase": "buildPhase" }
  30. building
  31. Executing setuptoolsBuildPhase
  32. running bdist_wheel
  33. running build
  34. running build_py
  35. creating build
  36. creating build/lib
  37. creating build/lib/sclack
  38. copying sclack/components.py -> build/lib/sclack
  39. copying sclack/quick_switcher.py -> build/lib/sclack
  40. copying sclack/loading.py -> build/lib/sclack
  41. copying sclack/store.py -> build/lib/sclack
  42. copying sclack/emoji.py -> build/lib/sclack
  43. copying sclack/themes.py -> build/lib/sclack
  44. copying sclack/image.py -> build/lib/sclack
  45. copying sclack/markdown.py -> build/lib/sclack
  46. copying sclack/__init__.py -> build/lib/sclack
  47. creating build/lib/tests
  48. copying tests/test_quick_switcher.py -> build/lib/tests
  49. copying tests/test_api.py -> build/lib/tests
  50. copying tests/test_markdown.py -> build/lib/tests
  51. copying tests/__init__.py -> build/lib/tests
  52. creating build/lib/sclack/widgets
  53. copying sclack/widgets/set_snooze.py -> build/lib/sclack/widgets
  54. copying sclack/widgets/__init__.py -> build/lib/sclack/widgets
  55. creating build/lib/sclack/component
  56. copying sclack/component/message.py -> build/lib/sclack/component
  57. copying sclack/component/time.py -> build/lib/sclack/component
  58. copying sclack/component/__init__.py -> build/lib/sclack/component
  59. creating build/lib/sclack/utils
  60. copying sclack/utils/channel.py -> build/lib/sclack/utils
  61. copying sclack/utils/message.py -> build/lib/sclack/utils
  62. copying sclack/utils/__init__.py -> build/lib/sclack/utils
  63. running build_scripts
  64. creating build/scripts-3.8
  65. copying and adjusting app.py -> build/scripts-3.8
  66. changing mode of build/scripts-3.8/app.py from 644 to 755
  67. installing to build/bdist.linux-x86_64/wheel
  68. running install
  69. running install_lib
  70. creating build/bdist.linux-x86_64
  71. creating build/bdist.linux-x86_64/wheel
  72. creating build/bdist.linux-x86_64/wheel/tests
  73. copying build/lib/tests/__init__.py -> build/bdist.linux-x86_64/wheel/tests
  74. copying build/lib/tests/test_markdown.py -> build/bdist.linux-x86_64/wheel/tests
  75. copying build/lib/tests/test_api.py -> build/bdist.linux-x86_64/wheel/tests
  76. copying build/lib/tests/test_quick_switcher.py -> build/bdist.linux-x86_64/wheel/tests
  77. creating build/bdist.linux-x86_64/wheel/sclack
  78. creating build/bdist.linux-x86_64/wheel/sclack/utils
  79. copying build/lib/sclack/utils/__init__.py -> build/bdist.linux-x86_64/wheel/sclack/utils
  80. copying build/lib/sclack/utils/message.py -> build/bdist.linux-x86_64/wheel/sclack/utils
  81. copying build/lib/sclack/utils/channel.py -> build/bdist.linux-x86_64/wheel/sclack/utils
  82. creating build/bdist.linux-x86_64/wheel/sclack/component
  83. copying build/lib/sclack/component/__init__.py -> build/bdist.linux-x86_64/wheel/sclack/component
  84. copying build/lib/sclack/component/time.py -> build/bdist.linux-x86_64/wheel/sclack/component
  85. copying build/lib/sclack/component/message.py -> build/bdist.linux-x86_64/wheel/sclack/component
  86. creating build/bdist.linux-x86_64/wheel/sclack/widgets
  87. copying build/lib/sclack/widgets/__init__.py -> build/bdist.linux-x86_64/wheel/sclack/widgets
  88. copying build/lib/sclack/widgets/set_snooze.py -> build/bdist.linux-x86_64/wheel/sclack/widgets
  89. copying build/lib/sclack/__init__.py -> build/bdist.linux-x86_64/wheel/sclack
  90. copying build/lib/sclack/markdown.py -> build/bdist.linux-x86_64/wheel/sclack
  91. copying build/lib/sclack/image.py -> build/bdist.linux-x86_64/wheel/sclack
  92. copying build/lib/sclack/themes.py -> build/bdist.linux-x86_64/wheel/sclack
  93. copying build/lib/sclack/emoji.py -> build/bdist.linux-x86_64/wheel/sclack
  94. copying build/lib/sclack/store.py -> build/bdist.linux-x86_64/wheel/sclack
  95. copying build/lib/sclack/loading.py -> build/bdist.linux-x86_64/wheel/sclack
  96. copying build/lib/sclack/quick_switcher.py -> build/bdist.linux-x86_64/wheel/sclack
  97. copying build/lib/sclack/components.py -> build/bdist.linux-x86_64/wheel/sclack
  98. running install_egg_info
  99. running egg_info
  100. creating sclack.egg-info
  101. writing sclack.egg-info/PKG-INFO
  102. writing dependency_links to sclack.egg-info/dependency_links.txt
  103. writing requirements to sclack.egg-info/requires.txt
  104. writing top-level names to sclack.egg-info/top_level.txt
  105. writing manifest file 'sclack.egg-info/SOURCES.txt'
  106. reading manifest file 'sclack.egg-info/SOURCES.txt'
  107. writing manifest file 'sclack.egg-info/SOURCES.txt'
  108. Copying sclack.egg-info to build/bdist.linux-x86_64/wheel/sclack-1.0-py3.8.egg-info
  109. running install_scripts
  110. creating build/bdist.linux-x86_64/wheel/sclack-1.0.data
  111. creating build/bdist.linux-x86_64/wheel/sclack-1.0.data/scripts
  112. copying build/scripts-3.8/app.py -> build/bdist.linux-x86_64/wheel/sclack-1.0.data/scripts
  113. changing mode of build/bdist.linux-x86_64/wheel/sclack-1.0.data/scripts/app.py to 755
  114. adding license file "LICENSE" (matched pattern "LICEN[CS]E*")
  115. creating build/bdist.linux-x86_64/wheel/sclack-1.0.dist-info/WHEEL
  116. creating 'dist/sclack-1.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
  117. adding 'sclack/__init__.py'
  118. adding 'sclack/components.py'
  119. adding 'sclack/emoji.py'
  120. adding 'sclack/image.py'
  121. adding 'sclack/loading.py'
  122. adding 'sclack/markdown.py'
  123. adding 'sclack/quick_switcher.py'
  124. adding 'sclack/store.py'
  125. adding 'sclack/themes.py'
  126. adding 'sclack/component/__init__.py'
  127. adding 'sclack/component/message.py'
  128. adding 'sclack/component/time.py'
  129. adding 'sclack/utils/__init__.py'
  130. adding 'sclack/utils/channel.py'
  131. adding 'sclack/utils/message.py'
  132. adding 'sclack/widgets/__init__.py'
  133. adding 'sclack/widgets/set_snooze.py'
  134. adding 'sclack-1.0.data/scripts/app.py'
  135. adding 'tests/__init__.py'
  136. adding 'tests/test_api.py'
  137. adding 'tests/test_markdown.py'
  138. adding 'tests/test_quick_switcher.py'
  139. adding 'sclack-1.0.dist-info/LICENSE'
  140. adding 'sclack-1.0.dist-info/METADATA'
  141. adding 'sclack-1.0.dist-info/WHEEL'
  142. adding 'sclack-1.0.dist-info/top_level.txt'
  143. adding 'sclack-1.0.dist-info/RECORD'
  144. removing build/bdist.linux-x86_64/wheel
  145. Finished executing setuptoolsBuildPhase
  146. @nix { "action": "setPhase", "phase": "installPhase" }
  147. installing
  148. Executing pipInstallPhase
  149. /build/source/dist /build/source
  150. Processing ./sclack-1.0-py3-none-any.whl
  151. Requirement already satisfied: urwid-readline in /nix/store/7jmcg70z71lbakv4afvlcr26sv9f1rcr-python3.8-urwid_readline-0.11/lib/python3.8/site-packages (from sclack==1.0) (0.11)
  152. Requirement already satisfied: slackclient in /nix/store/m59zag3fkxhc2557fz5v01dikh9mk69y-python3.8-python-slackclient-2.5.0/lib/python3.8/site-packages (from sclack==1.0) (2.5.0)
  153. Requirement already satisfied: requests in /nix/store/i1251ijhdnr7gdbjzwh3f65590bs024n-python3.8-requests-2.23.0/lib/python3.8/site-packages (from sclack==1.0) (2.23.0)
  154. Requirement already satisfied: pyperclip in /nix/store/0p9a4k5gj0n1f68lhhpxl0v48q3zg82s-python3.8-pyperclip-1.8.0/lib/python3.8/site-packages (from sclack==1.0) (1.8.0)
  155. Requirement already satisfied: urwid>2 in /nix/store/j0zibzqxx8n79hg26dr3570ydz40k1d8-python3.8-urwid-2.1.1/lib/python3.8/site-packages (from sclack==1.0) (2.1.1)
  156. Requirement already satisfied: aiohttp>3.5.2 in /nix/store/4g34vq5xmv3iizffvprsr1985q1wwcb2-python3.8-aiohttp-3.6.2/lib/python3.8/site-packages (from slackclient->sclack==1.0) (3.6.2)
  157. Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /nix/store/c8pd2l4dlwgrklwzlc04jxfikvf0gyiy-python3.8-urllib3-1.25.9/lib/python3.8/site-packages (from requests->sclack==1.0) (1.25.9)
  158. Requirement already satisfied: certifi>=2017.4.17 in /nix/store/9kqb4bza45x5rcby3cj7s6jhiz31yz48-python3.8-certifi-2020.4.5.1/lib/python3.8/site-packages (from requests->sclack==1.0) (2020.4.5.1)
  159. Requirement already satisfied: idna<3,>=2.5 in /nix/store/ih3092qj2dfqip6ra45ywfvdas0j2ai6-python3.8-idna-2.9/lib/python3.8/site-packages (from requests->sclack==1.0) (2.9)
  160. Requirement already satisfied: chardet<4,>=3.0.2 in /nix/store/7xvjvx2bi0c4lsbiar9gsb9ppg3gd838-python3.8-chardet-3.0.4/lib/python3.8/site-packages (from requests->sclack==1.0) (3.0.4)
  161. Requirement already satisfied: multidict<5.0,>=4.5 in /nix/store/5ksiwmb747j69vl3l19jf1mqkhv5scqf-python3.8-multidict-4.7.6/lib/python3.8/site-packages (from aiohttp>3.5.2->slackclient->sclack==1.0) (4.7.6)
  162. Requirement already satisfied: yarl<2.0,>=1.0 in /nix/store/5rwzgqm3ncfy93ghn4fh06n0ydhy2df3-python3.8-yarl-1.4.2/lib/python3.8/site-packages (from aiohttp>3.5.2->slackclient->sclack==1.0) (1.4.2)
  163. Requirement already satisfied: attrs>=17.3.0 in /nix/store/zlmk119cdv68lvy6vpzvrq0zdcqrss9n-python3.8-attrs-19.3.0/lib/python3.8/site-packages (from aiohttp>3.5.2->slackclient->sclack==1.0) (19.3.0)
  164. Requirement already satisfied: async-timeout<4.0,>=3.0 in /nix/store/8ngq6z79kn05ws5z6rr8csapymjv3rlw-python3.8-async-timeout-3.0.1/lib/python3.8/site-packages (from aiohttp>3.5.2->slackclient->sclack==1.0) (3.0.1)
  165. Installing collected packages: sclack
  166. Successfully installed sclack-1.0
  167. /build/source
  168. Finished executing pipInstallPhase
  169. @nix { "action": "setPhase", "phase": "fixupPhase" }
  170. post-installation fixup
  171. shrinking RPATHs of ELF executables and libraries in /nix/store/68bxnx7zyzgyc8z5w4cjzl2hina5mwll-python3.8-sclack-unstable-2019-07-15
  172. strip is /nix/store/k6rnzlmcvm37d0nw4fkz6ivmykmrdn39-binutils-2.31.1/bin/strip
  173. stripping (with command strip and flags -S) in /nix/store/68bxnx7zyzgyc8z5w4cjzl2hina5mwll-python3.8-sclack-unstable-2019-07-15/lib /nix/store/68bxnx7zyzgyc8z5w4cjzl2hina5mwll-python3.8-sclack-unstable-2019-07-15/bin
  174. patching script interpreter paths in /nix/store/68bxnx7zyzgyc8z5w4cjzl2hina5mwll-python3.8-sclack-unstable-2019-07-15
  175. checking for references to /build/ in /nix/store/68bxnx7zyzgyc8z5w4cjzl2hina5mwll-python3.8-sclack-unstable-2019-07-15...
  176. Rewriting #!/nix/store/8hf2rpqx8fnx6a3jm9pvn0d40c065zxl-python3-3.8.3/bin/python3.8 to #!/nix/store/8hf2rpqx8fnx6a3jm9pvn0d40c065zxl-python3-3.8.3
  177. wrapping `/nix/store/68bxnx7zyzgyc8z5w4cjzl2hina5mwll-python3.8-sclack-unstable-2019-07-15/bin/sclack'...
  178. Executing pythonRemoveTestsDir
  179. Finished executing pythonRemoveTestsDir
  180. @nix { "action": "setPhase", "phase": "installCheckPhase" }
  181. running install tests
  182. no Makefile or custom buildPhase, doing nothing
  183. @nix { "action": "setPhase", "phase": "pythonCatchConflictsPhase" }
  184. pythonCatchConflictsPhase
  185. @nix { "action": "setPhase", "phase": "pythonRemoveBinBytecodePhase" }
  186. pythonRemoveBinBytecodePhase
  187. @nix { "action": "setPhase", "phase": "pythonImportsCheckPhase" }
  188. pythonImportsCheckPhase
  189. Executing pythonImportsCheckPhase
  190. @nix { "action": "setPhase", "phase": "pytestCheckPhase" }
  191. pytestCheckPhase
  192. Executing pytestCheckPhase
  193. ============================= test session starts ==============================
  194. platform linux -- Python 3.8.3, pytest-5.4.3, py-1.8.1, pluggy-0.13.1
  195. rootdir: /build/source
  196. collecting ...  collected 0 items / 3 errors 
  197.  
  198. ==================================== ERRORS ====================================
  199. ______________________ ERROR collecting tests/test_api.py ______________________
  200. ImportError while importing test module '/build/source/tests/test_api.py'.
  201. Hint: make sure your test modules/packages have valid Python names.
  202. Traceback:
  203. tests/test_api.py:1: in <module>
  204. from sclack.quick_switcher import remove_diacritic
  205. sclack/quick_switcher.py:4: in <module>
  206. from .store import Store
  207. sclack/store.py:1: in <module>
  208. from slackclient import SlackClient
  209. E ModuleNotFoundError: No module named 'slackclient'
  210. ___________________ ERROR collecting tests/test_markdown.py ____________________
  211. ImportError while importing test module '/build/source/tests/test_markdown.py'.
  212. Hint: make sure your test modules/packages have valid Python names.
  213. Traceback:
  214. tests/test_markdown.py:1: in <module>
  215. from sclack.markdown import MarkdownText
  216. sclack/markdown.py:3: in <module>
  217. from .store import Store
  218. sclack/store.py:1: in <module>
  219. from slackclient import SlackClient
  220. E ModuleNotFoundError: No module named 'slackclient'
  221. ________________ ERROR collecting tests/test_quick_switcher.py _________________
  222. ImportError while importing test module '/build/source/tests/test_quick_switcher.py'.
  223. Hint: make sure your test modules/packages have valid Python names.
  224. Traceback:
  225. tests/test_quick_switcher.py:1: in <module>
  226. from sclack.quick_switcher import remove_diacritic
  227. sclack/quick_switcher.py:4: in <module>
  228. from .store import Store
  229. sclack/store.py:1: in <module>
  230. from slackclient import SlackClient
  231. E ModuleNotFoundError: No module named 'slackclient'
  232. =========================== short test summary info ============================
  233. ERROR tests/test_api.py
  234. ERROR tests/test_markdown.py
  235. ERROR tests/test_quick_switcher.py
  236. !!!!!!!!!!!!!!!!!!! Interrupted: 3 errors during collection !!!!!!!!!!!!!!!!!!!!
  237. ============================== 3 errors in 0.18s ===============================
  238.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement