pombreda / 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

Strange behaviour and errors #16

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install google-docs-fs 
2. Create new file file_x (in local /root/, not in mounted folder) 
3. Copy file_x from local /root/ to mounted folder /root/google/

What is the expected output? What do you see instead?
I expect a succesfull move of the file.
I get several errors:

IntranetServer:~# mv /root/file_x /root/google/
mv: preserving times for `/root/google/file_x': Function not implemented
mv: setting permissions for `/root/google/file_x': Function not implemented

What version of the product are you using? On what operating system?
- Last version of google-docs-fs [beta4]
- Debian Lenny amd64
- Python 2.5
- Gdata 2.07

Please provide any additional information below.

Lot of other strange behaviour. When I create a directory directory_x in 
the mounted google docs directory (in my case: /root/google/) and then 
delete that just created directory, then suddenly a directory with that 
name is created in the root of my filesystem (/directory_x is created).

Original issue reported on code.google.com by cornelis...@gmail.com on 3 Feb 2010 at 3:03

GoogleCodeExporter commented 9 years ago
I presume you're acting as the root user? I've never tested it doing this. Do 
the
problems persist if you do this as a normal user?

Original comment by d38dm8nw81k1ng@gmail.com on 8 Feb 2010 at 9:31

GoogleCodeExporter commented 9 years ago
I have same exact problem, under Ubuntu 11.04. 

Additionally, sometimes the mv seems to work (no errors), however at inspection 
you find out that the file at destination is nonexistent.  So, the operation 
amounts to a (silent) delete!

Original comment by areg...@gmail.com on 14 Mar 2012 at 5:21

GoogleCodeExporter commented 9 years ago
Ok, I mounted the directory  with a -d flag, and here's the relevant info:

> "cp" mathfacts.pl gdocs/. 
(gdocs is the directory the fs is mounted on)

Debug output:
--------------------------

unique: 609, opcode: STATFS (17), nodeid: 1, insize: 40
   unique: 609, success, outsize: 96
unique: 610, opcode: STATFS (17), nodeid: 1, insize: 40
   unique: 610, success, outsize: 96
unique: 611, opcode: STATFS (17), nodeid: 1, insize: 40
   unique: 611, success, outsize: 96
unique: 612, opcode: GETATTR (3), nodeid: 1, insize: 56
getattr /
   unique: 612, success, outsize: 120
unique: 613, opcode: STATFS (17), nodeid: 1, insize: 40
   unique: 613, success, outsize: 96
unique: 614, opcode: LOOKUP (1), nodeid: 1, insize: 53
LOOKUP /mathfacts.pl
getattr /mathfacts.pl
   NODEID: 18
   unique: 614, success, outsize: 144
unique: 615, opcode: SETATTR (4), nodeid: 18, insize: 128
truncate /mathfacts.pl 0
getattr /mathfacts.pl
   unique: 615, success, outsize: 120
unique: 616, opcode: OPEN (14), nodeid: 18, insize: 48
open flags: 0x8001 /mathfacts.pl
   open[19939024] flags: 0x8001 /mathfacts.pl
   unique: 616, success, outsize: 32
unique: 617, opcode: WRITE (16), nodeid: 18, insize: 2897
write[19939024] 2817 bytes to 0 flags: 0x8001
   write[19939024] 2817 bytes to 0
   unique: 617, success, outsize: 24
unique: 618, opcode: FLUSH (25), nodeid: 18, insize: 64
flush[19939024]
   unique: 618, success, outsize: 16
unique: 619, opcode: RELEASE (18), nodeid: 18, insize: 64
release[19939024] flags: 0x8001
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/fuse.py", line 361, in __call__
    return apply(self.func, args, kw)
  File "/usr/local/lib/python2.6/dist-packages/googledocsfs/gFile.py", line 375, in release
    self.gn.upload_file(tmp_path)
  File "/usr/local/lib/python2.6/dist-packages/googledocsfs/gNet.py", line 120, in upload_file
    mime = gdata.docs.service.SUPPORTED_FILETYPES[path[-3:].upper()]
KeyError: u'.PL'
   unique: 619, success, outsize: 16

Original comment by areg...@gmail.com on 14 Mar 2012 at 5:27