salimoha / googlecl

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

googlecl uses old DocList class #478

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install gdata-python-client 2.0.17 and googlecl 0.9.13.
2. Patch googlecl to fix the DOCLIST_FEED_URI problem (issue 449) and 
reinstall. 
3. google docs list

What is the expected output? 
A list of files in my docs feed.

What do you see instead?
Traceback (most recent call last):
  File "/usr/bin/google", line 5, in <module>
    pkg_resources.run_script('googlecl==0.9.13', 'google')
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 499, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 1235, in run_script
    execfile(script_filename, namespace, namespace)
  File "/usr/lib/python2.7/site-packages/googlecl-0.9.13-py2.7.egg/EGG-INFO/scripts/google", line 989, in <module>
    main()
  File "/usr/lib/python2.7/site-packages/googlecl-0.9.13-py2.7.egg/EGG-INFO/scripts/google", line 975, in main
    run_once(options, args)
  File "/usr/lib/python2.7/site-packages/googlecl-0.9.13-py2.7.egg/EGG-INFO/scripts/google", line 769, in run_once
    raise run_error
AttributeError: 'module' object has no attribute 'DocList'

What version of the product are you using? On what operating system? 
0.9.13, Fedora 16, x86_64.

What
version of gdata-python-client (aka python-gdata)?
2.0.17.

Please provide any additional information below.
I've attached a patch that seems to fix this (it includes the patch for issue 
449 also). The patch is against a clean working copy of the latest in SVN 
(r595). Once the patch is applied and googlecl reinstalled, I can then list 
docs correctly.

Original issue reported on code.google.com by jim.law...@gmail.com on 16 May 2012 at 11:44

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for uploading the patch. That worked for me too.

Original comment by t...@steinonline.net on 28 Jun 2012 at 12:01