Actually, I get the same thing: when connected to aleph.sagemath.org
through my phone's browser, there's a button to toggle plantext input,
and if it is in the correct setting, then 1+1 evaluates to 2, but
otherwise it returns an error for me.  The setting that gives the
error is the one where the input lines are numbered in a grey column
to the left of the text input box.  I have the 'Use "Sage Mode"' check
box checked.  When I click on the Evaluate button, it says:

\begin{verbatim}

for code execution
Session 89ba7988-717f-4232-a97b-9a6e16ba4a09
\eva's_comment{boxed output, in red font:}

--------------------------------------------------------------
SyntaxError
SyntaxError:  invalid suntax (<string>, \eva's_comment{[something that
I can't scroll to see because it's inside the box]}

Session 89ba7988-717f-4232-a97b-9a6e16ba4a09 done
\eva's_comment{end boxed input}
Session Files:


Computation ID:

89ba7988-717f-4232-a97b-9a6e16ba4a09
__________________________________
Messages

Accepted:
{"parent_header":{"username":"msg_id":"43c8e5df-4e81-4209-
af54-8ee283409be4","session":
89ba7988-717f-4232-197b-9a6e16ba4a09"},"msg_type":"execute_reply","sequence":
0,"output_block":null,"content":
{"status":"error","ename":"SyntaxError","evalue":"invalid
syntax","traceback":["\u001b[1;31m----------------------------------
\eva's_commentI didn't count the number of dashes; sorry}
\u001b[0m\n\u001b[1;31mSyntaxError\u001b[0m
Traceback (most recent call last)","\u001b[1;31mSyntaxError
\u001b[0m:invalid syntax (<string>, line 42)"]},"header":
{"msg_id":"5054710477984276947"}}

Accepted:
{"parent_header":{"username":"","msg_id":"43c8e5df-4e81-4209-
af54-8ee283409be4","session":"89ba7988-717f-4232-
a97b-9a6e16ba4a09"},"msg_type":"extension","sequence":1,"content":
{"msg_type":"session_end"},"header":{"msg_id":"e0e352f7-e4ec-486b-
ada6-6552f5ffe45f"}}

\end{verbatim}


Pretty cool to have an android version of Sage in the works though --
thanks!

Eva



On Jan 25, 2:43 pm, Jason Grout <jason-s...@creativetrax.com> wrote:
> On 1/25/12 2:03 AM, Moritz Minzlaff wrote:
>
> > Same problems here (Samsung Galaxy Mini, 2.3.5). I can connect to
> > aleph.sagemath.org on my phone, but 1+1 throws a syntax error
> > depending on whether I toggle plaintext input or not.
>
> That's actually different than what they are describing, and seems to
> have to do with Codemirror or how the browser is interacting (or our
> code for dealing with CodeMirror).  As best as I can figure, somehow the
> last character is not getting sent to aleph.  Try just putting a space
> or a comment behind 1+1.  Does it work then?
>
> Thanks,
>
> Jason

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to