Mathematica Stack Exchange is a question and answer site for users of Mathematica. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

I have those few lines of code causing a crash and I can't figure out why:

     Button["Built In Funct", openNothing[]]}, {}],

 Initialization :> (openNothing[] := (Input["bla", 1];))]

Mathematica freezes for a few seconds and then says:

The kernel is not responding to a Dynamic Evaluation. [...]

WARNING: It did make Mathematica not responding at all. After the force quit the list of the recently opened notebooks were removed (I assume that the ~/.Mathematica/FrontEnd/init.m has been removed.)

I'm on Fedora 19, Mathematica 8.0.4. The same issue has been noticed under Windows 7, Mathematica 9.

share|improve this question

marked as duplicate by Kuba, bbgodfrey, Karsten 7., Dr. belisarius, ciao Apr 1 '15 at 23:15

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

up vote 3 down vote accepted

Try this

   Row@{Button["Built In Funct", openNothing[], Method -> "Queued"]}, 
 Initialization :> (openNothing[] := (Input["bla", 1];))]
share|improve this answer
Read the docs on the "Queued" Method. Also you dont realky need EventHandler. – Rolf Mertig Oct 2 '13 at 18:18

Not the answer you're looking for? Browse other questions tagged or ask your own question.