Ask Your Question
0

Cannot install Cremona database

asked 2015-01-19 21:02:45 -0500

anonymous user

Anonymous

Tried to install big Cremona database via !Sage command. Syntax error was returned.

edit retag flag offensive close merge delete

Comments

What OS? What version of Sage? What command did you run?

slelievre gravatar imageslelievre ( 2015-01-20 06:29:50 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-01-20 09:18:57 -0500

tmonteil gravatar image

updated 2015-01-21 02:25:35 -0500

You should provide more details. Which command did you type ? Which error did you get ?

Without more informations, you can try the standard way: from a terminal (not Sage):

sage -i database_cremona_ellcurve

It works for me.

Note that currently you can not install packages via Sage command line nor Sage notebook, see trac ticket 16759.

EDIT: If you are using the virtual machine under windoz, you can switch to a terminal by pressing Right-Ctrl and F1. See this page for more details.

edit flag offensive delete link more

Comments

Thank you very much for your answer. I tried to install the Cremona database via Sage notebook with the command : !sage -i database_cremona_ellcurve That did not work. I got an syntax error. I am using Windows 7 professional with Oracle VM Virtualbox Manager. How do I access the terminal in a Windows environment ? Thank you again for your help.

bweinfach gravatar imagebweinfach ( 2015-01-20 18:42:34 -0500 )edit

I found the terminal. Thank you very much. Unfortunately there are new errors while installing the Cremona database. tar: src/cremona.db: Wrote only 1024 of 10240 bytes tar: Exiting with failure status due to previous errors Error: failed to extract /home/sage/sage-6.4.1/upstream/database_cremona_ellcurve-20140829.tar.bz2 Can you help again ? Thank you in advance !

bweinfach gravatar imagebweinfach ( 2015-01-21 05:44:35 -0500 )edit

This database is very huge, so it is likely you didn't provide enough space to your VM's image. There should be a way to expand the size of the VM, i do not have Virtualbox installed right now so i can not give a try but it should not be hard to do this.

tmonteil gravatar imagetmonteil ( 2015-01-21 07:33:03 -0500 )edit

to see how much space you have in VM, please run, in VM's terminal, the command
df -h

Dima gravatar imageDima ( 2015-01-22 02:59:21 -0500 )edit

Hi, Dima. Thank you very much for your comment. After running the df -h command, I see on Filesystem /dev/sda2 Size 6.8G Used 6.4G Use% 100%. Since I use the Oracle VM the first time, I dont have any experience with it. Do you know how big is the Cremona database and how much space there should be in VM ? How do I allolcate it? Thank you in advance.

bweinfach gravatar imagebweinfach ( 2015-01-23 09:02:43 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-01-19 21:02:45 -0500

Seen: 198 times

Last updated: Jan 21 '15