Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

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

1 Answer 1

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
Wow. Would you know what is happening? –  Öskå Oct 2 '13 at 16:35
Read the docs on the "Queued" Method. Also you dont realky need EventHandler. –  Rolf Mertig Oct 2 '13 at 18:18

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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