Ask Your Question
1

Attaching files in notebook does not update contents

asked 10 years ago

NahsiN gravatar image

updated 2 years ago

tmonteil gravatar image

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.

Preview: (hide)

Comments

1

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

tmonteil gravatar imagetmonteil ( 10 years ago )

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

NahsiN gravatar imageNahsiN ( 10 years ago )

1 Answer

Sort by » oldest newest most voted
1

answered 10 years ago

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.

Preview: (hide)
link

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 ( 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: 478 times

Last updated: Jan 27 '15