Conduit Sync doesn't work with a network forlder

Bug #345117 reported by Roussillon thomas
2
Affects Status Importance Assigned to Milestone
conduit (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: conduit

Hy, First Exscuse for my poor engish bu I'm French :-)

I m trying to sync two folder with Conduit 0.3.15 (I try before whith 0.3.14)
The remote sync folder is on a NAS mount in Thunar whith this line in my etc/fstab/
<pre>
//192.168.0.30/volume_1 /media/nas cifs user,noauto,rw,username=tometaure,password=XXXX,gid=1000,uid=1000,auto 0 0
</pre>
I have a full acces to the folder.

The second folder is on my HD local

I launch concuit whith my local user (Thomas) and I also try as root whith this command
gksudo conduit.

On the GUI all seem ok but the sync doesn't work.

The refresh action work correctly :
<pre>...
[platform.FileGio ][DEBUG ] Folder scan 85.7142857143% complete (FileGio.py:354)
[platform.FileGio ][DEBUG ] Folder scan 100.0% complete (FileGio.py:354)
[platform.FileGio ][DEBUG ] 389 files loaded (FileGio.py:361)
[Syncronization ][DEBUG ] Deleting worker: <RefreshDataProviderWorker(Wrapper: 2009 twoway (UID: FolderTwoWay-file:///media/nas/Photos/2009), stopped)> (Synchronization.py:86)
</pre>

When I try to synchronise nothing arrive.
Conduit doesn(t create any file or folder on my local HD
In the log file I see these messages :
[platform.FileGio ][DEBUG ] 0 files loaded (FileGio.py:361)
[Syncronization ][DEBUG ] Syncworker state 2 (Synchronization.py:648)
[Syncronization ][INFO ] Synchronizing Wrapper: 2009 twoway (UID: FolderTwoWay-file:///media/nas/Photos/2009) |--> Wrapper: Photos twoway (UID: FolderTwoWay-file:///media/Donnees/Photos) (Synchronization.py:467)
[DeltaProvider ][INFO ] Delta: Source (FolderTwoWay-file:///media/nas/Photos/2009) does not implement get_changes(). Proxying... (DeltaProvider.py:25)
[DeltaProvider ][DEBUG ] Delta: Got 389 items
[u'file:///media/nas/Photos/2009/Picasa.ini', u'file:///media/nas/Photos/2009/2009-01-30 Ambre 14 mois/P1060773.JPG',
...
...
[DeltaProvider ][DEBUG ] Delta: Expecting 0 items (DeltaProvider.py:49)
[Syncronization ][DEBUG ] FolderTwoWay-file:///media/nas/Photos/2009 Changes: New 389 items
[u'file:///media/nas/Photos/2009/Picasa.ini', u'file:///media/nas/Photos/2009/2009-01-30 Ambre 14 mois/P1060773.JPG',
...
...
[Syncronization ][DEBUG ] FolderTwoWay-file:///media/nas/Photos/2009 Changes: Modified 0 items
[] (Synchronization.py:242)
[Syncronization ][DEBUG ] FolderTwoWay-file:///media/nas/Photos/2009 Changes: Deleted 0 items
[] (Synchronization.py:243)
[Syncronization ][DEBUG ] 1WAY PUT: 2009 (file:///media/nas/Photos/2009/Picasa.ini) -----> Photos (Synchronization.py:489)
[datatypes.DataType ][DEBUG ] Getting Rid for file:///media/nas/Photos/2009/Picasa.ini (DataType.py:151)
[platform.FileGio ][INFO ] Standard Attributes: standard::name,standard::type,standard::size,standard::display-name,standard::edit-name,standard::copy-name,standard::content-type,standard::icon,standard::fast-content-type (FileGio.py:26)
[platform.FileGio ][INFO ] Time Attributes: time::modified,time::modified-usec,time::access,time::access-usec,time::changed,time::changed-usec (FileGio.py:26)
[TypeConverter ][DEBUG ] Convert file -> file using [('file', 'file', {})] (TypeConverter.py:209)
[TypeConverter ][DEBUG ] Skipping file -> file (TypeConverter.py:168)
[datatypes.File ][DEBUG ] Setting mtime of file:///media/nas/Photos/2009/Picasa.ini to 1237414748 (<type 'long'>) (File.py:115)
[datatypes.File ][DEBUG ] Defering new mtime till transfer (New mtime: 2009-03-18 23:19:08) (File.py:93)
[Syncronization ][INFO ] Putting data file:///media/nas/Photos/2009/Picasa.ini --> None into FolderTwoWay-file:///media/Donnees/Photos (Synchronization.py:37)
[dataproviders.File ][DEBUG ] Relative path: Picasa.ini (File.py:290)
[dataproviders.File ][DEBUG ] Found corresponding group (File.py:292)
[platform.FileGio ][DEBUG ] Transfering File file:///media/nas/Photos/2009/Picasa.ini -> file://_media_Donnees_Photos_Picasa.ini (overwrite: False) (FileGio.py:253)
[Syncronization ][CRITICAL] UNKNOWN SYNCHRONIZATION ERROR
Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/conduit/Synchronization.py", line 737, in run
    self.one_way_sync(self.source, sink)
  File "/var/lib/python-support/python2.5/conduit/Synchronization.py", line 492, in one_way_sync
    self._put_data(source, sink, data, dataRid)
  File "/var/lib/python-support/python2.5/conduit/Synchronization.py", line 332, in _put_data
    put_data(source, sink, sourceData, sourceDataRid, False)
  File "/var/lib/python-support/python2.5/conduit/Synchronization.py", line 41, in put_data
    sinkDataLUID)
  File "/var/lib/python-support/python2.5/conduit/dataproviders/File.py", line 331, in put
    self._transfer_file(vfsFile, newURI, overwrite)
  File "/var/lib/python-support/python2.5/conduit/dataproviders/File.py", line 240, in _transfer_file
    vfsFile.transfer(newURI, overwrite)
  File "/var/lib/python-support/python2.5/conduit/datatypes/File.py", line 251, in transfer
    ok,f = trans.transfer(overwrite, cancel_function)
  File "/var/lib/python-support/python2.5/conduit/platform/FileGio.py", line 258, in transfer
    parent.query_info("standard::name")
AttributeError: 'NoneType' object has no attribute 'query_info'
 (Synchronization.py:745)
[Syncronization ][DEBUG ] Syncworker state 3 (Synchronization.py:648)
[dataproviders.File ][DEBUG ] Saving group (file:///media/nas/Photos/2009 = Home) to /media/nas/.conduit (File.py:47)
[dataproviders.File ][WARNING] Error saving volume group file: [Errno 20] N'est pas un dossier: '/media/nas/.conduit' (File.py:362)
[dataproviders.File ][DEBUG ] Saving group (file:///media/Donnees/Photos = Home) to /media/Donnees/.conduit (File.py:47)
[Syncronization ][DEBUG ] Deleting worker: <RefreshDataProviderWorker(Wrapper: 2009 twoway (UID: FolderTwoWay-file:///media/nas/Photos/2009), stopped)> (Synchronization.py:86)
</pre>

This part :
 Transfering File file:///media/nas/Photos/2009/Picasa.ini -> file://_media_Donnees_Photos_Picasa.ini (overwrite: False) (FileGio.py:253)
[Syncronization ][CRITICAL] UNKNOWN SYNCHRONIZATION ERROR

Seem to be interesting may be its a path problem ?

I run on Xubunu 8.10.

I can make another test and give you any other expliquation.
Thanks for take time to read me.

Thomas

Revision history for this message
Roussillon thomas (t-roussillon) wrote :

Thank you very much. I have installed the 0.3.16 dev release and it work great !

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.