Loading [MathJax]/jax/output/HTML-CSS/jax.js
Ask Your Question
0

Cannot install Cremona database

asked 10 years ago

anonymous user

Anonymous

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

Preview: (hide)

Comments

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

slelievre gravatar imageslelievre ( 10 years ago )

1 Answer

Sort by » oldest newest most voted
1

answered 10 years ago

tmonteil gravatar image

updated 10 years ago

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.

Preview: (hide)
link

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 ( 10 years ago )

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 ( 10 years ago )

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 ( 10 years ago )

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

Dima gravatar imageDima ( 10 years ago )

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 ( 10 years ago )

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: 10 years ago

Seen: 1,102 times

Last updated: Jan 21 '15