Hello
I'm a bit stumped...
I have a simple Python script containing a call to raw_input(). When I run the script with Cmd-R, the 'Running' window pops open, the script runs, but upon reaching the raw_input() call I'm not prompted for any user input. Instead the window displays an error:
EOFError: 'EOF when reading a line'
Running the script via the terminal works as expected: the script pauses for my input, then continues.
Any ideas? I've googled about and only found one other reference to this error (on this very forum) but the issue was resolved with an update to TextMate.
TextMate is up to date (1.5.9) Python Bundle is up to date (r11739)
Thanks in advance
Steve C.
On Sun, Sep 6, 2009 at 12:21 PM, Steve Copleycopley.steve@gmail.com wrote:
Hello
I'm a bit stumped...
I have a simple Python script containing a call to raw_input(). When I run the script with Cmd-R, the 'Running' window pops open, the script runs, but upon reaching the raw_input() call I'm not prompted for any user input. Instead the window displays an error:
EOFError: 'EOF when reading a line'
Running the script via the terminal works as expected: the script pauses for my input, then continues.
Any ideas? I've googled about and only found one other reference to this error (on this very forum) but the issue was resolved with an update to TextMate.
http://blog.macromates.com/2009/interactive-input/
Cheers, Chris -- http://blog.rebertia.com
Hi
Chris Rebert-7 wrote:
Ah ha! Thanks for pointing that out.
Unfortunately I've followed the instructions and grabbed the old interactive library, but I'm still seeing the error...
http://www.nabble.com/file/p25324938/TM%2BIssue.png
I've relaunched TM, but still the same.
Any suggestions? Am I just missing something (else) obvious?
Cheers
Steve
On 07/09/2009, at 2:39 PM, Steve Copley wrote:
Chris Rebert-7 wrote:
Ah ha! Thanks for pointing that out.
Unfortunately I've followed the instructions and grabbed the old interactive library, but I'm still seeing the error...
http://www.nabble.com/file/p25324938/TM%2BIssue.png
I've relaunched TM, but still the same.
Any suggestions? Am I just missing something (else) obvious?
I think this actually might be different to the 10.6 issue.
I'll look into it.
Hi
Luke Daley wrote:
I think this actually might be different to the 10.6 issue.
I'll look into it.
Thanks very much.
Just so you know, I'm on a MacBook Pro running OS X 10.5.8
Regards
Steve
On 07/09/2009, at 5:32 PM, Steve Copley wrote:
I think this actually might be different to the 10.6 issue.
I'll look into it.
Thanks very much.
Just so you know, I'm on a MacBook Pro running OS X 10.5.8
Steve,
Please see my other thread about the new version and follow those instructions to install. I tested your script and it works for me with this version.
It works!
Many thanks.
Steve