Fantastic, it works now! Thanks
On May 31, 1:10 am, "William Stein" <[EMAIL PROTECTED]> wrote: > On 5/30/07, Utpal Sarkar <[EMAIL PROTECTED]> wrote: > > > When trying to use the Jones database I get an error. > > J = JonesDatabase() works correctly and creates the instance. > > J.ramified_at([2,3,5]) generates an exception, both at my local > > installation and when executing it on an online notebook at > >http://www.sagenb.org/. I copied the stack trace from the second one > > Thanks for reporting this. I've rebuilt the database. To install > the new version, do > sage -i database_jones_numfield-v4.spkg > Then restart SAGE and try again. > > > > > below. > > When looking into the code, it turns out that the call that causes the > > error is > > self.root = load(JONESDATA+ "/jones.sobj") > > where "load" is a function from the compiled library sage/structure/ > > sage_object.so. > > > Traceback (most recent call last): > > File "", line 1, in > > File "/notebooks/server/sage_notebook/worksheets/doetoe/code/5.py", > > line 4, in > > J.ramified_at([Integer(2),Integer(3),Integer(5)]) > > File "/notebooks/server/", line 1, in > > > File "/sage/local/lib/python2.5/site-packages/sage/databases/ > > jones.py", line 196, in ramified_at > > Z = self.get(S, var=var) > > File "/sage/local/lib/python2.5/site-packages/sage/databases/ > > jones.py", line 167, in get > > self.root = load(JONESDATA+ "/jones.sobj") > > File "sage_object.pyx", line 433, in sage_object.load > > File "sage_object.pyx", line 494, in sage_object.loads > > RuntimeError: No module named polynomial_element_generic > > invalid data stream > > invalid load key, 'x'. > > Unable to load pickled data. > > -- > William Stein > Associate Professor of Mathematics > University of Washingtonhttp://www.williamstein.org --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/ -~----------~----~----~----~------~----~------~--~---