batch file in silent mode since upgrade

Get help for specific problems
Posts: 8
Joined: 12 Apr 2006

elfunesto

Hi,
First I want to thank you for this great software. However, I have a problem
since I have upgraded my Ubuntu operating system to oneiric ocelot. When I run
FreefileSync using a batch file and silent mode, the software hangs at
"Recherche du répertoire" (sorry in French, probably Looking for folder in
English), while it works without any problem running the same batch file with
silent option to false.
I have tried different setting concerning error management (ignoring, popup or
quit) but it does not change the result. The log file keeps desperately empty.
The exact same batch file used to work under ubunty natty.
Does somebody has an idea? Can I provide more information?
Thanks by advance. Cheers,
Hilaire
User avatar
Site Admin
Posts: 7212
Joined: 9 Dec 2007

Zenju

Which version and build of FreeFileSync did you use? v4.1 is not yet ported to
Ubuntu 10.11 as a launchpad ppa. And using the precompiled version for Ubuntu
04.11 may cause problems. Therefore I suggest to compile FreeFileSync manually
on Ubuntu 10.11 and test whether the problem remains.
Posts: 8
Joined: 12 Apr 2006

elfunesto

Hi,
Thanks for your answer. I currently run version 4.0 from the ppa. I will try
to compile version 4.1 and see if it solves my problem.
Cheers,
Hilaire
Posts: 8
Joined: 12 Apr 2006

elfunesto

Hi,
I succeedded in compiling the source code v4.1 under ubuntu 11.10 (just for
your information, I had to modify ptrdiff_t for std::ptrdiff_t in line 401 in
the file ./zenXml/zenxml/parser.h). However, it does not solve my problem.
Freefile sync still hangs in "recherche du répertoire" when running a batch in
silent mode.
Cheers,
Hilaire
User avatar
Site Admin
Posts: 7212
Joined: 9 Dec 2007

Zenju

> modify ptrdiff_t
This problem and a couple of others will be fixed in v4.2

> silent mode.
There is no silent mode in v4.1 anymore. Do you mean "run minimized"?

Are there some specific steps how this problem can be reproduced?
Posts: 8
Joined: 12 Apr 2006

elfunesto

Hi,
I just discover an interesting point. I have both a kde and a gnome desktop
under ubuntu 11.10 (I don't like unity so I decided to migrate to kde) and the
problem only occurs when I use kde!

Here is the content of the batch file:
<?xml version="1.0" encoding="UTF-8"?> 
<FreeFileSync XmlType="BATCH"> 
<MainConfig> 
<Comparison> 
<Variant>ByTimeAndSize</Variant> 
<HandleSymlinks>Ignore</HandleSymlinks> 
</Comparison> 
<SyncConfig> 
<Variant>Automatic</Variant> 
<CustomDirections> 
<LeftOnly>right</LeftOnly> 
<RightOnly>left</RightOnly> 
<LeftNewer>right</LeftNewer> 
<RightNewer>left</RightNewer> 
<Different>none</Different> 
<Conflict>none</Conflict> 
</CustomDirections> 
<DeletionPolicy>DeletePermanently</DeletionPolicy> 
<CustomDeletionFolder/> 
</SyncConfig> 
<GlobalFilter> 
<Include>*</Include> 
<Exclude>/.Trash-*/&#x0A; /.recycle/</Exclude> 
<TimeSpan>0</TimeSpan> 
<UnitTimeSpan>Inactive</UnitTimeSpan> 
<SizeMin>0</SizeMin> 
<UnitSizeMin>Inactive</UnitSizeMin> 
<SizeMax>0</SizeMax> 
<UnitSizeMax>Inactive</UnitSizeMax> 
</GlobalFilter> 
<FolderPairs> 
<Pair> 
<Left>/media/Sauvegarde</Left> 
<Right>/home/hilaire/Documents</Right> 
<LocalFilter> 
<Include>*</Include> 
<Exclude/> 
<TimeSpan>0</TimeSpan> 
<UnitTimeSpan>Inactive</UnitTimeSpan> 
<SizeMin>0</SizeMin> 
<UnitSizeMin>Inactive</UnitSizeMin> 
<SizeMax>0</SizeMax> 
<UnitSizeMax>Inactive</UnitSizeMax> 
</LocalFilter> 
</Pair> 
</FolderPairs> 
</MainConfig> 
<BatchConfig> 
<Silent>true</Silent> 
<LogfileDirectory/> 
<LogfileCountMax>200</LogfileCountMax> 
<HandleError>Popup</HandleError> 
</BatchConfig> 
</FreeFileSync>


which does not work. The same batch file works if I change the <silent> tag to
false. The problem is not linked to the folders because it does not work
better with other folder (and it works if I change the silent tag).
I launch the batch file with the following command
>FreeFileSync SyncJob.ffs_batch

I also notice that when I launch FreeFileSync in the usual way (not batch),
the program does not close properly after a synchronisation (a new window
opens after a few time) while it closes properly under gnome? Hope that helps
Cheers,
Hilaire
User avatar
Site Admin
Posts: 7212
Joined: 9 Dec 2007

Zenju

I made a few tests after installing KDE on Ubuntu x64 both with and without
"silent (=run minimized" set, but found no obvious problem. However just
yesterday I made a lot of changes with respect to KDE compatibility on Kubuntu
([404, Invalid URL: https://sourceforge.net/tracker/index.php?func=detail&aid=3426185&group_id=234430&atid=1093080]
so it might be that whatever the problem is here, is also fixed:
[404, Invalid URL: http://ifile.it/vw1hjg7/FFS] Source 4.2 beta.zip

Note that there is one obvious wxWidgets bug related to KDE which makes
FreeFileSync crash if you undock and dock a pane:
http://trac.wxwidgets.org/ticket/4841
Although they seem to have no intention to ever fix this bug, at least I
noticed that the symptoms seem gone with wxWidgets 2.9, which FreeFileSync
supports as of v4.2.
At the downside wxWidgets 2.9 intruduces a number of new GUI bugs (but only
visual problems). It seems, unless you do everything yourself, you can't have
it all.
Posts: 8
Joined: 12 Apr 2006

elfunesto

No more success with version 4.2, but I still has wxwidget 2.8. Does the kde
bug explains that when I open FFS in the usual way, make a synchronisation and
click on finish, a FFS icon appears in the notification area, an other icon
appearing each time I try to close the previous one?
Hilaire
Posts: 8
Joined: 12 Apr 2006

elfunesto

Cool! Compiling and installing wxwidgets 2.9 solve both two problems! Thank
you for your help and patience!
Hilaire
User avatar
Site Admin
Posts: 7212
Joined: 9 Dec 2007

Zenju

Perfect! Now I hope they'll fix the newly introduced graphics glitches in
wxWidgets 2.9 before they make the stable release and everybody will be happy.