After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 536750 - IsDirectoryError in ConflictResolver.py on folder twoway sync
IsDirectoryError in ConflictResolver.py on folder twoway sync
Status: RESOLVED DUPLICATE of bug 529301
Product: conduit
Classification: Other
Component: dataproviders
0.3.x
Other Linux
: Normal normal
: ---
Assigned To: conduit-maint@gnome.bugs
conduit-maint@gnome.bugs
Depends on:
Blocks:
 
 
Reported: 2008-06-05 07:34 UTC by sam tygier
Modified: 2009-01-20 03:26 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description sam tygier 2008-06-05 07:34:17 UTC
Using svn version 1501 from 20080604, on ubuntu hardy with gnome 2.22.2

I have set up a sync between 2 folders. one local and one mounted over ssh (mounted using gnome). on the first sync i get a conflict

source
sftp://long/path/to/my/file/#zgoubi.res# (Thu 06 May 2008 14:38:09)
<conduit.datatypes.File.File object at 0x8a55eec>

sink
(Thu 05 Jun 2008 02:36:04)
<conduit.datatypes.File.File object at 0x8a597ac>

if i choose the source->sink arrow and click resolve i get the following error in the terminal.

[gtkui.ConflictResolver][DEBUG  ] Resolving source data --> sink (ConflictResolver.py:271)
[gtkui.ConflictResolver][DEBUG  ] Resolving conflict. Putting <conduit.datatypes.File.File object at 0x8a55eec> --> Wrapper: Home twoway (UID: FolderTwoWay-file:///home/sam/physics:Home) (ConflictResolver.py:303)
[Syncronization      ][INFO   ] Putting data sftp://oberon/afs/hep.man.ac.uk/u/sam/phd/1_year/zgoubi/zgoubiTutorial/exercise5/#zgoubi.res# --> None into FolderTwoWay-file:///home/sam/physics:Home (Synchronization.py:37)
[dataproviders.File  ][DEBUG  ] Relative path: phd/1_year/zgoubi/zgoubiTutorial/exercise5/#zgoubi.res# (File.py:286)
[dataproviders.File  ][DEBUG  ] Found corresponding group (File.py:288)
[datatypes.File      ][DEBUG  ] Transfering File sftp://oberon/afs/hep.man.ac.uk/u/sam/phd/1_year/zgoubi/zgoubiTutorial/exercise5/#zgoubi.res# -> file:///home/sam/physics/phd/1_year/zgoubi/zgoubiTutorial/exercise5/#zgoubi.res# (File.py:294)

(conduit.real:27778): gnome-vfs-modules-CRITICAL **: ID mismatch (252932 != 252939)

(conduit.real:27778): gnome-vfs-modules-CRITICAL **: ID mismatch (252933 != 252940)
[gtkui.ConflictResolver][WARNING] Could not resolve conflict
Traceback (most recent call last):
  • File "/home/sam/src/conduit/conduit/gtkui/ConflictResolver.py", line 304 in _resolve_func
    conduit.Synchronization.put_data(source, sink, data, dataRid, True)
  • File "/home/sam/src/conduit/conduit/Synchronization.py", line 41 in put_data
    sinkDataLUID)
  • File "/home/sam/src/conduit/conduit/dataproviders/File.py", line 303 in put
    self._transfer_file(vfsFile, newURI, overwrite)
  • File "/home/sam/src/conduit/conduit/dataproviders/File.py", line 236 in _transfer_file
    vfsFile.transfer(newURI, overwrite)
  • File "/home/sam/src/conduit/conduit/datatypes/File.py", line 310 in transfer
    data=cancel_function
GenericError: Generic error
 (ConflictResolver.py:308)
[gtkui.ConflictResolver][DEBUG  ] Resolving source data --> sink (ConflictResolver.py:271)
[gtkui.ConflictResolver][DEBUG  ] Resolving conflict. Putting <conduit.datatypes.File.File object at 0x8a55eec> --> Wrapper: Home twoway (UID: FolderTwoWay-file:///home/sam/physics:Home) (ConflictResolver.py:303)
[Syncronization      ][INFO   ] Putting data sftp://oberon/afs/hep.man.ac.uk/u/sam/phd/1_year/zgoubi/zgoubiTutorial/exercise5/#zgoubi.res# --> None into FolderTwoWay-file:///home/sam/physics:Home (Synchronization.py:37)
[dataproviders.File  ][DEBUG  ] Relative path: phd/1_year/zgoubi/zgoubiTutorial/exercise5/#zgoubi.res# (File.py:286)
[dataproviders.File  ][DEBUG  ] Found corresponding group (File.py:288)
[datatypes.File      ][DEBUG  ] Transfering File sftp://oberon/afs/hep.man.ac.uk/u/sam/phd/1_year/zgoubi/zgoubiTutorial/exercise5/#zgoubi.res# -> file:///home/sam/physics/phd/1_year/zgoubi/zgoubiTutorial/exercise5/#zgoubi.res# (File.py:294)

(conduit.real:27778): gnome-vfs-modules-WARNING **: ID mismatch (252934 != 252941)

(conduit.real:27778): gnome-vfs-modules-WARNING **: ID mismatch (252935 != 252942)

(conduit.real:27778): gnome-vfs-modules-WARNING **: ID mismatch (252936 != 252943)

(conduit.real:27778): gnome-vfs-modules-WARNING **: ID mismatch (252937 != 252944)

(conduit.real:27778): gnome-vfs-modules-WARNING **: ID mismatch (252938 != 252945)

(conduit.real:27778): gnome-vfs-modules-WARNING **: ID mismatch (252939 != 252946)

(conduit.real:27778): gnome-vfs-modules-WARNING **: ID mismatch (252940 != 252947)

(conduit.real:27778): gnome-vfs-modules-WARNING **: ID mismatch (252941 != 252948)

(conduit.real:27778): gnome-vfs-modules-WARNING **: ID mismatch (252942 != 252949)

(conduit.real:27778): gnome-vfs-modules-WARNING **: ID mismatch (252943 != 252950)

(conduit.real:27778): gnome-vfs-modules-WARNING **: ID mismatch (252944 != 252951)

(conduit.real:27778): gnome-vfs-modules-WARNING **: ID mismatch (252945 != 252952)
[gtkui.ConflictResolver][WARNING] Could not resolve conflict
Traceback (most recent call last):
  File "/home/sam/src/conduit/conduit/gtkui/ConflictResolver.py", line 304, in _resolve_func
    conduit.Synchronization.put_data(source, sink, data, dataRid, True)
  File "/home/sam/src/conduit/conduit/Synchronization.py", line 41, in put_data
    sinkDataLUID)
  File "/home/sam/src/conduit/conduit/dataproviders/File.py", line 303, in put
    self._transfer_file(vfsFile, newURI, overwrite)
  File "/home/sam/src/conduit/conduit/dataproviders/File.py", line 236, in _transfer_file
    vfsFile.transfer(newURI, overwrite)
  File "/home/sam/src/conduit/conduit/datatypes/File.py", line 310, in transfer
    data=cancel_function
IsDirectoryError: Is a directory
 (ConflictResolver.py:308)


i am guessing this has something to do with the '#'s in the file name
Comment 1 Alexandre Rosenfeld 2009-01-20 03:26:47 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


*** This bug has been marked as a duplicate of 529301 ***