bernigaud / googlecl

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

Missing boolean configuration option causes error #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Delete one of the boolean variables from the "prefs" file 
(~/.googlecl/prefs)
2. Run the program, with any service/task command

What is the expected output? What do you see instead?
Expect the task to run, instead get
{{{ 
Error in configuration file: argument of type 'bool' is not iterable
Quitting...
}}}

Original issue reported on code.google.com by tom.h.mi...@gmail.com on 28 Apr 2010 at 5:10

GoogleCodeExporter commented 9 years ago
I got the same thing the first time I tried using google-cl.py.

Original comment by jh...@google.com on 5 May 2010 at 8:54

GoogleCodeExporter commented 9 years ago
I can't reproduce it. I guess it is solved if the prefs file you mention is 
replaced by config.

Original comment by mydi...@gmail.com on 19 Jun 2010 at 1:41

GoogleCodeExporter commented 9 years ago
muito bom

Original comment by geasifel...@gmail.com on 22 Jun 2010 at 6:17

GoogleCodeExporter commented 9 years ago
Hm, this seems to have magically disappeared without any effort on my part.

Favorite kind of bug!

Original comment by tom.h.mi...@gmail.com on 22 Jun 2010 at 7:28

GoogleCodeExporter commented 9 years ago
Found out what the problem was after the fact -- I was not using a string value 
for ConfigParser when setting the missing defaults in load_preferences(). The 
code for that dictionary should be:

'delete_default': 'False'

not 

'delete_default': False

Original comment by tom.h.mi...@gmail.com on 12 Jul 2010 at 10:23