Crystal03 / google-docs-fs

Automatically exported from code.google.com/p/google-docs-fs
GNU General Public License v2.0
0 stars 0 forks source link

readdir traceback #49

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Mount a gdoc-list
2. run a readdir command (aka ls)
3. See traceback

readdir[0] from 0
Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/googledocsfs/gFile.py", line 169, in readdir
    if file.GetDocumentType() == 'folder':
AttributeError: 'DocumentListEntry' object has no attribute 'GetDocumentType'
   unique: 6, error: -22 (Invalid argument), outsize: 16
unique: 7, opcode: RELEASEDIR (29), nodeid: 1, insize: 64
   unique: 7, success, outsize: 16

Original issue reported on code.google.com by zgold...@gmail.com on 19 Feb 2011 at 1:11

GoogleCodeExporter commented 9 years ago
This could be caused by using an older version of gdata-python. Are you using 
the version included with your distribution? If so, that could be the cause 
(most distros use a massively out-of-date version). If you're using Ubuntu, 
download the latest .deb from Downloads.

Original comment by d38dm8nw81k1ng@gmail.com on 13 Mar 2011 at 1:49