Gmansolf / googlecl

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

I can't edit docs at all #114

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I'm on a Nokia N900, running Maemo, which is basically Debian.

"docs get" and "docs list" work fine, but edit explodes, every time, as follows:

~ $ google docs edit --format=text --title=test --editor=/usr/bin/vim
Traceback (most recent call last):
  File "/usr/bin/google", line 463, in <module>
    main()
  File "/usr/bin/google", line 457, in main
    run_once(options, args)
  File "/usr/bin/google", line 356, in run_once
    task.run(client, options, args)
  File "/usr/lib/python2.5/site-packages/googlecl/docs/service.py", line 439, in _run_edit
    client.edit_doc(doc_entry, editor, format_ext)
  File "/usr/lib/python2.5/site-packages/googlecl/docs/service.py", line 104, in edit_doc
    self.Export(doc_entry.content.src, path)
  File "/usr/lib/python2.5/site-packages/gdata/docs/service.py", line 360, in Export
    self.Download(entry_or_id_or_url, file_path, ext, gid, extra_params)
  File "/usr/lib/python2.5/site-packages/gdata/docs/service.py", line 322, in Download
    url = self._MakeContentLinkFromId(entry_or_id_or_url)
  File "/usr/lib/python2.5/site-packages/gdata/docs/service.py", line 125, in _MakeContentLinkFromId
    raise ValueError, 'Invalid resource id: %s' % resource_id
ValueError: Invalid resource id: 
http://docs.google.com/feeds/download/documents/Export?docId=0ASObzt-eWjXlZGNyd2
drN2tfM2c2d210MmRw

System information:

~ $ which vim
/usr/bin/vim
~ $ google docs edit --version                              google 0.9.7
~ $ dpkg -l | grep pyth
ii  hildon-desktop-python-loader                        0.1.0-1maemo3           
         Hildon Desktop Python Plugin Loader
ii  python                                              2.5.2-3maemo3           
         An interactive high-level object-oriented la
ii  python-cairo                                        1.4.12-1.2maemo1        
         Python bindings for the Cairo vector graphic
ii  python-central                                      0.6.11.1maemo2          
         register and build utility for Python packag
ii  python-dbus                                         0.83.0-1maemo3          
         simple interprocess messaging system (Python
ii  python-gconf                                        2.26.1-1maemo1          
         Python bindings for the GConf configuration
ii  python-gdata                                        2.0.2-0maemo1           
         Google Data Python client library
ii  python-gobject                                      2.16.1-1maemo1          
         Python bindings for the GObject library
ii  python-gst0.10                                      0.10.14-2maemo5         
         generic media-playing framework (Python bind
ii  python-gtk2                                         2.12.1-6maemo10         
         Python bindings for the GTK+ widget set
ii  python-hildon                                       0.9.0-1maemo15          
         Python bindings for Hildon Framework.
ii  python-hildondesktop                                0.1.0-1maemo3           
         Python bindings for libhildondesktop
ii  python-minimal                                      2.5.2-3maemo3           
         A minimal subset of the Python language (def
ii  python-notify                                       0.1.1-2maemo1           
         Python bindings for libnotify
ii  python-numeric                                      24.2-9maemo4            
         Numerical (matrix-oriented) Mathematics for
ii  python-osso                                         0.4-0maemo2             
         Python bindings for libosso library
ii  python-support                                      1.0.6maemo1             
         automated rebuilding support for Python modu
ii  python-xml                                          0.8.4-10.1maemo4        
         XML tools for Python
ii  python2.5                                           2.5.4-1maemo6           
         An interactive high-level object-oriented la
ii  python2.5-minimal                                   2.5.4-1maemo6           
         A minimal subset of the Python language (ver

I'm happy to help debug this in any way I can, but I don't really know python 
myself.

-Robin

Original issue reported on code.google.com by robinleepowell@gmail.com on 21 Jun 2010 at 3:33

GoogleCodeExporter commented 8 years ago
Aaaaand, upgrading gdata to 2.0.12 cleared it right up.  Sorry!

-Robin

Original comment by robinleepowell@gmail.com on 21 Jun 2010 at 4:26

GoogleCodeExporter commented 8 years ago
Haha, no problem. I had never seen that error before -- I'll add it to the 
troubleshooting section of the FAQ.

Original comment by tom.h.mi...@gmail.com on 21 Jun 2010 at 3:56