Hi,

This is my first time writing a bug and I hope this is the correct place to 
post it.

I recently upgraded to a new mac and downloaded Sage 5.10 OSX 64bit for Mac 
10.8.  I'm running 10.8.2.

If I attach a file using "attach /Users/foo/bar.py", the first time I execute 
the cell everything is good.  However, as soon as I modify bar.py, I get the 
error:

"File "<stdin>", line 1, in <module>
  File "_sage_input_4.py", line 10, in <module>
    exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8 -*-\\n" 
+ 
_support_.preparse_worksheet_cell(base64.b64decode("YXR0YWNoKCIvVXNlcnMvam9uL0RvY3MvRW5naW5lZXJpbmcvQ29kZXMvU0VNL1NFTXYxLjAwMjcvU2VtLnB5Iik="),globals())+"\\n");
 execfile(os.path.abspath("___code___.py"))
  File "", line 1, in <module>
    
  File 
"/private/var/folders/49/ph5_bsvj6bz_8hg_yrbkct900000gn/T/tmp10Xs3J/___code___.py",
 line 2
    "/Users/foo/bar.py"
    ^
IndentationError: unexpected indent"

I've looked at the ___code___.py file which is generated, and indeed, there is 
an extra space on line 2 which is before "/Users/foo/bar.py".

Is this related to Mac os x 10.8.2 or sage 5.1?  Has anyone seen this or is a 
workaround present?

Sincerely,
Jon

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to