Advertisement
Guest User

sage trac 11751 errors

a guest
Aug 31st, 2011
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.80 KB | None | 0 0
  1. mderickx@sage:/mnt/usb1/scratch/mderickx/sage-4.7.2.alpha2/devel/sage$ ../../sage -tp 20 sage/modules
  2. Testing that Sage starts...
  3. Yes, Sage starts.
  4. Global iterations: 1
  5. File iterations: 1
  6. Using cached timings to run longest doctests first.
  7. Doctesting 34 files doing 20 jobs in parallel
  8. sage -t sage/modules/vector_complex_double_dense.pyx
  9. [4.3 s]
  10. sage -t sage/modules/complex_double_vector.py
  11. [4.3 s]
  12. sage -t sage/modules/vector_callable_symbolic_dense.py
  13. [4.3 s]
  14. sage -t sage/modules/free_module_homspace.py
  15. [4.4 s]
  16. sage -t sage/modules/vector_real_double_dense.pyx
  17. [4.4 s]
  18. sage -t sage/modules/vector_symbolic_dense.py
  19. [4.5 s]
  20. sage -t sage/modules/free_quadratic_module.py
  21. [4.6 s]
  22. sage -t sage/modules/fg_pid/fgp_element.py
  23. **********************************************************************
  24. File "/mnt/usb1/scratch/mderickx/sage-4.7.2.alpha2/devel/sage-main/sage/modules/fg_pid/fgp_element.py", line 121:
  25. sage: v.parent()
  26. Expected:
  27. Ambient free module of rank 1 over the principal ideal domain Integer Ring
  28. Got:
  29. Free module of degree 1 and rank 1 over Integer Ring
  30. User basis matrix:
  31. [1]
  32. **********************************************************************
  33. File "/mnt/usb1/scratch/mderickx/sage-4.7.2.alpha2/devel/sage-main/sage/modules/fg_pid/fgp_element.py", line 164:
  34. sage: Q.0 + V.0
  35. Exception raised:
  36. Traceback (most recent call last):
  37. File "/home/mderickx/.sage/tmp/ncadoctest.py", line 1231, in run_one_test
  38. self.run_one_example(test, example, filename, compileflags)
  39. File "/home/mderickx/.sage/tmp/sagedoctest.py", line 38, in run_one_example
  40. OrigDocTestRunner.run_one_example(self, test, example, filename, compileflags)
  41. File "/home/mderickx/.sage/tmp/ncadoctest.py", line 1172, in run_one_example
  42. compileflags, 1) in test.globs
  43. File "<doctest __main__.example_5[10]>", line 1, in <module>
  44. Q.gen(0) + V.gen(0)###line 164:
  45. sage: Q.0 + V.0
  46. File "element.pyx", line 983, in sage.structure.element.ModuleElement.__add__ (sage/structure/element.c:7898)
  47. File "coerce.pyx", line 743, in sage.structure.coerce.CoercionModel_cache_maps.bin_op (sage/structure/coerce.c:6593)
  48. File "element.pyx", line 980, in sage.structure.element.ModuleElement.__add__ (sage/structure/element.c:7872)
  49. File "element.pyx", line 985, in sage.structure.element.ModuleElement._add_ (sage/structure/element.c:7951)
  50. File "/mnt/usb1/scratch/mderickx/sage-4.7.2.alpha2/local/lib/python/site-packages/sage/modules/fg_pid/fgp_element.py", line 174, in _add_
  51. return P.element_class(P, self._x + other._x)
  52. File "element.pyx", line 983, in sage.structure.element.ModuleElement.__add__ (sage/structure/element.c:7898)
  53. File "coerce.pyx", line 742, in sage.structure.coerce.CoercionModel_cache_maps.bin_op (sage/structure/coerce.c:6575)
  54. File "coerce.pyx", line 878, in sage.structure.coerce.CoercionModel_cache_maps.canonical_coercion (sage/structure/coerce.c:8091)
  55. File "coerce.pyx", line 1417, in sage.structure.coerce.CoercionModel_cache_maps._coercion_error (sage/structure/coerce.c:13968)
  56. RuntimeError: There is a bug in the coercion code in Sage.
  57. Both x (=(0, 0, 1)) and y (=(1/2, 0, 0)) are supposed to have identical parents but they don't.
  58. In fact, x has parent 'Free module of degree 3 and rank 3 over Integer Ring
  59. Echelon basis matrix:
  60. [1/2 0 0]
  61. [ 0 1 0]
  62. [ 0 0 1]'
  63. whereas y has parent 'Free module of degree 3 and rank 3 over Integer Ring
  64. Echelon basis matrix:
  65. [1/2 0 0]
  66. [ 0 1 0]
  67. [ 0 0 1]'
  68. Original elements (0, 0, 1) (parent Free module of degree 3 and rank 3 over Integer Ring
  69. Echelon basis matrix:
  70. [1/2 0 0]
  71. [ 0 1 0]
  72. [ 0 0 1]) and (1/2, 0, 0) (parent Free module of degree 3 and rank 3 over Integer Ring
  73. Echelon basis matrix:
  74. [1/2 0 0]
  75. [ 0 1 0]
  76. [ 0 0 1]) and maps
  77. <type 'NoneType'> None
  78. <type 'sage.categories.morphism.CallMorphism'> Call morphism:
  79. From: Free module of degree 3 and rank 3 over Integer Ring
  80. Echelon basis matrix:
  81. [1/2 0 0]
  82. [ 0 1 0]
  83. [ 0 0 1]
  84. To: Free module of degree 3 and rank 3 over Integer Ring
  85. Echelon basis matrix:
  86. [1/2 0 0]
  87. [ 0 1 0]
  88. [ 0 0 1]
  89. **********************************************************************
  90. File "/mnt/usb1/scratch/mderickx/sage-4.7.2.alpha2/devel/sage-main/sage/modules/fg_pid/fgp_element.py", line 166:
  91. sage: V.0 + Q.0
  92. Exception raised:
  93. Traceback (most recent call last):
  94. File "/home/mderickx/.sage/tmp/ncadoctest.py", line 1231, in run_one_test
  95. self.run_one_example(test, example, filename, compileflags)
  96. File "/home/mderickx/.sage/tmp/sagedoctest.py", line 38, in run_one_example
  97. OrigDocTestRunner.run_one_example(self, test, example, filename, compileflags)
  98. File "/home/mderickx/.sage/tmp/ncadoctest.py", line 1172, in run_one_example
  99. compileflags, 1) in test.globs
  100. File "<doctest __main__.example_5[11]>", line 1, in <module>
  101. V.gen(0) + Q.gen(0)###line 166:
  102. sage: V.0 + Q.0
  103. File "element.pyx", line 983, in sage.structure.element.ModuleElement.__add__ (sage/structure/element.c:7898)
  104. File "coerce.pyx", line 743, in sage.structure.coerce.CoercionModel_cache_maps.bin_op (sage/structure/coerce.c:6593)
  105. File "element.pyx", line 980, in sage.structure.element.ModuleElement.__add__ (sage/structure/element.c:7872)
  106. File "element.pyx", line 985, in sage.structure.element.ModuleElement._add_ (sage/structure/element.c:7951)
  107. File "/mnt/usb1/scratch/mderickx/sage-4.7.2.alpha2/local/lib/python/site-packages/sage/modules/fg_pid/fgp_element.py", line 174, in _add_
  108. return P.element_class(P, self._x + other._x)
  109. File "element.pyx", line 983, in sage.structure.element.ModuleElement.__add__ (sage/structure/element.c:7898)
  110. File "coerce.pyx", line 742, in sage.structure.coerce.CoercionModel_cache_maps.bin_op (sage/structure/coerce.c:6575)
  111. File "coerce.pyx", line 878, in sage.structure.coerce.CoercionModel_cache_maps.canonical_coercion (sage/structure/coerce.c:8091)
  112. File "coerce.pyx", line 1417, in sage.structure.coerce.CoercionModel_cache_maps._coercion_error (sage/structure/coerce.c:13968)
  113. RuntimeError: There is a bug in the coercion code in Sage.
  114. Both x (=(1/2, 0, 0)) and y (=(0, 0, 1)) are supposed to have identical parents but they don't.
  115. In fact, x has parent 'Free module of degree 3 and rank 3 over Integer Ring
  116. Echelon basis matrix:
  117. [1/2 0 0]
  118. [ 0 1 0]
  119. [ 0 0 1]'
  120. whereas y has parent 'Free module of degree 3 and rank 3 over Integer Ring
  121. Echelon basis matrix:
  122. [1/2 0 0]
  123. [ 0 1 0]
  124. [ 0 0 1]'
  125. Original elements (1/2, 0, 0) (parent Free module of degree 3 and rank 3 over Integer Ring
  126. Echelon basis matrix:
  127. [1/2 0 0]
  128. [ 0 1 0]
  129. [ 0 0 1]) and (0, 0, 1) (parent Free module of degree 3 and rank 3 over Integer Ring
  130. Echelon basis matrix:
  131. [1/2 0 0]
  132. [ 0 1 0]
  133. [ 0 0 1]) and maps
  134. <type 'NoneType'> None
  135. <type 'sage.categories.morphism.CallMorphism'> Call morphism:
  136. From: Free module of degree 3 and rank 3 over Integer Ring
  137. Echelon basis matrix:
  138. [1/2 0 0]
  139. [ 0 1 0]
  140. [ 0 0 1]
  141. To: Free module of degree 3 and rank 3 over Integer Ring
  142. Echelon basis matrix:
  143. [1/2 0 0]
  144. [ 0 1 0]
  145. [ 0 0 1]
  146. **********************************************************************
  147. 2 items had failures:
  148. 1 of 17 in __main__.example_3
  149. 2 of 15 in __main__.example_5
  150. ***Test Failed*** 3 failures.
  151. For whitespace errors, see the file /home/mderickx/.sage//tmp/.doctest_fgp_element.py
  152. [4.6 s]
  153. sage -t sage/modules/vector_rational_dense.pyx
  154. [4.6 s]
  155. sage -t sage/modules/quotient_module.py
  156. **********************************************************************
  157. File "/mnt/usb1/scratch/mderickx/sage-4.7.2.alpha2/devel/sage-main/sage/modules/quotient_module.py", line 238:
  158. sage: Q.0 + V.1
  159. Exception raised:
  160. Traceback (most recent call last):
  161. File "/home/mderickx/.sage/tmp/ncadoctest.py", line 1231, in run_one_test
  162. self.run_one_example(test, example, filename, compileflags)
  163. File "/home/mderickx/.sage/tmp/sagedoctest.py", line 38, in run_one_example
  164. OrigDocTestRunner.run_one_example(self, test, example, filename, compileflags)
  165. File "/home/mderickx/.sage/tmp/ncadoctest.py", line 1172, in run_one_example
  166. compileflags, 1) in test.globs
  167. File "<doctest __main__.example_7[7]>", line 1, in <module>
  168. Q.gen(0) + V.gen(1)###line 238:
  169. sage: Q.0 + V.1
  170. File "element.pyx", line 983, in sage.structure.element.ModuleElement.__add__ (sage/structure/element.c:7898)
  171. File "coerce.pyx", line 742, in sage.structure.coerce.CoercionModel_cache_maps.bin_op (sage/structure/coerce.c:6575)
  172. File "coerce.pyx", line 878, in sage.structure.coerce.CoercionModel_cache_maps.canonical_coercion (sage/structure/coerce.c:8091)
  173. File "coerce.pyx", line 1417, in sage.structure.coerce.CoercionModel_cache_maps._coercion_error (sage/structure/coerce.c:13968)
  174. RuntimeError: There is a bug in the coercion code in Sage.
  175. Both x (=(1, 0)) and y (=(1, 0)) are supposed to have identical parents but they don't.
  176. In fact, x has parent 'Vector space quotient V/W of dimension 2 over Rational Field where
  177. V: Vector space of dimension 3 over Rational Field
  178. W: Vector space of degree 3 and dimension 1 over Rational Field
  179. Basis matrix:
  180. [1 0 0]'
  181. whereas y has parent 'Vector space of dimension 2 over Rational Field'
  182. Original elements (1, 0) (parent Vector space quotient V/W of dimension 2 over Rational Field where
  183. V: Vector space of dimension 3 over Rational Field
  184. W: Vector space of degree 3 and dimension 1 over Rational Field
  185. Basis matrix:
  186. [1 0 0]) and (0, 1, 0) (parent Vector space of dimension 3 over Rational Field) and maps
  187. <type 'NoneType'> None
  188. <type 'sage.categories.morphism.CallMorphism'> Call morphism:
  189. From: Vector space of dimension 3 over Rational Field
  190. To: Vector space quotient V/W of dimension 2 over Rational Field where
  191. V: Vector space of dimension 3 over Rational Field
  192. W: Vector space of degree 3 and dimension 1 over Rational Field
  193. Basis matrix:
  194. [1 0 0]
  195. **********************************************************************
  196. 1 items had failures:
  197. 1 of 11 in __main__.example_7
  198. ***Test Failed*** 1 failures.
  199. For whitespace errors, see the file /home/mderickx/.sage//tmp/.doctest_quotient_module.py
  200. [4.7 s]
  201. sage -t sage/modules/module_element.py
  202. [0.1 s]
  203. sage -t sage/modules/__init__.py
  204. [0.1 s]
  205. sage -t sage/modules/all.py
  206. [0.1 s]
  207. sage -t sage/modules/vector_integer_sparse_h.pxi
  208. [0.1 s]
  209. sage -t sage/modules/matrix_morphism.py
  210. [4.8 s]
  211. sage -t sage/modules/vector_modn_sparse_h.pxi
  212. [0.1 s]
  213. sage -t sage/modules/vector_rational_sparse_h.pxi
  214. [0.1 s]
  215. sage -t sage/modules/vector_double_dense.pyx
  216. [4.9 s]
  217. sage -t sage/modules/fg_pid/__init__.py
  218. [0.1 s]
  219. sage -t sage/modules/vector_integer_dense.pyx
  220. [5.0 s]
  221. sage -t sage/modules/vector_modn_dense.pyx
  222. [5.1 s]
  223. sage -t sage/modules/free_module_morphism.py
  224. [5.2 s]
  225. sage -t sage/modules/fg_pid/fgp_morphism.py
  226. [5.5 s]
  227. sage -t sage/modules/vector_mod2_dense.pyx
  228. [7.0 s]
  229. sage -t sage/modules/binary_search.pxi
  230. [3.3 s]
  231. sage -t sage/modules/misc.py
  232. [3.4 s]
  233. sage -t sage/modules/vector_modn_sparse_c.pxi
  234. [3.4 s]
  235. sage -t sage/modules/vector_integer_sparse_c.pxi
  236. [3.3 s]
  237. sage -t sage/modules/real_double_vector.py
  238. [3.6 s]
  239. sage -t sage/modules/vector_rational_sparse_c.pxi
  240. [3.4 s]
  241. sage -t sage/modules/module.pyx
  242. [3.8 s]
  243. sage -t sage/modules/fg_pid/fgp_module.py
  244. [9.6 s]
  245. sage -t sage/modules/free_module_element.pyx
  246. **********************************************************************
  247. File "/mnt/usb1/scratch/mderickx/sage-4.7.2.alpha2/devel/sage-main/sage/modules/free_module_element.pyx", line 2413:
  248. sage: w.parent()
  249. Expected:
  250. Ambient quadratic space of dimension 2 over Complex Double Field
  251. Inner product matrix:
  252. [2.0 1.0]
  253. [1.0 5.0]
  254. Got:
  255. Vector space of dimension 2 over Complex Double Field
  256. **********************************************************************
  257. File "/mnt/usb1/scratch/mderickx/sage-4.7.2.alpha2/devel/sage-main/sage/modules/free_module_element.pyx", line 2418:
  258. sage: w.conjugate().parent()
  259. Expected:
  260. Ambient quadratic space of dimension 2 over Complex Double Field
  261. Inner product matrix:
  262. [2.0 1.0]
  263. [1.0 5.0]
  264. Got:
  265. Vector space of dimension 2 over Complex Double Field
  266. **********************************************************************
  267. File "/mnt/usb1/scratch/mderickx/sage-4.7.2.alpha2/devel/sage-main/sage/modules/free_module_element.pyx", line 2504:
  268. sage: w.inner_product(v)
  269. Expected:
  270. 88
  271. Got:
  272. 0
  273. **********************************************************************
  274. 2 items had failures:
  275. 2 of 25 in __main__.example_56
  276. 1 of 26 in __main__.example_57
  277. ***Test Failed*** 3 failures.
  278. For whitespace errors, see the file /home/mderickx/.sage//tmp/.doctest_free_module_element.py
  279. [10.3 s]
  280. sage -t sage/modules/free_module.py
  281. [14.6 s]
  282.  
  283. ----------------------------------------------------------------------
  284.  
  285. The following tests failed:
  286.  
  287. sage -t devel/sage-main/sage/modules/fg_pid/fgp_element.py # 3 doctests failed
  288. sage -t devel/sage-main/sage/modules/quotient_module.py # 1 doctests failed
  289. sage -t devel/sage-main/sage/modules/free_module_element.pyx # 3 doctests failed
  290. ----------------------------------------------------------------------
  291. Timings have been updated.
  292. Total time for all tests: 14.9 seconds
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement