PDA

View Full Version : Synchrorep, a one click folders synchronization



sebkfr
March 11th, 2009, 10:26 PM
Hi,

I have released an english version of Synchrorep, a one click folder synchronization for ubuntu.

If you want to try it or get source, visit http://www.iceberg.0rg.fr

tezer
March 13th, 2009, 08:27 PM
Thank you. It seems what I've been looking for. But is it possible to schedule it to run automatically?

sebkfr
March 13th, 2009, 08:55 PM
My software don't have scheduling for now but you can use a cron by using the following command :

synchrorep --execute [full path to directory to synchronize]

Note that the folder must be already registered otherwise the program will showing the window to choose the alter ego folder (and a cron have not graphical interface).

You must also configure the behavior of the synchronization setting to avoid asking. In case of deletion for example, uncheck "confirm removes option" and choose to put the file to trash.

Vadi
March 14th, 2009, 01:31 AM
Great start!

Some suggestions...

a) allow a downloadable version of the .py file, or even better, package it.

b) look at the Gnome HIG (http://library.gnome.org/devel/hig-book/stable/) to improve the interface

c) consider opening a project in launchpad for translations (https://launchpad.net/+tour/translation)

sebkfr
March 14th, 2009, 12:39 PM
Great start!

Some suggestions...

a) allow a downloadable version of the .py file, or even better, package it.

