Advertisement
Guest User

Untitled

a guest
Jul 27th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.09 KB | None | 0 0
  1. (t4a-env)[root@rhel6 ~]# virtualenv t4a-env
  2. New python executable in t4a-env/bin/python2.7
  3. Also creating executable in t4a-env/bin/python
  4. Installing setuptools.................done.
  5. (t4a-env)[root@rhel6 ~]#
  6. (t4a-env)[root@rhel6 ~]#
  7. (t4a-env)[root@rhel6 ~]# cd t4a-core
  8. (t4a-env)[root@rhel6 t4a-core]# ./setup.py develop
  9. running develop
  10. running egg_info
  11. writing requirements to t4a_core.egg-info/requires.txt
  12. writing t4a_core.egg-info/PKG-INFO
  13. writing namespace_packages to t4a_core.egg-info/namespace_packages.txt
  14. writing top-level names to t4a_core.egg-info/top_level.txt
  15. writing dependency_links to t4a_core.egg-info/dependency_links.txt
  16. writing entry points to t4a_core.egg-info/entry_points.txt
  17. reading manifest file 't4a_core.egg-info/SOURCES.txt'
  18. reading manifest template 'MANIFEST.in'
  19. writing manifest file 't4a_core.egg-info/SOURCES.txt'
  20. running build_ext
  21. Creating /root/t4a-env/lib/python2.7/site-packages/t4a-core.egg-link (link to .)
  22. Adding t4a-core 0.00-dev to easy-install.pth file
  23. Installing t4a-jddb script to /root/t4a-env/bin
  24. Installing t4a-hafasd script to /root/t4a-env/bin
  25. Installing t4a-soapd script to /root/t4a-env/bin
  26. Installing t4a-client script to /root/t4a-env/bin
  27. Installing t4a-pdsd script to /root/t4a-env/bin
  28. Installing t4a-portald script to /root/t4a-env/bin
  29. Installing t4a-webd script to /root/t4a-env/bin
  30.  
  31. Installed /root/t4a-core
  32. Processing dependencies for t4a-core==0.00-dev
  33. Searching for Genshi==0.6
  34. Best match: Genshi 0.6
  35. Adding Genshi 0.6 to easy-install.pth file
  36.  
  37. Using /opt/lib/python2.7/site-packages
  38. Searching for Twisted==10.2.0
  39. Best match: Twisted 10.2.0
  40. Twisted 10.2.0 is already the active version in easy-install.pth
  41.  
  42. Using /opt/lib/python2.7/site-packages
  43. Searching for suds==0.4
  44. Best match: suds 0.4
  45. suds 0.4 is already the active version in easy-install.pth
  46.  
  47. Using /opt/lib/python2.7/site-packages
  48. Searching for SQLAlchemy==0.6.5
  49. Best match: SQLAlchemy 0.6.5
  50. SQLAlchemy 0.6.5 is already the active version in easy-install.pth
  51.  
  52. Using /opt/lib/python2.7/site-packages
  53. Searching for PIL==1.1.7
  54. Best match: PIL 1.1.7
  55. Adding PIL 1.1.7 to easy-install.pth file
  56.  
  57. Using /opt/lib/python2.7/site-packages/PIL
  58. Searching for lxml==2.2.8
  59. Best match: lxml 2.2.8
  60. lxml 2.2.8 is already the active version in easy-install.pth
  61.  
  62. Using /opt/lib/python2.7/site-packages
  63. Searching for docutils==0.7
  64. Best match: docutils 0.7
  65. docutils 0.7 is already the active version in easy-install.pth
  66.  
  67. Using /opt/lib/python2.7/site-packages
  68. Searching for zope.interface==3.6.1
  69. Best match: zope.interface 3.6.1
  70. zope.interface 3.6.1 is already the active version in easy-install.pth
  71.  
  72. Using /opt/lib/python2.7/site-packages
  73. Searching for setuptools==0.6c12dev-r88124
  74. Best match: setuptools 0.6c12dev-r88124
  75. Processing setuptools-0.6c12dev_r88124-py2.7.egg
  76. setuptools 0.6c12dev-r88124 is already the active version in easy-install.pth
  77. Installing easy_install script to /root/t4a-env/bin
  78. Installing easy_install-2.7 script to /root/t4a-env/bin
  79.  
  80. Using /root/t4a-env/lib/python2.7/site-packages/setuptools-0.6c12dev_r88124-py2.7.egg
  81. Finished processing dependencies for t4a-core==0.00-dev
  82. (t4a-env)[root@rhel6 t4a-core]# cd ../t4a-hafas/
  83. (t4a-env)[root@rhel6 t4a-hafas]# ./setup.py develop
  84. running develop
  85. running egg_info
  86. writing requirements to t4a_hafas.egg-info/requires.txt
  87. writing t4a_hafas.egg-info/PKG-INFO
  88. writing namespace_packages to t4a_hafas.egg-info/namespace_packages.txt
  89. writing top-level names to t4a_hafas.egg-info/top_level.txt
  90. writing dependency_links to t4a_hafas.egg-info/dependency_links.txt
  91. writing entry points to t4a_hafas.egg-info/entry_points.txt
  92. reading manifest file 't4a_hafas.egg-info/SOURCES.txt'
  93. writing manifest file 't4a_hafas.egg-info/SOURCES.txt'
  94. running build_ext
  95. Creating /root/t4a-env/lib/python2.7/site-packages/t4a-hafas.egg-link (link to .)
  96. Adding t4a-hafas 0.00-dev to easy-install.pth file
  97. Installing t4a-client2 script to /root/t4a-env/bin
  98. Installing t4a-hafas2d-worker script to /root/t4a-env/bin
  99. Installing t4a-hafas2d script to /root/t4a-env/bin
  100.  
  101. Installed /root/t4a-hafas
  102. Processing dependencies for t4a-hafas==0.00-dev
  103. Searching for t4a-core==0.09.60-gc75e3
  104. Best match: t4a-core 0.09.60-gc75e3
  105. Removing t4a-core 0.00-dev from easy-install.pth file
  106. t4a-core 0.09.60-gc75e3 is already the active version in easy-install.pth
  107. Installing t4a-jddb script to /root/t4a-env/bin
  108. Installing t4a-hafasd script to /root/t4a-env/bin
  109. Installing t4a-soapd script to /root/t4a-env/bin
  110. Installing t4a-client script to /root/t4a-env/bin
  111. Installing t4a-pdsd script to /root/t4a-env/bin
  112. Installing t4a-portald script to /root/t4a-env/bin
  113. Installing t4a-webd script to /root/t4a-env/bin
  114.  
  115. Using /opt/lib/python2.7/site-packages
  116. Searching for gevent==0.13.3
  117. Best match: gevent 0.13.3
  118. gevent 0.13.3 is already the active version in easy-install.pth
  119.  
  120. Using /opt/lib/python2.7/site-packages
  121. Searching for Genshi==0.6
  122. Best match: Genshi 0.6
  123. Genshi 0.6 is already the active version in easy-install.pth
  124.  
  125. Using /opt/lib/python2.7/site-packages
  126. Searching for Twisted==10.2.0
  127. Best match: Twisted 10.2.0
  128. Twisted 10.2.0 is already the active version in easy-install.pth
  129.  
  130. Using /opt/lib/python2.7/site-packages
  131. Searching for suds==0.4
  132. Best match: suds 0.4
  133. suds 0.4 is already the active version in easy-install.pth
  134.  
  135. Using /opt/lib/python2.7/site-packages
  136. Searching for SQLAlchemy==0.6.5
  137. Best match: SQLAlchemy 0.6.5
  138. SQLAlchemy 0.6.5 is already the active version in easy-install.pth
  139.  
  140. Using /opt/lib/python2.7/site-packages
  141. Searching for PIL==1.1.7
  142. Best match: PIL 1.1.7
  143. PIL 1.1.7 is already the active version in easy-install.pth
  144.  
  145. Using /opt/lib/python2.7/site-packages/PIL
  146. Searching for lxml==2.2.8
  147. Best match: lxml 2.2.8
  148. lxml 2.2.8 is already the active version in easy-install.pth
  149.  
  150. Using /opt/lib/python2.7/site-packages
  151. Searching for docutils==0.7
  152. Best match: docutils 0.7
  153. docutils 0.7 is already the active version in easy-install.pth
  154.  
  155. Using /opt/lib/python2.7/site-packages
  156. Searching for greenlet==0.3.1
  157. Best match: greenlet 0.3.1
  158. greenlet 0.3.1 is already the active version in easy-install.pth
  159.  
  160. Using /opt/lib/python2.7/site-packages
  161. Searching for zope.interface==3.6.1
  162. Best match: zope.interface 3.6.1
  163. zope.interface 3.6.1 is already the active version in easy-install.pth
  164.  
  165. Using /opt/lib/python2.7/site-packages
  166. Searching for setuptools==0.6c12dev-r88124
  167. Best match: setuptools 0.6c12dev-r88124
  168. Processing setuptools-0.6c12dev_r88124-py2.7.egg
  169. Removing setuptools 0.6c11 from easy-install.pth file
  170. setuptools 0.6c12dev-r88124 is already the active version in easy-install.pth
  171. Installing easy_install script to /root/t4a-env/bin
  172. Installing easy_install-2.7 script to /root/t4a-env/bin
  173.  
  174. Using /root/t4a-env/lib/python2.7/site-packages/setuptools-0.6c12dev_r88124-py2.7.egg
  175. Finished processing dependencies for t4a-hafas==0.00-dev
  176. (t4a-env)[root@rhel6 t4a-hafas]# nosetests
  177. nose.plugins.cover: INFO: Coverage report will include only packages: ['t4a']
  178. gevent.monkey's warning: 'threading' is already imported
  179.  
  180. Failure: ImportError (No module named util.json) ... ERROR
  181. Failure: ImportError (No module named util.json) ... ERROR
  182. Failure: ImportError (No module named util.json) ... ERROR
  183. hafas_syn_conreq (t4a.hafas2.soap_client)
  184. Doctest: t4a.hafas2.soap_client.hafas_syn_conreq ... ok
  185. hafas_syn_conscrreq (t4a.hafas2.soap_client)
  186. Doctest: t4a.hafas2.soap_client.hafas_syn_conscrreq ... ok
  187. Failure: ImportError (No module named util) ... ERROR
  188. Failure: ImportError (No module named util) ... ERROR
  189.  
  190. ======================================================================
  191. ERROR: Failure: ImportError (No module named util.json)
  192. ----------------------------------------------------------------------
  193. Traceback (most recent call last):
  194. File "/opt/lib/python2.7/site-packages/nose/loader.py", line 382, in loadTestsFromName
  195. addr.filename, addr.module)
  196. File "/opt/lib/python2.7/site-packages/nose/importer.py", line 39, in importFromPath
  197. return self.importFromDir(dir_path, fqname)
  198. File "/opt/lib/python2.7/site-packages/nose/importer.py", line 86, in importFromDir
  199. mod = load_module(part_fqname, fh, filename, desc)
  200. File "/root/t4a-hafas/t4a/hafas2/daemon.py", line 10, in <module>
  201. import t4a.util.json as json
  202. ImportError: No module named util.json
  203.  
  204. ======================================================================
  205. ERROR: Failure: ImportError (No module named util.json)
  206. ----------------------------------------------------------------------
  207. Traceback (most recent call last):
  208. File "/opt/lib/python2.7/site-packages/nose/loader.py", line 382, in loadTestsFromName
  209. addr.filename, addr.module)
  210. File "/opt/lib/python2.7/site-packages/nose/importer.py", line 39, in importFromPath
  211. return self.importFromDir(dir_path, fqname)
  212. File "/opt/lib/python2.7/site-packages/nose/importer.py", line 86, in importFromDir
  213. mod = load_module(part_fqname, fh, filename, desc)
  214. File "/root/t4a-hafas/t4a/hafas2/handler.py", line 7, in <module>
  215. import t4a.util.json as json
  216. ImportError: No module named util.json
  217.  
  218. ======================================================================
  219. ERROR: Failure: ImportError (No module named util.json)
  220. ----------------------------------------------------------------------
  221. Traceback (most recent call last):
  222. File "/opt/lib/python2.7/site-packages/nose/loader.py", line 382, in loadTestsFromName
  223. addr.filename, addr.module)
  224. File "/opt/lib/python2.7/site-packages/nose/importer.py", line 39, in importFromPath
  225. return self.importFromDir(dir_path, fqname)
  226. File "/opt/lib/python2.7/site-packages/nose/importer.py", line 86, in importFromDir
  227. mod = load_module(part_fqname, fh, filename, desc)
  228. File "/root/t4a-hafas/t4a/hafas2/instance.py", line 7, in <module>
  229. import t4a.util.json as json
  230. ImportError: No module named util.json
  231.  
  232. ======================================================================
  233. ERROR: Failure: ImportError (No module named util)
  234. ----------------------------------------------------------------------
  235. Traceback (most recent call last):
  236. File "/opt/lib/python2.7/site-packages/nose/loader.py", line 382, in loadTestsFromName
  237. addr.filename, addr.module)
  238. File "/opt/lib/python2.7/site-packages/nose/importer.py", line 39, in importFromPath
  239. return self.importFromDir(dir_path, fqname)
  240. File "/opt/lib/python2.7/site-packages/nose/importer.py", line 86, in importFromDir
  241. mod = load_module(part_fqname, fh, filename, desc)
  242. File "/root/t4a-hafas/t4a/hafas2/tool.py", line 17, in <module>
  243. from t4a.util import json_iso8601_to_datetime
  244. ImportError: No module named util
  245.  
  246. ======================================================================
  247. ERROR: Failure: ImportError (No module named util)
  248. ----------------------------------------------------------------------
  249. Traceback (most recent call last):
  250. File "/opt/lib/python2.7/site-packages/nose/loader.py", line 382, in loadTestsFromName
  251. addr.filename, addr.module)
  252. File "/opt/lib/python2.7/site-packages/nose/importer.py", line 39, in importFromPath
  253. return self.importFromDir(dir_path, fqname)
  254. File "/opt/lib/python2.7/site-packages/nose/importer.py", line 86, in importFromDir
  255. mod = load_module(part_fqname, fh, filename, desc)
  256. File "/root/t4a-hafas/t4a/hafas2/worker.py", line 9, in <module>
  257. from t4a.util import json_iso8601_to_datetime
  258. ImportError: No module named util
  259.  
  260. Name Stmts Miss Cover Missing
  261. -------------------------------------------------------
  262. t4a 5 3 40% 4-6
  263. t4a.hafas2 0 0 100%
  264. t4a.hafas2.gevent_utils 36 31 14% 9-29, 34-48
  265. t4a.hafas2.kernel 153 129 16% 18, 37-46, 51-60, 71-134, 137, 142-147, 150-160, 164-171, 177-230, 235-236, 238-241, 244, 248-255, 260, 265, 270, 273-279, 283-286
  266. t4a.hafas2.soap_client 342 256 25% 15, 66, 68, 80-86, 95-122, 169, 188-192, 228, 245-246, 249, 252, 260-585, 589-602, 611-662
  267. -------------------------------------------------------
  268. TOTAL 536 419 22%
  269. ----------------------------------------------------------------------
  270. Ran 7 tests in 0.012s
  271.  
  272. FAILED (errors=5)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement