Advertisement
Guest User

Untitled

a guest
Mar 8th, 2014
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 28.07 KB | None | 0 0
  1. Downloading/unpacking tardis-sn
  2. Running setup.py (path:/tmp/pip_build_rajul/tardis-sn/setup.py) egg_info for package tardis-sn
  3.  
  4. Requirement already satisfied (use --upgrade to upgrade): astropy>=0.3 in /home/rajul/.local/lib/python2.7/site-packages (from tardis-sn)
  5. Requirement already satisfied (use --upgrade to upgrade): numpy in /usr/lib/python2.7/dist-packages (from tardis-sn)
  6. Requirement already satisfied (use --upgrade to upgrade): scipy in /usr/lib/python2.7/dist-packages (from tardis-sn)
  7. Requirement already satisfied (use --upgrade to upgrade): h5py in /usr/lib/python2.7/dist-packages (from tardis-sn)
  8. Downloading/unpacking pandas>=0.12 (from tardis-sn)
  9. Running setup.py (path:/tmp/pip_build_rajul/pandas/setup.py) egg_info for package pandas
  10.  
  11. warning: no files found matching 'README.rst'
  12. no previously-included directories found matching 'doc/build'
  13. warning: no previously-included files matching '*.so' found anywhere in distribution
  14. warning: no previously-included files matching '*.pyd' found anywhere in distribution
  15. warning: no previously-included files matching '*.pyc' found anywhere in distribution
  16. warning: no previously-included files matching '.git*' found anywhere in distribution
  17. warning: no previously-included files matching '.DS_Store' found anywhere in distribution
  18. warning: no previously-included files matching '*.png' found anywhere in distribution
  19. Requirement already satisfied (use --upgrade to upgrade): pyyaml in /usr/lib/python2.7/dist-packages (from tardis-sn)
  20. Requirement already satisfied (use --upgrade to upgrade): python-dateutil in /usr/local/lib/python2.7/dist-packages (from pandas>=0.12->tardis-sn)
  21. Requirement already satisfied (use --upgrade to upgrade): pytz>=2011k in /usr/lib/python2.7/dist-packages (from pandas>=0.12->tardis-sn)
  22. Requirement already satisfied (use --upgrade to upgrade): six in /usr/local/lib/python2.7/dist-packages (from python-dateutil->pandas>=0.12->tardis-sn)
  23. Installing collected packages: tardis-sn, pandas
  24. Running setup.py install for tardis-sn
  25. cythoning tardis/montecarlo.pyx to tardis/montecarlo.c
  26.  
  27. Error compiling Cython file:
  28. ------------------------------------------------------------
  29. ...
  30. if copy_shape:
  31. # Allocate new buffer for strides and shape info.
  32. # This is allocated as one block, strides first.
  33. info.strides = <Py_ssize_t*>stdlib.malloc(sizeof(Py_ssize_t) * <size_t>ndim * 2)
  34. info.shape = info.strides + ndim
  35. for i in range(ndim):
  36. ^
  37. ------------------------------------------------------------
  38.  
  39. /usr/local/lib/python2.7/dist-packages/Cython-0.20.1post0-py2.7-linux-i686.egg/Cython/Includes/numpy/__init__.pxd:228:25: Compiler crash in AnalyseExpressionsTransform
  40.  
  41. ModuleNode.body = StatListNode(__init__.pxd:17:0)
  42. StatListNode.stats[7] = StatListNode(__init__.pxd:29:5)
  43. StatListNode.stats[0] = CDefExternNode(__init__.pxd:29:5,
  44. include_file = u'numpy/arrayobject.h')
  45. CDefExternNode.body = StatListNode(__init__.pxd:30:4)
  46. StatListNode.stats[6] = CClassDefNode(__init__.pxd:178:4,
  47. as_name = u'ndarray',
  48. class_name = u'ndarray',
  49. in_pxd = True,
  50. module_name = u'numpy',
  51. objstruct_name = u'PyArrayObject',
  52. typedef_flag = 1,
  53. visibility = u'extern')
  54. CClassDefNode.body = StatListNode(__init__.pxd:179:8)
  55. StatListNode.stats[1] = StatListNode(__init__.pxd:194:8)
  56. StatListNode.stats[0] = DefNode(__init__.pxd:194:8,
  57. modifiers = [...]/0,
  58. name = u'__getbuffer__',
  59. num_required_args = 3,
  60. py_wrapper_required = True,
  61. reqd_kw_flags_cname = '0',
  62. used = True)
  63. File 'Nodes.py', line 388, in analyse_expressions: StatListNode(__init__.pxd:200:12)
  64. File 'Nodes.py', line 5361, in analyse_expressions: IfStatNode(__init__.pxd:223:12)
  65. File 'Nodes.py', line 5404, in analyse_expressions: IfClauseNode(__init__.pxd:223:15)
  66. File 'Nodes.py', line 388, in analyse_expressions: StatListNode(__init__.pxd:226:16)
  67. File 'Nodes.py', line 5685, in analyse_expressions: ForInStatNode(__init__.pxd:228:16)
  68. File 'ExprNodes.py', line 760, in coerce_to: NextNode(__init__.pxd:228:25,
  69. is_temp = 1,
  70. result_is_used = True,
  71. use_managed_ref = True)
  72. File 'ExprNodes.py', line 10808, in __init__: CoerceFromPyTypeNode(__init__.pxd:228:25,
  73. is_temp = 1,
  74. result_is_used = True,
  75. use_managed_ref = True)
  76.  
  77. Compiler crash traceback from this point on:
  78. File "/usr/local/lib/python2.7/dist-packages/Cython-0.20.1post0-py2.7-linux-i686.egg/Cython/Compiler/ExprNodes.py", line 10808, in __init__
  79. if not result_type.create_from_py_utility_code(env):
  80. File "/usr/local/lib/python2.7/dist-packages/Cython-0.20.1post0-py2.7-linux-i686.egg/Cython/Compiler/PyrexTypes.py", line 1430, in create_from_py_utility_code
  81. "FROM_PY_FUNCTION": self.from_py_function}))
  82. File "Code.py", line 275, in Cython.Compiler.Code.UtilityCodeBase.load (/home/rajul/GSoC2014/Python/cython/Cython/Compiler/Code.c:5878)
  83. File "Code.py", line 459, in Cython.Compiler.Code.TempitaUtilityCode.__init__ (/home/rajul/GSoC2014/Python/cython/Cython/Compiler/Code.c:9272)
  84. TypeError: __init__() keywords must be strings
  85.  
  86. Error compiling Cython file:
  87. ------------------------------------------------------------
  88. ...
  89. cdef extern from *:
  90. cdef object __pyx_test_dep(object)
  91.  
  92. @cname('__pyx_TestClass')
  93. cdef class TestClass(object):
  94. cdef public int value
  95. ^
  96. ------------------------------------------------------------
  97.  
  98. TestClass:9:9: Compiler crash in AnalyseDeclarationsTransform
  99.  
  100. File 'ModuleNode.py', line 101, in analyse_declarations: ModuleNode(TestClass:4:0,
  101. full_module_name = 'TestClass')
  102. File 'Nodes.py', line 383, in analyse_declarations: StatListNode(TestClass:4:0)
  103. File 'Nodes.py', line 8130, in analyse_declarations: CnameDecoratorNode(TestClass:8:5,
  104. cname = u'__pyx_TestClass')
  105. File 'Nodes.py', line 4356, in analyse_declarations: CClassDefNode(TestClass:8:5,
  106. as_name = u'TestClass',
  107. class_name = u'TestClass',
  108. decorators = [...]/0,
  109. module_name = u'',
  110. visibility = u'private')
  111. File 'Nodes.py', line 383, in analyse_declarations: StatListNode(TestClass:9:4)
  112. File 'Nodes.py', line 1262, in analyse_declarations: CVarDefNode(TestClass:9:9,
  113. modifiers = [...]/0,
  114. visibility = u'public')
  115.  
  116. Compiler crash traceback from this point on:
  117. File "/usr/local/lib/python2.7/dist-packages/Cython-0.20.1post0-py2.7-linux-i686.egg/Cython/Compiler/Nodes.py", line 1262, in analyse_declarations
  118. api=self.api, is_cdef=1)
  119. File "/usr/local/lib/python2.7/dist-packages/Cython-0.20.1post0-py2.7-linux-i686.egg/Cython/Compiler/Symtab.py", line 1871, in declare_var
  120. type.create_from_py_utility_code(self))):
  121. File "/usr/local/lib/python2.7/dist-packages/Cython-0.20.1post0-py2.7-linux-i686.egg/Cython/Compiler/PyrexTypes.py", line 1430, in create_from_py_utility_code
  122. "FROM_PY_FUNCTION": self.from_py_function}))
  123. File "Code.py", line 275, in Cython.Compiler.Code.UtilityCodeBase.load (/home/rajul/GSoC2014/Python/cython/Cython/Compiler/Code.c:5878)
  124. File "Code.py", line 459, in Cython.Compiler.Code.TempitaUtilityCode.__init__ (/home/rajul/GSoC2014/Python/cython/Cython/Compiler/Code.c:9272)
  125. TypeError: __init__() keywords must be strings
  126.  
  127. Error compiling Cython file:
  128. ------------------------------------------------------------
  129. ...
  130. cdef class StorageModel:
  131. """
  132. Class for storing the arrays in a cythonized way (as pointers). This ensures fast access during the calculations.
  133. """
  134.  
  135. cdef float_type_t [:] packet_nus_view
  136. ^
  137. ------------------------------------------------------------
  138.  
  139. tardis/montecarlo.pyx:52:23: Compiler crash in AnalyseDeclarationsTransform
  140.  
  141. File 'ModuleNode.py', line 101, in analyse_declarations: ModuleNode(montecarlo.pyx:1:0,
  142. full_module_name = 'tardis.montecarlo')
  143. File 'Nodes.py', line 383, in analyse_declarations: StatListNode(montecarlo.pyx:7:0)
  144. File 'Nodes.py', line 383, in analyse_declarations: StatListNode(montecarlo.pyx:47:5)
  145. File 'Nodes.py', line 4356, in analyse_declarations: CClassDefNode(montecarlo.pyx:47:5,
  146. as_name = u'StorageModel',
  147. class_name = u'StorageModel',
  148. doc = u'\n Class for storing the arrays in a cythonized way (as pointers). This ensures fast access during the calculations.\n ',
  149. module_name = u'',
  150. visibility = u'private')
  151. File 'Nodes.py', line 383, in analyse_declarations: StatListNode(montecarlo.pyx:48:4)
  152. File 'Nodes.py', line 1215, in analyse_declarations: CVarDefNode(montecarlo.pyx:52:9,
  153. modifiers = [...]/0,
  154. visibility = u'private')
  155. File 'Nodes.py', line 994, in analyse: MemoryViewSliceTypeNode(montecarlo.pyx:52:23,
  156. name = 'memoryview')
  157.  
  158. Compiler crash traceback from this point on:
  159. File "/usr/local/lib/python2.7/dist-packages/Cython-0.20.1post0-py2.7-linux-i686.egg/Cython/Compiler/Nodes.py", line 990, in analyse
  160. axes_specs = MemoryView.get_axes_specs(env, self.axes)
  161. File "/usr/local/lib/python2.7/dist-packages/Cython-0.20.1post0-py2.7-linux-i686.egg/Cython/Compiler/MemoryView.py", line 626, in get_axes_specs
  162. cythonscope.load_cythonscope()
  163. File "/usr/local/lib/python2.7/dist-packages/Cython-0.20.1post0-py2.7-linux-i686.egg/Cython/Compiler/CythonScope.py", line 104, in load_cythonscope
  164. self, cython_scope=self)
  165. File "/usr/local/lib/python2.7/dist-packages/Cython-0.20.1post0-py2.7-linux-i686.egg/Cython/Compiler/UtilityCode.py", line 148, in declare_in_scope
  166. tree = self.get_tree(entries_only=True, cython_scope=cython_scope)
  167. File "/usr/local/lib/python2.7/dist-packages/Cython-0.20.1post0-py2.7-linux-i686.egg/Cython/Compiler/UtilityCode.py", line 127, in get_tree
  168. assert not err, err
  169. AssertionError:
  170. Error compiling Cython file:
  171. ------------------------------------------------------------
  172. ...
  173. cdef extern from *:
  174. cdef object __pyx_test_dep(object)
  175.  
  176. @cname('__pyx_TestClass')
  177. cdef class TestClass(object):
  178. cdef public int value
  179. ^
  180. ------------------------------------------------------------
  181.  
  182. TestClass:9:9: Compiler crash in AnalyseDeclarationsTransform
  183.  
  184. File 'ModuleNode.py', line 101, in analyse_declarations: ModuleNode(TestClass:4:0,
  185. full_module_name = 'TestClass')
  186. File 'Nodes.py', line 383, in analyse_declarations: StatListNode(TestClass:4:0)
  187. File 'Nodes.py', line 8130, in analyse_declarations: CnameDecoratorNode(TestClass:8:5,
  188. cname = u'__pyx_TestClass')
  189. File 'Nodes.py', line 4356, in analyse_declarations: CClassDefNode(TestClass:8:5,
  190. as_name = u'TestClass',
  191. class_name = u'TestClass',
  192. decorators = [...]/0,
  193. module_name = u'',
  194. visibility = u'private')
  195. File 'Nodes.py', line 383, in analyse_declarations: StatListNode(TestClass:9:4)
  196. File 'Nodes.py', line 1262, in analyse_declarations: CVarDefNode(TestClass:9:9,
  197. modifiers = [...]/0,
  198. visibility = u'public')
  199.  
  200. Compiler crash traceback from this point on:
  201. File "/usr/local/lib/python2.7/dist-packages/Cython-0.20.1post0-py2.7-linux-i686.egg/Cython/Compiler/Nodes.py", line 1262, in analyse_declarations
  202. api=self.api, is_cdef=1)
  203. File "/usr/local/lib/python2.7/dist-packages/Cython-0.20.1post0-py2.7-linux-i686.egg/Cython/Compiler/Symtab.py", line 1871, in declare_var
  204. type.create_from_py_utility_code(self))):
  205. File "/usr/local/lib/python2.7/dist-packages/Cython-0.20.1post0-py2.7-linux-i686.egg/Cython/Compiler/PyrexTypes.py", line 1430, in create_from_py_utility_code
  206. "FROM_PY_FUNCTION": self.from_py_function}))
  207. File "Code.py", line 275, in Cython.Compiler.Code.UtilityCodeBase.load (/home/rajul/GSoC2014/Python/cython/Cython/Compiler/Code.c:5878)
  208. File "Code.py", line 459, in Cython.Compiler.Code.TempitaUtilityCode.__init__ (/home/rajul/GSoC2014/Python/cython/Cython/Compiler/Code.c:9272)
  209. TypeError: __init__() keywords must be strings
  210. building 'tardis.montecarlo' extension
  211. gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/lib/python2.7/dist-packages/numpy/core/include -I/usr/include/python2.7 -c tardis/montecarlo.c -o build/temp.linux-i686-2.7/tardis/montecarlo.o
  212. tardis/montecarlo.c:1:2: error: #error Do not use this file, it is the result of a failed Cython compilation.
  213. error: command 'gcc' failed with exit status 1
  214. Complete output from command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip_build_rajul/tardis-sn/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-1RdnAS-record/install-record.txt --single-version-externally-managed --compile --user:
  215. running install
  216.  
  217. running build
  218.  
  219. running build_py
  220.  
  221. creating build
  222.  
  223. creating build/lib.linux-i686-2.7
  224.  
  225. creating build/lib.linux-i686-2.7/tardis
  226.  
  227. copying tardis/gui.py -> build/lib.linux-i686-2.7/tardis
  228.  
  229. copying tardis/parallel.py -> build/lib.linux-i686-2.7/tardis
  230.  
  231. copying tardis/simulation.py -> build/lib.linux-i686-2.7/tardis
  232.  
  233. copying tardis/model.py -> build/lib.linux-i686-2.7/tardis
  234.  
  235. copying tardis/__init__.py -> build/lib.linux-i686-2.7/tardis
  236.  
  237. copying tardis/util.py -> build/lib.linux-i686-2.7/tardis
  238.  
  239. copying tardis/packet_source.py -> build/lib.linux-i686-2.7/tardis
  240.  
  241. copying tardis/plasma_array.py -> build/lib.linux-i686-2.7/tardis
  242.  
  243. copying tardis/atomic.py -> build/lib.linux-i686-2.7/tardis
  244.  
  245. copying tardis/analysis.py -> build/lib.linux-i686-2.7/tardis
  246.  
  247. copying tardis/setup_package.py -> build/lib.linux-i686-2.7/tardis
  248.  
  249. copying tardis/version.py -> build/lib.linux-i686-2.7/tardis
  250.  
  251. creating build/lib.linux-i686-2.7/tardis/tests
  252.  
  253. copying tardis/tests/test_atomic.py -> build/lib.linux-i686-2.7/tardis/tests
  254.  
  255. copying tardis/tests/test_lte_plasma.py -> build/lib.linux-i686-2.7/tardis/tests
  256.  
  257. copying tardis/tests/__init__.py -> build/lib.linux-i686-2.7/tardis/tests
  258.  
  259. copying tardis/tests/test_plasma.py -> build/lib.linux-i686-2.7/tardis/tests
  260.  
  261. creating build/lib.linux-i686-2.7/tardis/io
  262.  
  263. copying tardis/io/model_reader.py -> build/lib.linux-i686-2.7/tardis/io
  264.  
  265. copying tardis/io/config_reader.py -> build/lib.linux-i686-2.7/tardis/io
  266.  
  267. copying tardis/io/__init__.py -> build/lib.linux-i686-2.7/tardis/io
  268.  
  269. copying tardis/io/util.py -> build/lib.linux-i686-2.7/tardis/io
  270.  
  271. copying tardis/io/setup_package.py -> build/lib.linux-i686-2.7/tardis/io
  272.  
  273. creating build/lib.linux-i686-2.7/tardis/io/tests
  274.  
  275. copying tardis/io/tests/test_config_reader.py -> build/lib.linux-i686-2.7/tardis/io/tests
  276.  
  277. copying tardis/io/tests/__init__.py -> build/lib.linux-i686-2.7/tardis/io/tests
  278.  
  279. copying tardis/io/tests/test_ascii_readers.py -> build/lib.linux-i686-2.7/tardis/io/tests
  280.  
  281. creating build/lib.linux-i686-2.7/tardis/data
  282.  
  283. copying tardis/data/tardis_example_config.yml -> build/lib.linux-i686-2.7/tardis/data
  284.  
  285. copying tardis/data/synpp_default.yaml -> build/lib.linux-i686-2.7/tardis/data
  286.  
  287. copying tardis/data/atom_data.h5 -> build/lib.linux-i686-2.7/tardis/data
  288.  
  289. copying tardis/data/atomic_symbols.dat -> build/lib.linux-i686-2.7/tardis/data
  290.  
  291. copying tardis/data/density_sets.h5 -> build/lib.linux-i686-2.7/tardis/data
  292.  
  293. copying tardis/data/lucy99_general_default.ini -> build/lib.linux-i686-2.7/tardis/data
  294.  
  295. creating build/lib.linux-i686-2.7/tardis/io/tests/data
  296.  
  297. copying tardis/io/tests/data/abund.dat -> build/lib.linux-i686-2.7/tardis/io/tests/data
  298.  
  299. copying tardis/io/tests/data/density.dat -> build/lib.linux-i686-2.7/tardis/io/tests/data
  300.  
  301. copying tardis/io/tests/data/tardis_simple_ascii_density_test.dat -> build/lib.linux-i686-2.7/tardis/io/tests/data
  302.  
  303. copying tardis/io/tests/data/artis_model.dat -> build/lib.linux-i686-2.7/tardis/io/tests/data
  304.  
  305. copying tardis/io/tests/data/artis_abundances.dat -> build/lib.linux-i686-2.7/tardis/io/tests/data
  306.  
  307. copying tardis/io/tests/data/tardis_configv1_ascii_density.yml -> build/lib.linux-i686-2.7/tardis/io/tests/data
  308.  
  309. copying tardis/io/tests/data/tardis_configv1_artis_density.yml -> build/lib.linux-i686-2.7/tardis/io/tests/data
  310.  
  311. copying tardis/io/tests/data/tardis_configv1_ascii_density_abund.yml -> build/lib.linux-i686-2.7/tardis/io/tests/data
  312.  
  313. copying tardis/io/tests/data/tardis_configv1_ascii_density_uniabund.yml -> build/lib.linux-i686-2.7/tardis/io/tests/data
  314.  
  315. copying tardis/io/tests/data/tardis_configv1_artis_density_v_slice.yml -> build/lib.linux-i686-2.7/tardis/io/tests/data
  316.  
  317. copying tardis/io/tests/data/paper1_tardis_configv1.yml -> build/lib.linux-i686-2.7/tardis/io/tests/data
  318.  
  319. running build_ext
  320.  
  321. cythoning tardis/montecarlo.pyx to tardis/montecarlo.c
  322.  
  323.  
  324.  
  325. Error compiling Cython file:
  326.  
  327. ------------------------------------------------------------
  328.  
  329. ...
  330.  
  331. if copy_shape:
  332.  
  333. # Allocate new buffer for strides and shape info.
  334.  
  335. # This is allocated as one block, strides first.
  336.  
  337. info.strides = <Py_ssize_t*>stdlib.malloc(sizeof(Py_ssize_t) * <size_t>ndim * 2)
  338.  
  339. info.shape = info.strides + ndim
  340.  
  341. for i in range(ndim):
  342.  
  343. ^
  344.  
  345. ------------------------------------------------------------
  346.  
  347.  
  348.  
  349. /usr/local/lib/python2.7/dist-packages/Cython-0.20.1post0-py2.7-linux-i686.egg/Cython/Includes/numpy/__init__.pxd:228:25: Compiler crash in AnalyseExpressionsTransform
  350.  
  351.  
  352.  
  353. ModuleNode.body = StatListNode(__init__.pxd:17:0)
  354.  
  355. StatListNode.stats[7] = StatListNode(__init__.pxd:29:5)
  356.  
  357. StatListNode.stats[0] = CDefExternNode(__init__.pxd:29:5,
  358.  
  359. include_file = u'numpy/arrayobject.h')
  360.  
  361. CDefExternNode.body = StatListNode(__init__.pxd:30:4)
  362.  
  363. StatListNode.stats[6] = CClassDefNode(__init__.pxd:178:4,
  364.  
  365. as_name = u'ndarray',
  366.  
  367. class_name = u'ndarray',
  368.  
  369. in_pxd = True,
  370.  
  371. module_name = u'numpy',
  372.  
  373. objstruct_name = u'PyArrayObject',
  374.  
  375. typedef_flag = 1,
  376.  
  377. visibility = u'extern')
  378.  
  379. CClassDefNode.body = StatListNode(__init__.pxd:179:8)
  380.  
  381. StatListNode.stats[1] = StatListNode(__init__.pxd:194:8)
  382.  
  383. StatListNode.stats[0] = DefNode(__init__.pxd:194:8,
  384.  
  385. modifiers = [...]/0,
  386.  
  387. name = u'__getbuffer__',
  388.  
  389. num_required_args = 3,
  390.  
  391. py_wrapper_required = True,
  392.  
  393. reqd_kw_flags_cname = '0',
  394.  
  395. used = True)
  396.  
  397. File 'Nodes.py', line 388, in analyse_expressions: StatListNode(__init__.pxd:200:12)
  398.  
  399. File 'Nodes.py', line 5361, in analyse_expressions: IfStatNode(__init__.pxd:223:12)
  400.  
  401. File 'Nodes.py', line 5404, in analyse_expressions: IfClauseNode(__init__.pxd:223:15)
  402.  
  403. File 'Nodes.py', line 388, in analyse_expressions: StatListNode(__init__.pxd:226:16)
  404.  
  405. File 'Nodes.py', line 5685, in analyse_expressions: ForInStatNode(__init__.pxd:228:16)
  406.  
  407. File 'ExprNodes.py', line 760, in coerce_to: NextNode(__init__.pxd:228:25,
  408.  
  409. is_temp = 1,
  410.  
  411. result_is_used = True,
  412.  
  413. use_managed_ref = True)
  414.  
  415. File 'ExprNodes.py', line 10808, in __init__: CoerceFromPyTypeNode(__init__.pxd:228:25,
  416.  
  417. is_temp = 1,
  418.  
  419. result_is_used = True,
  420.  
  421. use_managed_ref = True)
  422.  
  423.  
  424.  
  425. Compiler crash traceback from this point on:
  426.  
  427. File "/usr/local/lib/python2.7/dist-packages/Cython-0.20.1post0-py2.7-linux-i686.egg/Cython/Compiler/ExprNodes.py", line 10808, in __init__
  428.  
  429. if not result_type.create_from_py_utility_code(env):
  430.  
  431. File "/usr/local/lib/python2.7/dist-packages/Cython-0.20.1post0-py2.7-linux-i686.egg/Cython/Compiler/PyrexTypes.py", line 1430, in create_from_py_utility_code
  432.  
  433. "FROM_PY_FUNCTION": self.from_py_function}))
  434.  
  435. File "Code.py", line 275, in Cython.Compiler.Code.UtilityCodeBase.load (/home/rajul/GSoC2014/Python/cython/Cython/Compiler/Code.c:5878)
  436.  
  437. File "Code.py", line 459, in Cython.Compiler.Code.TempitaUtilityCode.__init__ (/home/rajul/GSoC2014/Python/cython/Cython/Compiler/Code.c:9272)
  438.  
  439. TypeError: __init__() keywords must be strings
  440.  
  441.  
  442.  
  443. Error compiling Cython file:
  444.  
  445. ------------------------------------------------------------
  446.  
  447. ...
  448.  
  449. cdef extern from *:
  450.  
  451. cdef object __pyx_test_dep(object)
  452.  
  453.  
  454.  
  455. @cname('__pyx_TestClass')
  456.  
  457. cdef class TestClass(object):
  458.  
  459. cdef public int value
  460.  
  461. ^
  462.  
  463. ------------------------------------------------------------
  464.  
  465.  
  466.  
  467. TestClass:9:9: Compiler crash in AnalyseDeclarationsTransform
  468.  
  469.  
  470.  
  471. File 'ModuleNode.py', line 101, in analyse_declarations: ModuleNode(TestClass:4:0,
  472.  
  473. full_module_name = 'TestClass')
  474.  
  475. File 'Nodes.py', line 383, in analyse_declarations: StatListNode(TestClass:4:0)
  476.  
  477. File 'Nodes.py', line 8130, in analyse_declarations: CnameDecoratorNode(TestClass:8:5,
  478.  
  479. cname = u'__pyx_TestClass')
  480.  
  481. File 'Nodes.py', line 4356, in analyse_declarations: CClassDefNode(TestClass:8:5,
  482.  
  483. as_name = u'TestClass',
  484.  
  485. class_name = u'TestClass',
  486.  
  487. decorators = [...]/0,
  488.  
  489. module_name = u'',
  490.  
  491. visibility = u'private')
  492.  
  493. File 'Nodes.py', line 383, in analyse_declarations: StatListNode(TestClass:9:4)
  494.  
  495. File 'Nodes.py', line 1262, in analyse_declarations: CVarDefNode(TestClass:9:9,
  496.  
  497. modifiers = [...]/0,
  498.  
  499. visibility = u'public')
  500.  
  501.  
  502.  
  503. Compiler crash traceback from this point on:
  504.  
  505. File "/usr/local/lib/python2.7/dist-packages/Cython-0.20.1post0-py2.7-linux-i686.egg/Cython/Compiler/Nodes.py", line 1262, in analyse_declarations
  506.  
  507. api=self.api, is_cdef=1)
  508.  
  509. File "/usr/local/lib/python2.7/dist-packages/Cython-0.20.1post0-py2.7-linux-i686.egg/Cython/Compiler/Symtab.py", line 1871, in declare_var
  510.  
  511. type.create_from_py_utility_code(self))):
  512.  
  513. File "/usr/local/lib/python2.7/dist-packages/Cython-0.20.1post0-py2.7-linux-i686.egg/Cython/Compiler/PyrexTypes.py", line 1430, in create_from_py_utility_code
  514.  
  515. "FROM_PY_FUNCTION": self.from_py_function}))
  516.  
  517. File "Code.py", line 275, in Cython.Compiler.Code.UtilityCodeBase.load (/home/rajul/GSoC2014/Python/cython/Cython/Compiler/Code.c:5878)
  518.  
  519. File "Code.py", line 459, in Cython.Compiler.Code.TempitaUtilityCode.__init__ (/home/rajul/GSoC2014/Python/cython/Cython/Compiler/Code.c:9272)
  520.  
  521. TypeError: __init__() keywords must be strings
  522.  
  523.  
  524.  
  525. Error compiling Cython file:
  526.  
  527. ------------------------------------------------------------
  528.  
  529. ...
  530.  
  531. cdef class StorageModel:
  532.  
  533. """
  534.  
  535. Class for storing the arrays in a cythonized way (as pointers). This ensures fast access during the calculations.
  536.  
  537. """
  538.  
  539.  
  540.  
  541. cdef float_type_t [:] packet_nus_view
  542.  
  543. ^
  544.  
  545. ------------------------------------------------------------
  546.  
  547.  
  548.  
  549. tardis/montecarlo.pyx:52:23: Compiler crash in AnalyseDeclarationsTransform
  550.  
  551.  
  552.  
  553. File 'ModuleNode.py', line 101, in analyse_declarations: ModuleNode(montecarlo.pyx:1:0,
  554.  
  555. full_module_name = 'tardis.montecarlo')
  556.  
  557. File 'Nodes.py', line 383, in analyse_declarations: StatListNode(montecarlo.pyx:7:0)
  558.  
  559. File 'Nodes.py', line 383, in analyse_declarations: StatListNode(montecarlo.pyx:47:5)
  560.  
  561. File 'Nodes.py', line 4356, in analyse_declarations: CClassDefNode(montecarlo.pyx:47:5,
  562.  
  563. as_name = u'StorageModel',
  564.  
  565. class_name = u'StorageModel',
  566.  
  567. doc = u'\n Class for storing the arrays in a cythonized way (as pointers). This ensures fast access during the calculations.\n ',
  568.  
  569. module_name = u'',
  570.  
  571. visibility = u'private')
  572.  
  573. File 'Nodes.py', line 383, in analyse_declarations: StatListNode(montecarlo.pyx:48:4)
  574.  
  575. File 'Nodes.py', line 1215, in analyse_declarations: CVarDefNode(montecarlo.pyx:52:9,
  576.  
  577. modifiers = [...]/0,
  578.  
  579. visibility = u'private')
  580.  
  581. File 'Nodes.py', line 994, in analyse: MemoryViewSliceTypeNode(montecarlo.pyx:52:23,
  582.  
  583. name = 'memoryview')
  584.  
  585.  
  586.  
  587. Compiler crash traceback from this point on:
  588.  
  589. File "/usr/local/lib/python2.7/dist-packages/Cython-0.20.1post0-py2.7-linux-i686.egg/Cython/Compiler/Nodes.py", line 990, in analyse
  590.  
  591. axes_specs = MemoryView.get_axes_specs(env, self.axes)
  592.  
  593. File "/usr/local/lib/python2.7/dist-packages/Cython-0.20.1post0-py2.7-linux-i686.egg/Cython/Compiler/MemoryView.py", line 626, in get_axes_specs
  594.  
  595. cythonscope.load_cythonscope()
  596.  
  597. File "/usr/local/lib/python2.7/dist-packages/Cython-0.20.1post0-py2.7-linux-i686.egg/Cython/Compiler/CythonScope.py", line 104, in load_cythonscope
  598.  
  599. self, cython_scope=self)
  600.  
  601. File "/usr/local/lib/python2.7/dist-packages/Cython-0.20.1post0-py2.7-linux-i686.egg/Cython/Compiler/UtilityCode.py", line 148, in declare_in_scope
  602.  
  603. tree = self.get_tree(entries_only=True, cython_scope=cython_scope)
  604.  
  605. File "/usr/local/lib/python2.7/dist-packages/Cython-0.20.1post0-py2.7-linux-i686.egg/Cython/Compiler/UtilityCode.py", line 127, in get_tree
  606.  
  607. assert not err, err
  608.  
  609. AssertionError:
  610.  
  611. Error compiling Cython file:
  612.  
  613. ------------------------------------------------------------
  614.  
  615. ...
  616.  
  617. cdef extern from *:
  618.  
  619. cdef object __pyx_test_dep(object)
  620.  
  621.  
  622.  
  623. @cname('__pyx_TestClass')
  624.  
  625. cdef class TestClass(object):
  626.  
  627. cdef public int value
  628.  
  629. ^
  630.  
  631. ------------------------------------------------------------
  632.  
  633.  
  634.  
  635. TestClass:9:9: Compiler crash in AnalyseDeclarationsTransform
  636.  
  637.  
  638.  
  639. File 'ModuleNode.py', line 101, in analyse_declarations: ModuleNode(TestClass:4:0,
  640.  
  641. full_module_name = 'TestClass')
  642.  
  643. File 'Nodes.py', line 383, in analyse_declarations: StatListNode(TestClass:4:0)
  644.  
  645. File 'Nodes.py', line 8130, in analyse_declarations: CnameDecoratorNode(TestClass:8:5,
  646.  
  647. cname = u'__pyx_TestClass')
  648.  
  649. File 'Nodes.py', line 4356, in analyse_declarations: CClassDefNode(TestClass:8:5,
  650.  
  651. as_name = u'TestClass',
  652.  
  653. class_name = u'TestClass',
  654.  
  655. decorators = [...]/0,
  656.  
  657. module_name = u'',
  658.  
  659. visibility = u'private')
  660.  
  661. File 'Nodes.py', line 383, in analyse_declarations: StatListNode(TestClass:9:4)
  662.  
  663. File 'Nodes.py', line 1262, in analyse_declarations: CVarDefNode(TestClass:9:9,
  664.  
  665. modifiers = [...]/0,
  666.  
  667. visibility = u'public')
  668.  
  669.  
  670.  
  671. Compiler crash traceback from this point on:
  672.  
  673. File "/usr/local/lib/python2.7/dist-packages/Cython-0.20.1post0-py2.7-linux-i686.egg/Cython/Compiler/Nodes.py", line 1262, in analyse_declarations
  674.  
  675. api=self.api, is_cdef=1)
  676.  
  677. File "/usr/local/lib/python2.7/dist-packages/Cython-0.20.1post0-py2.7-linux-i686.egg/Cython/Compiler/Symtab.py", line 1871, in declare_var
  678.  
  679. type.create_from_py_utility_code(self))):
  680.  
  681. File "/usr/local/lib/python2.7/dist-packages/Cython-0.20.1post0-py2.7-linux-i686.egg/Cython/Compiler/PyrexTypes.py", line 1430, in create_from_py_utility_code
  682.  
  683. "FROM_PY_FUNCTION": self.from_py_function}))
  684.  
  685. File "Code.py", line 275, in Cython.Compiler.Code.UtilityCodeBase.load (/home/rajul/GSoC2014/Python/cython/Cython/Compiler/Code.c:5878)
  686.  
  687. File "Code.py", line 459, in Cython.Compiler.Code.TempitaUtilityCode.__init__ (/home/rajul/GSoC2014/Python/cython/Cython/Compiler/Code.c:9272)
  688.  
  689. TypeError: __init__() keywords must be strings
  690.  
  691. building 'tardis.montecarlo' extension
  692.  
  693. creating build/temp.linux-i686-2.7
  694.  
  695. creating build/temp.linux-i686-2.7/tardis
  696.  
  697. creating build/temp.linux-i686-2.7/tardis/randomkit
  698.  
  699. gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/lib/python2.7/dist-packages/numpy/core/include -I/usr/include/python2.7 -c tardis/montecarlo.c -o build/temp.linux-i686-2.7/tardis/montecarlo.o
  700.  
  701. tardis/montecarlo.c:1:2: error: #error Do not use this file, it is the result of a failed Cython compilation.
  702.  
  703. error: command 'gcc' failed with exit status 1
  704.  
  705. ----------------------------------------
  706. Cleaning up...
  707. Command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip_build_rajul/tardis-sn/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-1RdnAS-record/install-record.txt --single-version-externally-managed --compile --user failed with error code 1 in /tmp/pip_build_rajul/tardis-sn
  708. Storing debug log for failure in /home/rajul/.pip/pip.log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement