I will need some time to understand the situation better. I wanted to
reproduce the error to make sure I find a good minimal example, but
now it doesn't show up. William had a traceback that I copy below. I
was able to reproduce the problem even by

from
psage.modform.fourier_expansion_framework.monoidpowerseries.monoidpowerseries_ring
import *
from
psage.modform.fourier_expansion_framework.monoidpowerseries.monoidpowerseries_basicmonoids
import *
emps = EquivariantMonoidPowerSeriesRing( NNMonoid(),
TrivialCharacterMonoid("1", QQ), TrivialRepresentation("1", QQ) )
emps.one_element() / 2
BOOM

But this now works just like the issue that Wiliam's originally has
risen. Without changing code. So I have to think about what happened,
before I can give you an example. Definitely #9944 is a candidate to
cause this. This might be something about caching coercions, in which
case it would matter which code is executed before I run the example
above. Just speculating. I hope to come back soon with a minimal
example.

Martin

File
>> "/Users/wstein/purple/library/stable/psage/modform/jacobiforms/jacobiformd1nn_fegenerators.py",
>> line 168:
>>     sage: neh = eh - em.0.fourier_expansion() * 7 / 66 -
>> em.1.fourier_expansion() * 4480
>> Exception raised:
>>     Traceback (most recent call last):
>>       File "/Users/wstein/sage/install/current/local/bin/ncadoctest.py",
>> line 1231, in run_one_test
>>         self.run_one_example(test, example, filename, compileflags)
>>       File "/Users/wstein/sage/install/current/local/bin/sagedoctest.py",
>> line 38, in run_one_example
>>         OrigDocTestRunner.run_one_example(self, test, example,
>> filename, compileflags)
>>       File "/Users/wstein/sage/install/current/local/bin/ncadoctest.py",
>> line 1172, in run_one_example
>>         compileflags, 1) in test.globs
>>       File "<doctest __main__.example_3[16]>", line 1, in<module>
>>         neh = eh - em.gen(0).fourier_expansion() * Integer(7) /
>> Integer(66) - em.gen(1).fourier_expansion() * Integer(4480)###line
>> 168:
>>     sage: neh = eh - em.0.fourier_expansion() * 7 / 66 -
>> em.1.fourier_expansion() * 4480
>>       File "element.pyx", line 1551, in
>> sage.structure.element.RingElement.__div__
>> (sage/structure/element.c:12000)
>>       File "coerce.pyx", line 765, in
>> sage.structure.coerce.CoercionModel_cache_maps.bin_op
>> (sage/structure/coerce.c:6996)
>>     TypeError: unsupported operand parent(s) for '/': 'Module of
>> equivariant monoid power series over Jacobi Fourier indices for index
>> 2 forms' and 'Integer Ring'
>>

-- 
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

Reply via email to