Problem with Cremona database (Update: wrong Boolean output in general)
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
In my case, it works, on the box...
i am getting...
And on the other laptop:
I'll look closer at the
db_path
in my case. Maybe inserting a print of it in the py file makes simpler to see if it is there...I can not reproduce your problem either. Could you please give us some informations so that someone can try to reproduce your problem:
OK, it is a distro issue, we do not have contact with archlinux packagers (while some Debian and Gentoo devs are on the sage-devel mailing-list), you should contact them directly.
Thanks! Is it an issue with Manjaro or with the official Arch package itself?