salimoha / googlecl

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

Command from DiscoveryManual docs doesn't work -- won't edit tasks #419

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. $ google tasks tasks insert --body '{"title": "Use GoogleCL"}'
2. Please specify tasklist: <Name of List>

What is the expected output? 
Adds task "Use GoogleCL" to task list specified.

What do you see instead?
Uncaught error
Traceback (most recent call last):
  File "./google.py", line 948, in <module>
    main()
  File "./google.py", line 934, in main
    run_once(options, args)
  File "./google.py", line 629, in run_once
    discovery.run(init_args)
  File "/home/coila/googlecl/googlecl/src/googlecl/discovery/__init__.py", line 112, in run
    kwargs = self.dataManager.fill_out_options(metinfo, doc, args)
  File "/home/coila/googlecl/googlecl/src/googlecl/discovery/data.py", line 137, in fill_out_options
    kwargs[arg] = json.loads(kwargs[arg])
  File "/usr/lib/pymodules/python2.6/simplejson/__init__.py", line 307, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/pymodules/python2.6/simplejson/decoder.py", line 335, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/pymodules/python2.6/simplejson/decoder.py", line 351, in raw_decode
    obj, end = self.scan_once(s, idx)
ValueError: Expecting property name: line 1 column 1 (char 1)

Original issue reported on code.google.com by Coilamg on 4 Sep 2011 at 5:55