1 Feb 19:50
Re: [Cython] [cython-users] Re: How to find out where an AttributeError is ignored
On Tue, Jan 31, 2012 at 8:30 AM, mark florisson <markflorisson88 <at> gmail.com> wrote: > On 31 January 2012 02:12, Robert Bradshaw <robertwb <at> math.washington.edu> wrote: >> On Fri, Jan 27, 2012 at 1:01 PM, Stefan Behnel <stefan_ml <at> behnel.de> wrote: >>> Dag Sverre Seljebotn, 27.01.2012 21:03: >>>> On 01/27/2012 05:58 PM, Stefan Behnel wrote: >>>>> mark florisson, 27.01.2012 17:30: >>>>>> On 27 January 2012 16:22, mark florisson<markflorisson88 <at> gmail.com> wrote: >>>>>>> On 27 January 2012 15:47, Simon King<simon.king <at> uni-jena.de> wrote: >>>>>>>> Hi all, >>>>>>>> >>>>>>>> I am still *very* frustrated about the fact that Cython does not tell >>>>>>>> where the error occurs. Since about one week, I am adding lots and >>>>>>>> lots of lines into Sage that write a log into some file, so that I get >>>>>>>> at least some idea where the error occurs. But still: Even these >>>>>>>> extensive logs do not provide a hint on what exactly is happening. >>>>>>>> >>>>>>>> How can I patch Cython such that some more information on the location >>>>>>>> of the error is printed? I unpacked Sage's Cython spkg, and did "grep - >>>>>>>> R ignored .", but the code lines containing the word "ignored" did not >>>>>>>> seem to be the lines that are responsible for printing the warning >>>>>>>> message >>>>>>>> Exception AttributeError: 'PolynomialRing_field_with_category' >>>>>>>> object has no attribute '_modulus' in ignored >>>>>>>> >>>>>>>> Can you point me to the file in Sage's Cython spkg which is >>>>>>>> responsible for printing the warning? >>>>>>>> >>>>>>>> Best regards, >>>>>>>> Simon(Continue reading)
RSS Feed