Hi,

The output is indeed

sage -t -verbose "jacobiforms/jacobiformd1nn_fegenerators.py"
Traceback (most recent call last):
  File "/home/martin/.sage//
tmp/.doctest_jacobiformd1nn_fegenerators.py", line 18, in <module>
    from jacobiformd1nn_fegenerators import *
  File "/home/martin/.sage/tmp/jacobiformd1nn_fegenerators.py", line
24, in <module>
    from
fourier_expansion_framework.monoidpowerseries.monoidpowerseries_lazyelement
import EquivariantMonoidPowerSeries_lazy
ImportError: No module named
fourier_expansion_framework.monoidpowerseries.monoidpowerseries_lazyelement
         [1.3 s]

----------------------------------------------------------------------
The following tests failed:


        sage -t -verbose "jacobiforms/jacobiformd1nn_fegenerators.py"
Total time for all tests: 1.3 seconds

So, it's an issue with imports. By chance I just saw #3784. So I
proceeded by putting my working directory in /local/bin/sage-env to
PYTHONHOME and PYTHONPATH (which is clearly a bad hack). Now, starting
Sage in an arbitrary directory I can import all my code. So far so
good. I tried to run the tests, but still get the import error.
Honestly, I don't understand this. Does anyone have an idea?

Martin

On 28 Mai, 23:32, "Georg S. Weber" <georgswe...@googlemail.com> wrote:
> On 27 Mai, 21:40, Martin Raum <martin.r...@matha.rwth-aachen.de>
> wrote:
>
>
>
> > Hi all,
>
> > I've got an extern project, namely, which is not currently part of the
> > Sage tree. Now, I want to start using doctests and I wonder how to do
> > it. Sage reports a mysterious error.
> >     sage -t  "jacobiforms/jacobiformd1nn_fegenerators.py" # Segfault
>
> > The point is, this even happens if I remove all tests. The module can
> > be imported properly and has been perfectly working for some weeks.
>
> > A guess is an issue with import, since I need some other files in
> > another subpackage and the syntax of sage -t looks like Sage is
> > actually changing the current working directory. Can this be true and
> > how could I fix this? Since simply starting Sage then typing
> >     from jacobiforms.jacobiformd1nn_fegenerators import *
> > works fine.
>
> > Thanks a lot for your help!
> > Martin
>
> Hi,
>
> what is the output of " sage -t -verbose "jacobiforms/
> jacobiformd1nn_fegenerators.py" "?
>
> Cheers,
> Georg

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