[sage-devel] Re: Help me in debugging
On 25 Mai, 11:30, Kwankyu Lee ekwan...@gmail.com wrote: Hi, I am debugging a patch of my own. Perhaps due to the patch, I get the following strange doctest failure. sage -t 4.4.2/devel/sage-main/sage/modules/free_module.py ** File /Users/Kwankyu/Sage/sage-4.4.2/devel/sage-main/sage/modules/ free_module.py, line 1125: sage: V.base_extend(QQ) Expected: Vector space of dimension 7 over Rational Field Got: V ** 1 items had failures: 1 of 4 in __main__.example_23 ***Test Failed*** 1 failures. For whitespace errors, see the file /Users/Kwankyu/.sage// tmp/.doctest_free_module.py [16.8 s] -- The following tests failed: sage -t 4.4.2/devel/sage-main/sage/modules/free_module.py Total time for all tests: 16.8 seconds However, if I type in the exactly same doctest found in lines 1124-1125 of free_module.py, then I get the correct result instead of just V, as you see below. athena:sage-main Kwankyu$ sage -- | Sage Version 4.4.2, Release Date: 2010-05-19 | | Type notebook() for the GUI, and license() for information. | -- sage: V = ZZ^7 sage: V.base_extend(QQ) Vector space of dimension 7 over Rational Field sage: How possibly could this happen? Why I get a different result in doctesting? I seek of your expertise. Thank you in advance. This is a known issue, and most probably ;-) not related to your patch: See e.g. http://groups.google.com/group/sage-release/msg/dac6cb862ecf6a8e -Leif -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org
[sage-devel] Re: Help me in debugging
On 25 Mai, 11:41, leif not.rea...@online.de wrote: This is a known issue, and most probably ;-) not related to your patch: See e.g.http://groups.google.com/group/sage-release/msg/dac6cb862ecf6a8e Direct link to the ticket: http://trac.sagemath.org/sage_trac/ticket/9003 -Leif -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org
[sage-devel] Re: Help me in debugging
Hi Leif, This doctest failure did not occur without applying my own patch, so I thought my patch was the cause. A weird bug indeed... Thank you for the pointers. Kwankyu -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org
[sage-devel] Re: Help me in debugging
On 25 Mai, 14:01, Kwankyu Lee ekwan...@gmail.com wrote: This doctest failure did not occur without applying my own patch, so I thought my patch was the cause. A weird bug indeed... Interesting. Is this behavior reproducable (i.e. present in all test runs)? Is your patch on trac? This could help narrowing the origin. And what system are you on? (I guess it's some MacOS; CPU, 32bit?) It wouldn't be bad if you add this information to http://trac.sagemath.org/sage_trac/ticket/9003 -Leif -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org
[sage-devel] Re: Help me in debugging
On May 25, 8:39 am, leif not.rea...@online.de wrote: On 25 Mai, 14:01, Kwankyu Lee ekwan...@gmail.com wrote: This doctest failure did not occur without applying my own patch, so I thought my patch was the cause. A weird bug indeed... Interesting. Is this behavior reproducable (i.e. present in all test runs)? Yes, please do put any and all information on that Trac ticket. According to the updates there, it seems like there may be something weird about the doctest framework. Do you get any problems when running the doctests manually (i.e., from the command line in sequential order)? - kcrisman Is your patch on trac? This could help narrowing the origin. And what system are you on? (I guess it's some MacOS; CPU, 32bit?) It wouldn't be bad if you add this information tohttp://trac.sagemath.org/sage_trac/ticket/9003 -Leif -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group athttp://groups.google.com/group/sage-devel URL:http://www.sagemath.org -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org
[sage-devel] Re: Help me in debugging
Added information to the ticket http://trac.sagemath.org/sage_trac/ticket/9003 Kwankyu Lee -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org