Hi,

I used the following code:

  /home/sbutt/frg/lcalc/ap-to-an.sage

adapted from Craig's code on sage.math and it ran perfectly well on v.
3.3.alpha3 (though it did complain about the data being stored in an
old format). But on mod.math (sage v. 3.2.3), I get the error posted
below. It seems 3.2.3 can't load the object for some reason. Any
ideas?

Thanks,
Sal

sage: write_lcalc(100,2,10000,RR)
using incorrect naming of output files
---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call
last)

/home/sbutt/.sage/temp/mod/14071/
_home_sbutt_frg_lcalc_ap_to_an_sage_0.py in <module>()
----> 1
      2
      3
      4
      5

/home/sbutt/.sage/temp/mod/14071/
_home_sbutt_frg_lcalc_ap_to_an_sage_0.py in write_lcalc(level, weight,
n, base_ring, num_zeros)
     85         raise ValueError, "file %s does not exist"%ap_filename
     86
---> 87     (N, k), _, M = load(data_filename)
     88     if (N != level) or (k != weight):
     89         raise ValueError, "data file %s has invalid
data"%data_filename

/usr/local/sage/local/lib/python2.5/site-packages/sage/structure/
sage_object.so in sage.structure.sage_object.load (sage/structure/
sage_object.c:4880)()
    475
    476
--> 477
    478
    479

/usr/local/sage/local/lib/python2.5/site-packages/sage/structure/
sage_object.so in sage.structure.sage_object.loads (sage/structure/
sage_object.c:6156)()
    596
    597
--> 598
    599
    600

RuntimeError: NEWOBJ class argument isn't a type object
invalid data stream
invalid load key, 'x'.
Unable to load pickled data.

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to