salimoha / googlecl

Automatically exported from code.google.com/p/googlecl
0 stars 0 forks source link

Ending google binary with ctrl+c should work properly without errors #297

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What service (Calendar, Docs, Picasa) should be enhanced?
- The main 'google' binary.

What is the enhancement?
- Currently, when starting 'google' without any parameters and ending with 
break / ctrl+c, lots of errors and debugs are displayed. This should not be the 
case and the binary should exit properly. 
In the below example I've pressed 'ctrl+c' when ">" was displayed.

user@host:~/.config$ google
>
Traceback (most recent call last):
  File "/usr/bin/google", line 382, in run_interactive
    command_string = raw_input('> ')
ValueError: I/O operation on closed file
Traceback (most recent call last):
  File "/usr/bin/google", line 382, in run_interactive
    command_string = raw_input('> ')
ValueError: I/O operation on closed file
Traceback (most recent call last):
  File "/usr/bin/google", line 382, in run_interactive
    command_string = raw_input('> ')
ValueError: I/O operation on closed file
(...)

Original issue reported on code.google.com by fvan...@gmail.com on 25 Sep 2010 at 8:57

GoogleCodeExporter commented 9 years ago
It seems solved in trunk:

$ google
> 
> 
Quit via keyboard interrupt

Original comment by ferranb@gmail.com on 1 Oct 2010 at 10:14

GoogleCodeExporter commented 9 years ago
What was the version number on the .zip file you downloaded? 

Original comment by thmil...@google.com on 4 Oct 2010 at 5:46

GoogleCodeExporter commented 9 years ago
I was using 0.9.10 - seems to be fixed now in 0.9.11.

Original comment by fvan...@gmail.com on 15 Oct 2010 at 9:44

GoogleCodeExporter commented 9 years ago

Original comment by thmil...@google.com on 15 Oct 2010 at 10:10