b) look at the Gnome HIG (http://library.gnome.org/devel/hig-book/stable/) to improve the interface

c) consider opening a project in launchpad for translations (https://launchpad.net/+tour/translation)

Thank you Vadi for your suggestions.

I have set a downloadable version of the source. In fact, the source is in the package : in the /usr/bin directory the synchrorep command is the source.

I will read the HIG for next improvements.

I am a newbie in launchpad and I am examining to open a project.

sebkfr
June 4th, 2009, 06:38 PM
Hi,

I have released version 1.3 of synchrorep.

The new fonctionnalities are :
- Automatic start of synchronization when a concerned disk is mounted (If you want so)
- Gvfs is now supported for ssh, samba and ftp but not webdav because of gnome bug on this type of connection (I will implement it when the bug will be resolved)

There is 5 new string and they are not again translated in rusian, polish and spain (english and french translations are done) and all new languages are welcome. Visit launchpad if you want help.

Vadi
June 4th, 2009, 07:46 PM
Good stuff. Add it to gnomefiles: http://www.gnomefiles.org/devs/index.php?login

sebkfr
June 4th, 2009, 10:48 PM
Good stuff. Add it to gnomefiles: http://www.gnomefiles.org/devs/index.php?login

Thanks again for advice.

I will set it on gnomefiles.

durand
June 5th, 2009, 12:10 AM
Looks like a great program!

sebkfr
June 6th, 2009, 01:11 AM
Looks like a great program!

I'me happy you like it. :)

tesi999
June 12th, 2009, 07:04 PM
Hi. I'm new in Linux-Ubuntu and enjoying it so far. Synchrorep seems to be the program I need but .... when I right click on a folder and click on the sinchroniser option nothing happens. I think it should take me to an option to choose the folder to sync to but nothing appears. The same happens when I click on the create an icon in the desktop: the icon does not appear.
Am I missing something? Any suggestion?
Thanks.

sebkfr
June 12th, 2009, 07:31 PM
Hi. I'm new in Linux-Ubuntu and enjoying it so far. Synchrorep seems to be the program I need but .... when I right click on a folder and click on the sinchroniser option nothing happens. I think it should take me to an option to choose the folder to sync to but nothing appears. The same happens when I click on the create an icon in the desktop: the icon does not appear.
Am I missing something? Any suggestion?
Thanks.

Can you give me the version of synchrorep you have downloaded ?

Have you restarted your session before using it ?

If you have done that, can you open a terminal, and type :
synchrorep --config

This will show you the same window that when you use the application menu.

Check the box to activate the contextual menu and click on the button to create a desktop icon and close then window.

After that can you copy the content of the terminal and post it in the forum. This will give me the informations I need to fix an eventual bug.

tesi999
June 14th, 2009, 10:49 AM
Hi,
The version is 1.3.3 from iceberg.org.fr

I've installed it also in my laptop and restarted after the installation, (not quite sure if I did it in my desktop), and also restarted when I clicked to activate the contextual menu. It happens the same. Nothing occurs when I click on the synchroniser option.

In the terminal when I wrote "synchrorep --config" it opened the same window that in the application menu, clicked again to activate the contextual menu but nothing changes in the terminal.

Thanks.

sebkfr
June 14th, 2009, 07:06 PM
Can you check the folder "/home/[user]/.nautilus/python-extensions" ?

Is there a file "synchrorep_contextual_menu.py" ?

tesi999
June 14th, 2009, 09:52 PM
yes: 2 files with that name. Extensions .py and the other one .pyc

sebkfr
June 14th, 2009, 10:41 PM
I don't understand...

The .py is the program of the contextual menu and the .pyc is generated by python-nautilus. That mean that nautilus have registered it (to be quick).

Have you clicked on folder icon. I mean that the menu don't appear when you click in a window itself.

tesi999
June 15th, 2009, 10:14 AM
yes. Right click on the folder, click on the synchroniser option but nothing happens. What should the program do after that?

somewhere2go
June 15th, 2009, 11:22 AM
Hi. I'm new in Linux-Ubuntu and enjoying it so far. Synchrorep seems to be the program I need but ...

Why not try Grsync (http://www.opbyte.it/grsync/)?

sebkfr
June 15th, 2009, 11:31 AM
yes. Right click on the folder, click on the synchroniser option but nothing happens. What should the program do after that?

I understand, I thought the menu don't appear.

Can you type in a terminal :
synchrorep --execute [full path to your folder]

and report here the terminal result ?

sebkfr
June 15th, 2009, 11:33 AM
Why not try Grsync (http://www.opbyte.it/grsync/)?

Thanks for your support :(

tesi999
June 15th, 2009, 12:22 PM
usage :
synchrorep [option] [folder]
options :
--help : display this help text
--execute : Start a synchronization. The parameter "folder" must be filled
--config : Display setting screen

sebkfr
June 15th, 2009, 12:27 PM
usage :
synchrorep [option] [folder]
options :
--help : display this help text
--execute : Start a synchronization. The parameter "folder" must be filled
--config : Display setting screen

Can you post me your command ?

If there is spaces in your path, you must quote the folder parameter.

Example : synchrorep --execute "/home/xxx/my folder"

tesi999
June 15th, 2009, 12:42 PM
sorry,

vaio-paco@vaio-ubuntu-laptop:~$ synchrorep --execute [/home/vaio-paco/Escritorio/11]
Warning : the user have no active X11 session
vaio-paco@vaio-ubuntu-laptop:~$

11 is the name of the first folder for the sincronisation
Thanks

tesi999
June 15th, 2009, 12:44 PM
vaio-paco@vaio-ubuntu-laptop:~$ synchrorep --execute /home/vaio-paco/Escritorio/11
Warning : the user have no active X11 session
vaio-paco@vaio-ubuntu-laptop:~$

sebkfr
June 15th, 2009, 02:09 PM
Thank you for your patience.

I think the error come from your user have some no alphabetic numbers.

If I'me right (I can't check now because I'm at work), I will put a new version online this night.

I will post a message as soon as the new version is online.

tesi999
June 15th, 2009, 03:10 PM
Thank YOU

sebkfr
June 15th, 2009, 10:02 PM
I have prepared a new debian package for next release.

It is at the adress below :
http://www.iceberg.0rg.fr/packages/synchrorep-1.3.4.deb

I will publish it officialy tomorrow if your problems are resolved.

tesi999
June 16th, 2009, 12:33 PM
New version now works and does it really well.

Thanks for your time.

sebkfr
June 16th, 2009, 06:44 PM
The new version is now downloable from iceberg website, GnomeFiles and SourceForge will be updated in the evening.

KingKen
November 27th, 2009, 04:26 PM
New to ubuntu and need some help. I tried installing the programme under hardy. Synchrorep shows up in the system tools menu but nothing happens when I click on it. Right clicking on a folder does not bring up any options to sync. Thanks, Ken.

sebkfr
November 27th, 2009, 07:04 PM
New to ubuntu and need some help. I tried installing the programme under hardy. Synchrorep shows up in the system tools menu but nothing happens when I click on it. Right clicking on a folder does not bring up any options to sync. Thanks, Ken.

Can you type in a terminal :
synchrorep --config

and copy the result in the forum

I need that to see what hapend

KingKen
November 30th, 2009, 03:54 PM
Can you type in a terminal :
synchrorep --config

and copy the result in the forum

I need that to see what hapend

Is this what you need?

synchrorep --config
Traceback (most recent call last):
File "/usr/bin/synchrorep", line 21, in <module>
import gio, glib, urllib
ImportError: No module named gio

sebkfr
November 30th, 2009, 06:47 PM
Is this what you need?

synchrorep --config
Traceback (most recent call last):
File "/usr/bin/synchrorep", line 21, in <module>
import gio, glib, urllib
ImportError: No module named gio

Can you type in a terminal :
sudo apt-get install python-gobject

and retry ?

KingKen
November 30th, 2009, 09:56 PM
Can you type in a terminal :
sudo apt-get install python-gobject

and retry ?

This is what I got:
sudo apt-get install python-gobject
[sudo] password for ken:
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-gobject is already the newest version.
The following packages were automatically installed and are no longer required:
linux-headers-2.6.24-24-generic kdelibs-data liblualib50 cryptsetup libksba8
liblua50 linux-headers-2.6.24-24 liblockfile1
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

sebkfr
December 2nd, 2009, 01:21 AM
This is what I got:
sudo apt-get install python-gobject
[sudo] password for ken:
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-gobject is already the newest version.
The following packages were automatically installed and are no longer required:
linux-headers-2.6.24-24-generic kdelibs-data liblualib50 cryptsetup libksba8
liblua50 linux-headers-2.6.24-24 liblockfile1
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

can you see if the following files are present in your filesystem :
/var/lib/python-support/python2.5/dbus/glib.py
/var/lib/python-support/python2.5/dbus/mainloop/glib.py

KingKen
December 2nd, 2009, 02:25 PM
can you see if the following files are present in your filesystem :
/var/lib/python-support/python2.5/dbus/glib.py
/var/lib/python-support/python2.5/dbus/mainloop/glib.py

This is what I get back:

/var/lib/python-support/python2.5/dbus/glib.py
bash: /var/lib/python-support/python2.5/dbus/glib.py: Permission denied

/var/lib/python-support/python2.5/dbus/mainloop/glib.py
bash: /var/lib/python-support/python2.5/dbus/mainloop/glib.py: Permission denied

sebkfr
December 2nd, 2009, 07:10 PM
This is what I get back:

/var/lib/python-support/python2.5/dbus/glib.py
bash: /var/lib/python-support/python2.5/dbus/glib.py: Permission denied

/var/lib/python-support/python2.5/dbus/mainloop/glib.py
bash: /var/lib/python-support/python2.5/dbus/mainloop/glib.py: Permission denied

I will install a new ubuntu 8.4 in my computer tomorrow (I can't today) to test if a package is missing. I will tell you what to do if I found something.

KingKen
December 2nd, 2009, 08:12 PM
I will install a new ubuntu 8.4 in my computer tomorrow (I can't today) to test if a package is missing. I will tell you what to do if I found something.

Thanks. I appreciate the time you are taking on this. Ken

sebkfr
December 3rd, 2009, 08:43 PM
I'm sorry but the gio library for python is not implemented in ubuntu 8.04

I will correct my site to inform users.

I'm currently working in a new version in C++ and I will try to make it work on ubuntu 8.04 but at the moment, I can't suggest other way that you upgrade your ubuntu to make my software work for you.

KingKen
December 4th, 2009, 10:22 AM
I'm sorry but the gio library for python is not implemented in ubuntu 8.04

I will correct my site to inform users.

I'm currently working in a new version in C++ and I will try to make it work on ubuntu 8.04 but at the moment, I can't suggest other way that you upgrade your ubuntu to make my software work for you.

Thank you anyway, for the software and for trying to help me. I will look into updating but I would prefer to stick to LTS versions if possible. Maybe I will just wait until April next year.

sebkfr
February 19th, 2010, 10:52 PM
Synchrorep 1.4.1 is arrived

- Porting to C/C++ improving synchronization performances
- Now detect differences to time set between local system and distant systems
- Revoke automatic synchronization on usb disk insertion

Download at http://www.iceberg.0rg.fr//index.php?menu=synchrorep&sub=download

Pantcon1
February 23rd, 2010, 05:19 PM
Bonjour Sebkfr, I have just installed 1.4.1 on Kubuntu 9.10
It works okay except that the contextual 'Synchrorep' right-click is not present, probably due to this being KDE. Would it be possible to support the KDE fan-club as well as Gnome? Thanks for building this handy tool.

sebkfr
February 23rd, 2010, 09:39 PM
Bonjour Sebkfr, I have just installed 1.4.1 on Kubuntu 9.10
It works okay except that the contextual 'Synchrorep' right-click is not present, probably due to this being KDE. Would it be possible to support the KDE fan-club as well as Gnome? Thanks for building this handy tool.

Hello Pantcon1,

You are not the first who ask for kde compatibility. You're the first who said it work fine, so I have made some tests on a virtual kubuntu 9.10.

In fact, it is working for local folders only which limit a lot synchrorep possibilities.

Neverless, I search a bit about kde and found how to create a contextual menu (in actions submenu). you can donwload it here (http://www.iceberg.0rg.fr/all_packages/launch_synchrorep.desktop).

Put this file in the folder "/usr/share/kde4/services/ServiceMenus" and it will bring the contextual menu after reboot.

I will soon make this tip online to explain how to. But I don't want to include it in a package.

This for two reasons :
- Network shares don't work for kde
- Make it fully work need a new application development, that will slow down next features

If someone want to create a "ksynchrorep" project, the open source rules allow that and I'm not against that.

sebkfr
March 3rd, 2010, 10:06 PM
A new version 1.4.2 is online :
- bug fix : synchronizations didn't start if name of synchronization folder contains quotes
- New feature : group of synchronizations management allow to start several synchronizations in one click from applications menu

sebkfr
March 6th, 2010, 07:56 PM
A new version is online : 1.4.3
(http://www.iceberg.0rg.fr//download.php?version=1.4)- Bug fix : database get busy on multi launch
- Now possible to launch a group from contextual menu
- Now show synchronization card before first launch
- Adding lock on synchronization avoiding launching more that once in same time the same folder

sebkfr
March 15th, 2010, 09:47 PM
A new version of synchrorep online : 1.4.4 (http://www.iceberg.0rg.fr//download.php?version=1.4)

Implementation of md5sum to improve reliability

sebkfr
March 22nd, 2010, 11:51 PM
New version of synchrorep released : 1.4.5 (http://www.iceberg.0rg.fr//download.php?version=1.4)

Add logs to trace synchronizations result