Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Problem with Cremona database

Hello, I'm struggling with the following problem, but don't have any idea how to fix it. At least the mini Cremona database is installed, I think. Could you please help me?

 sage: EllipticCurve("37b2")
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-13-74529bf514dc> in <module>()
----> 1 EllipticCurve("37b2")

/usr/share/sage/source/sage/structure/factory.pyx in sage.structure.factory.UniqueFactory.__call__ (/build/sagemath/src/sage-7.6/src/src/build/cythonized/sage/structure/factory.c:1856)()
    360             False
    361         """
--> 362         key, kwds = self.create_key_and_extra_args(*args, **kwds)
    363         version = self.get_version(sage_version)
    364         return self.get_object(version, key, kwds)

/usr/lib/python2.7/site-packages/sage/schemes/elliptic_curves/constructor.pyc in create_key_and_extra_args(self, x, y, j, minimal_twist, **kwds)
    407             # Interpret x as a Cremona or LMFDB label.
    408             from sage.databases.cremona import CremonaDatabase
--> 409             x, data = CremonaDatabase().coefficients_and_data(x)
    410             # User-provided keywords may override database entries.
    411             data.update(kwds)

/usr/lib/python2.7/site-packages/sage/databases/cremona.pyc in CremonaDatabase(name, mini, set_global)
   1688             _db = MiniCremonaDatabase(name)
   1689         else:
-> 1690             _db = LargeCremonaDatabase(name)
   1691         return _db
   1692     if mini:

/usr/lib/python2.7/site-packages/sage/databases/cremona.pyc in __init__(self, name, read_only, build)
   1432         if not os.path.isfile(db_path):
   1433             raise ValueError("Desired database (='%s') does not "%self.name \
-> 1434                     + "exist")
   1435         SQLDatabase.__init__(self, db_path, read_only=read_only)
   1436         if self.get_skeleton() != _cremonaSkeleton:

ValueError: Desired database (='cremona') does not exist

Problem with Cremona database

Hello, I'm struggling with the following problem, but don't have any idea how to fix it. At least the mini Cremona database is installed, I think. Could you please help me?

 sage: EllipticCurve("37b2")
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-13-74529bf514dc> in <module>()
----> 1 EllipticCurve("37b2")

/usr/share/sage/source/sage/structure/factory.pyx in sage.structure.factory.UniqueFactory.__call__ (/build/sagemath/src/sage-7.6/src/src/build/cythonized/sage/structure/factory.c:1856)()
    360             False
    361         """
--> 362         key, kwds = self.create_key_and_extra_args(*args, **kwds)
    363         version = self.get_version(sage_version)
    364         return self.get_object(version, key, kwds)

/usr/lib/python2.7/site-packages/sage/schemes/elliptic_curves/constructor.pyc in create_key_and_extra_args(self, x, y, j, minimal_twist, **kwds)
    407             # Interpret x as a Cremona or LMFDB label.
    408             from sage.databases.cremona import CremonaDatabase
--> 409             x, data = CremonaDatabase().coefficients_and_data(x)
    410             # User-provided keywords may override database entries.
    411             data.update(kwds)

/usr/lib/python2.7/site-packages/sage/databases/cremona.pyc in CremonaDatabase(name, mini, set_global)
   1688             _db = MiniCremonaDatabase(name)
   1689         else:
-> 1690             _db = LargeCremonaDatabase(name)
   1691         return _db
   1692     if mini:

/usr/lib/python2.7/site-packages/sage/databases/cremona.pyc in __init__(self, name, read_only, build)
   1432         if not os.path.isfile(db_path):
   1433             raise ValueError("Desired database (='%s') does not "%self.name \
-> 1434                     + "exist")
   1435         SQLDatabase.__init__(self, db_path, read_only=read_only)
   1436         if self.get_skeleton() != _cremonaSkeleton:

ValueError: Desired database (='cremona') does not exist

Problem with Cremona database

Hello, I'm struggling with the following problem, but don't have any idea how to fix it. At least the mini Cremona database is installed, I think. Could you please help me?

 sage: EllipticCurve("37b2")
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-13-74529bf514dc> in <module>()
----> 1 EllipticCurve("37b2")

/usr/share/sage/source/sage/structure/factory.pyx in sage.structure.factory.UniqueFactory.__call__ (/build/sagemath/src/sage-7.6/src/src/build/cythonized/sage/structure/factory.c:1856)()
    360             False
    361         """
--> 362         key, kwds = self.create_key_and_extra_args(*args, **kwds)
    363         version = self.get_version(sage_version)
    364         return self.get_object(version, key, kwds)

/usr/lib/python2.7/site-packages/sage/schemes/elliptic_curves/constructor.pyc in create_key_and_extra_args(self, x, y, j, minimal_twist, **kwds)
    407             # Interpret x as a Cremona or LMFDB label.
    408             from sage.databases.cremona import CremonaDatabase
--> 409             x, data = CremonaDatabase().coefficients_and_data(x)
    410             # User-provided keywords may override database entries.
    411             data.update(kwds)

/usr/lib/python2.7/site-packages/sage/databases/cremona.pyc in CremonaDatabase(name, mini, set_global)
   1688             _db = MiniCremonaDatabase(name)
   1689         else:
-> 1690             _db = LargeCremonaDatabase(name)
   1691         return _db
   1692     if mini:

/usr/lib/python2.7/site-packages/sage/databases/cremona.pyc in __init__(self, name, read_only, build)
   1432         if not os.path.isfile(db_path):
   1433             raise ValueError("Desired database (='%s') does not "%self.name \
-> 1434                     + "exist")
   1435         SQLDatabase.__init__(self, db_path, read_only=read_only)
   1436         if self.get_skeleton() != _cremonaSkeleton:

ValueError: Desired database (='cremona') does not exist