Ask Your Question

Load .sage file into sage with VirtualBox Windows 8

asked 2013-11-17 08:14:04 -0500

ihsanhaikalz gravatar image

Hello there

I have problems to load a sage file into VirtualBox using Shared Folder. I have created a shared folder with volume name Newfolder and it's in /media/sf_Newfolder with files dghv.sage from inside of it. I tried to follow with attach command but it showed error. In the github it said to load the sage file, so i use cd command cd /root/media/sf_Newfolder and load "dghv.sage" but it doesn't work and syntax error in it.

Can you help me?


edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted

answered 2013-11-17 14:35:37 -0500

ppurka gravatar image

attachis broken in the notebook. See

You can try load as


If it fails, then there is probably some syntax error in your program, and not in load!

edit flag offensive delete link more

answered 2013-11-20 08:05:47 -0500

ihsanhaikalz gravatar image

Thank you for the answer.

I've try using load('/media/sf_Newfolder/dghv.sage') with ' and without ' but still syntax problem. When i try cd to the folder then later i use load(dghv.sage) it said that nameerror, name is not defined. Is there something wrong? Do you have any option for me to run this program?


edit flag offensive delete link more


sounds like some problem with your file, and not with load(). load() shouldn't lead to nameerror. Can you copy paste the contents of your file into a cell in the notebook? Does it run?

ppurka gravatar imageppurka ( 2013-11-20 12:14:20 -0500 )edit

thank you for your answer, i think i can't open the file since the program only can run sagemath but not other application so i can't copy the content into the notebook.

ihsanhaikalz gravatar imageihsanhaikalz ( 2013-11-21 09:00:40 -0500 )edit

answered 2013-11-28 07:19:44 -0500

updated 2013-11-28 17:59:45 -0500

ppurka gravatar image

remove spam

edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools


Asked: 2013-11-17 08:14:04 -0500

Seen: 743 times

Last updated: Nov 28 '13