Ask Your Question
0

Cannot install Cremona database

asked 2015-01-20 04:02:45 +0200

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 13:29:50 +0200 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2015-01-20 16:18:57 +0200

tmonteil gravatar image

updated 2015-01-21 09:25:35 +0200

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-21 01:42:34 +0200 )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 12:44:35 +0200 )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 14:33:03 +0200 )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 09:59:21 +0200 )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 16:02:43 +0200 )edit

as you see, "Use 100%" means "no room left"... I'd let it be 30-50GB instead of 6.8GB. Regarding the resizing, there is plenty of info on the net, e.g. http://derekmolloy.ie/resize-a-virtua...

Dima gravatar imageDima ( 2015-01-23 22:36:35 +0200 )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-20 04:02:45 +0200

Seen: 714 times

Last updated: Jan 21 '15