OK, this is now trac ticket #5206.
-M. Hampton
On Feb 8, 4:09 am, ricardomayerb wrote:
> Thanks, Adrian, Marshall.
>
> I can confirm that it has something to do with carriage return. I can
> summarize things this way:
>
> --> using quotes around the path didn't solve the problem
>
> --> changi
Thanks, Adrian, Marshall.
I can confirm that it has something to do with carriage return. I can
summarize things this way:
--> using quotes around the path didn't solve the problem
--> changing the file extension of the file to .sage DOES solve the
problem (great!!! thanks Marshall!)
--> my fi
I am sorry, I read it wrong; you are indeed giving the full path.
Something I was thinking is that it could be related to what happens,
in addition to what others have commented is:
1) The error is "Syntax error" not "File not found", so maybe the
quotes arround the path would work.
2) The file
I think I ran into this last week. It might be that the problem is
different types of newline/carriage return tickets - i.e. what in
python are represented by '\n' and '\r'. I think that attach has
trouble with .py files that have both kinds of newlines. For some
reason this does not plague .sa
On Feb 7, 5:37 am, ricardomayerb wrote:
> Thank you, Adrian.
>
> But I think I gave the full path when I used the command:
>
> attach /media/disk/thesiswork/thesis2009/sage/src/sympy_files/
> thesis_sympy_2009.py
Try quotes:
attach "/media/disk/thesiswork/thesis2009/sage/src/sympy_files/
thesis
Thank you, Adrian.
But I think I gave the full path when I used the command:
attach /media/disk/thesiswork/thesis2009/sage/src/sympy_files/
thesis_sympy_2009.py
but it did not worked in notebook mode (but happens to work perfectly
in command-line mode, I just tried it)
Maybe the way to go, for
You need to give the full path if you are in the notebook.
If you strongly need to not to give the full path you could run the
command
$mkdir (where your files are)/sagenotebook
$sage -notebook directory="Where your files are/sagenotebook"
The disadvantage is that this will create another server,