merge script: SyntaxError: EOL while scanning string literal

305 views
Skip to first unread message

Minh Nguyen

unread,
Jul 11, 2009, 5:23:55 AM7/11/09
to sage-...@googlegroups.com
Hi folks,

I'm starting to learn how to use the merge script in Sage 4.1, but
encountered some syntax error. Here's a transcript of my session:

[mvngu@sage sage-4.1]$ pwd
/scratch/mvngu/sage-4.1
[mvngu@sage sage-4.1]$ ./sage -merge 5996
File "/scratch/mvngu/sage-4.1/local/bin/sage-apply-ticket", line 464
os.chdir(SAGE_ROOT+'/tmp)
^
SyntaxError: EOL while scanning string literal

As you can see, I was working in /scratch on sage.math.

--
Regards
Minh Van Nguyen

John Cremona

unread,
Jul 11, 2009, 5:29:13 AM7/11/09
to sage-...@googlegroups.com
There's a typo in the script file (a missing quote, as you can see).
I had that, and thought it had been fixed. You can edit that line
yourself and try again -- but of course someone should patch the
master copy.

John

2009/7/11 Minh Nguyen <nguye...@gmail.com>:

Minh Nguyen

unread,
Jul 11, 2009, 5:35:12 AM7/11/09
to sage-...@googlegroups.com
Hi John,

On Sat, Jul 11, 2009 at 7:29 PM, John Cremona<john.c...@gmail.com> wrote:
>
> There's a typo in the script file (a missing quote, as you can see).
> I had that, and thought it had been fixed.  You can edit that line
> yourself and try again -- but of course someone should patch the
> master copy.

Thank you for pointing this out. This is now ticket #6511

http://trac.sagemath.org/sage_trac/ticket/6511

John Cremona

unread,
Jul 11, 2009, 11:02:36 AM7/11/09
to sage-...@googlegroups.com
2009/7/11 Minh Nguyen <nguye...@gmail.com>:
I have added a patch which now needs review.

John
Reply all
Reply to author
Forward
0 new messages