#11026: Add double clicking of sws files for Mac app
----------------------------------+-----------------------------------------
Reporter: iandrus | Owner: iandrus
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-5.3
Component: user interface | Resolution:
Keywords: mac app | Work issues:
Report Upstream: N/A | Reviewers: Karl-Dieter Crisman
Authors: Ivan Andrus | Merged in:
Dependencies: #8473, #13121 | Stopgaps:
----------------------------------+-----------------------------------------
Comment (by kcrisman):
Okay, I did a bunch more testing on this box. It works fine but ''very''
slow as long as you start Sage.app first. I have more trouble if I do the
click first - it seems to start two servers and gives errors. This is a
reproducible sequence.
{{{
Traceback (most recent call last):
File "/Users/crisman/Desktop/sage-5.2.beta0/local/bin/sage-notebook",
line 36, in <module>
notebook(port=8000)
File
"/Users/crisman/Desktop/sage-5.2.beta0/devel/sagenb/sagenb/notebook/notebook_object.py",
line 206, in __call__
return self.notebook(*args, **kwds)
File
"/Users/crisman/Desktop/sage-5.2.beta0/devel/sagenb/sagenb/notebook/run_notebook.py",
line 434, in notebook_twisted
return run(port)
File
"/Users/crisman/Desktop/sage-5.2.beta0/devel/sagenb/sagenb/notebook/run_notebook.py",
line 419, in run
raise socket.error
socket.error
}}}
Once this happens, then subsequent login attempts cause me to have to log
in to get to see the sheets.
So we ''could'' add a very careful set of instructions to try to warn
people to avoid this situation. I mean, it ''does'' work. Just not
ideally.
----
By the way, switching my default browser to the Sage.app one worked fine
:)
----
I'm going to try the
{{{
#import <Foundation/Foundation.h>
}}}
trick now in a rebuilt app and see what happens.
Didn't seem to help; I got the same
{{{
/Users/crisman/Desktop/sage-5.2.beta0/data/extcode/sage/ext/mac-
app/AppDelegate.m:189: warning: (Messages without a matching method
signature will be assumed to return 'id' and accept '...' as arguments.)
}}}
and the sleep warning, twice each. Would it matter where I put that
import in the top few lines? I tried it at the end and the middle, same
thing both times.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11026#comment:37>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.