Ask Your Question
1

Attaching files in notebook does not update contents

asked 2015-01-26 21:30:02 -0500

NahsiN gravatar image

updated 2015-01-27 15:24:27 -0500

Hello, I am running Sage 6.4.1. Using the notebook interface, attaching files does not work as the files contents are not reloaded automatically. It just shows me the previous variable values.

echo "x=2" > foo.py 
attach foo.py 
x 
2
echo "x=4" > foo.py 
x 
2

As you can see the value of x isn't updated to 4. I can confirm that attach works as intended on the terminal, just the notebook interface is broken.

edit retag flag offensive close merge delete

Comments

1

By the way, this should be echo "x=2" > foo.py, not echo foo.py > "x=2"

tmonteil gravatar imagetmonteil ( 2015-01-27 08:31:04 -0500 )edit

You're right. Had a brain fart there. Edited

NahsiN gravatar imageNahsiN ( 2015-01-27 15:25:05 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-01-27 08:20:07 -0500

kcrisman gravatar image

Correct, this is https://github.com/sagemath/sagenb/is... - you'll notice on the "Help" page that there is some language to this effect. If you have any ideas for how to fix this we would be very appreciative, as we want notebook and terminal behavior to be as similar as possible.

edit flag offensive delete link more

Comments

Ah I see, didn't know this was an ongoing issue. Sadly the "fix" is beyond my scope of the moment. Let's hope for the best. At least now I know my installation is not busted.

NahsiN gravatar imageNahsiN ( 2015-01-27 15:27:12 -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-26 21:30:02 -0500

Seen: 187 times

Last updated: Jan 27 '15