I've just filed a bug report:
http://github.com/technomancy/swank-clojure/issues#issue/10
Thanks,
Rickard
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members
On Wed, Mar 3, 2010 at 2:03 PM, Rickard Bennekom ylp...@googlemail.com wrote:
As of Clojure 1.1.0, the problem still persists.
Apparently, it seems to be linked to Slime input that involves GUI-
related system calls.
On my system (Windows XP SP3, 32 Bit, JRE 1.6.0_18, JDK 1.6.0_12) it
can be
As of Clojure 1.1.0, the problem still persists.
Apparently, it seems to be linked to Slime input that involves GUI-
related system calls.
On my system (Windows XP SP3, 32 Bit, JRE 1.6.0_18, JDK 1.6.0_12) it
can be reproduced as follows:
1. Install Clojure Box 1.1.0 (January 5, 2010)
2. Start the
Here's my experience with 1.6.0_12:
When I run
(load-file celsius.clj)
(celsius/celsius)
from a REPL in a Cygwin rxvt, the problem recurs as before:
The Swing window comes up, but input is not echoed in the swing window
until I hit return in
the rxvt window.
If I use a cmd shell, I
I've got the same problem as srolls24 and CuppoJava on Windows XP,
using Emacs 23
and versions of Clojure, Slime and Swank fetched today.
Also, when starting Slime, it opens a connection to *inferior-lisp*,
but keeps polling
for Swank until I hit return in the inferior-lisp buffer. After that,
On Thu, Feb 5, 2009 at 4:52 AM, David dsieg...@yahoo.com wrote:
I've got the same problem as srolls24 and CuppoJava on Windows XP,
using Emacs 23
and versions of Clojure, Slime and Swank fetched today.
Also, when starting Slime, it opens a connection to *inferior-lisp*,
but keeps polling
On Dec 30, 10:38 pm, CuppoJava patrickli_2...@hotmail.com wrote:
I would like to add that nope... installing SLIME didn't seem to help.
I'm on Clojure rev. 1160, and the latest SLIME and Swank sources as of
December 30 2008.
I experience a similar issue on windows, but not linux. The first
After some more tinkering, I think the problem lies somewhere in the
way Emacs handles IO from the buffers.
1) The System command prompt works perfectly.
2) Inferior-Lisp mode hangs
3) Slime hangs
4) Running a windows shell from within Emacs, and running Java from
within the shell also hangs.
And Xemacs has the same problem... so it might be a problem with
Windows then =(
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Clojure group.
To post to this group, send email to clojure@googlegroups.com
To
Wow... that actually fixes it. Still a minor problem, since according
to the Sun website, it is legal to create a Swing object in another
thread as long as long as it is not realized yet...
Still, this definitely is a doable workaround. Thanks!
-Luke
On Dec 29, 9:17 pm, Rowdy Rednose
Just curious - do both invokeLater and invokeAndWait work? Or only
invokeLater?
On 31 Dez., 00:39, levand luke.vanderh...@gmail.com wrote:
Wow... that actually fixes it. Still a minor problem, since according
to the Sun website, it is legal to create a Swing object in another
thread as long
Luke,
I believe they don't promote the as long as it's not yet realized
rule anymore but rather say do even creation of Swing objects in the
EDT now:
http://java.sun.com:80/docs/books/tutorial/uiswing/concurrency/initial.html
Cheers
Rowdy
On 31 Dez., 00:39, levand luke.vanderh...@gmail.com
I would like to add that nope... installing SLIME didn't seem to help.
I'm on Clojure rev. 1160, and the latest SLIME and Swank sources as of
December 30 2008.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Clojure
Haven't solved it yet, but I may have found something useful enough
for someone cleverer than I to make something out of.
When I run clojure directly as inferior-lisp, without slime, the
problem does occur. However, as soon as I enter something in the
inferior lisp buffer, it starts working
What if you run the Swing code in the Event Dispatch Thread?
In other words, does this:
(. javax.swing.SwingUtilities (invokeAndWait #(.
javax.swing.JOptionPane (showMessageDialog nil Hello World
or
(. javax.swing.SwingUtilities (invokeLater #(. javax.swing.JOptionPane
(showMessageDialog
Yeah, thanks for the suggestion, but that's not it... I can see the
Swing window, and it is also hung (it doesn't process events from the
OS).
I'm going to do some more in-depth debugging today, doing stack dumps
and such, and see if I can figure out what's locking.
Thanks,
-Luke
On Dec 22,
This is a long shot, but...
It's been a while since I played with swing in clojure, but I remember
the swing UI would display behind emacs. The result is that the app is
correctly running despite the fact that it is obscured by other
windows while your REPL appears stuck.
Michael
I noticed this first with a project I'm working on, and verified that
it is happening as well with the temperature converter demo on the
clojure site.
After I run the file from within Slime, after a few seconds my Swing
gui stops responding, and the Repl as well. Apparently, the whole Java
Possibly related:
http://groups.google.com/group/clojure/browse_thread/thread/161d608ccb1e8b3d/76eadda70df674a4?lnk=gstq=swing+hang#76eadda70df674a4
Bill
On Dec 19, 2:18 pm, levand luke.vanderh...@gmail.com wrote:
I noticed this first with a project I'm working on, and verified that
it is
Anyone have any ideas? I'm pretty confused as to what might be going
on. Some sort of deadlock in the thread pool that isn't allowing the
AWT event thread any cycles? I'm looking at the thread pool in JSwat
and I see a lot of Swank threads, but I can't tell exactly what's
going on.
I
20 matches
Mail list logo