I've just posted the 3.1.6 on GitHub for those who want to jump onto the new version right away.
There is a couple of bugfixes, 7-Zip version update and "Do Not Log Skipped Files" option for Sync (as requested on the forum earlier) in the box. I'll give it a week and change the status to "Release".
UPDATE 05-Jan-2019: There seems to be some regressinon in the Sync feature, I'm currently investigating, so this version is still in pre-release mode.
> "Do Not Log Skipped Files" option for Sync (as requested on the forum earlier) in the box
Running it as I type this, and it seems to work great. Thanks! Eventually managed to update from 3.0.4
Is it just me, but sometimes it seems to hang, i.e. Toucan will use circa 15-17% of my CPU, but I get no hard drive activity, and it stays like this until I kill the process.
I think it does it when it encounters a large number of files, e.g. last time I think it froze while doing my Thunderbird email folder in which the cache folder had about 4000 files. I had to kill Toucan, clear Thunderbird's cache, and then the backup script worked alright.
I also had this problem on previous versions of Toucan, so I don't think it's a new bug. Sometimes, my script will work fine, and sometimes it will freeze at some point. I don't know if it's due to number of files, folders, or whatever else. My script probably covers covers between 20 and 30,000 files in no more than a couple thoudsand folders.
This is when using which mode, Sync, right? I personally don't use Sync, mostly Backup, so I have no first-hand experience to share.
I might have found something.
I have a rule in jobs.ini:
It looks like all my other jobs, i.e. it syncs a folder from my E drive to whatever portable drive I'm running Toucan from. all other jobs work fine.
If I run this one, for some reason I get in the log:
16:03:16 Cannot run lua file: [string "sync([=[E:\foldername\]=], [=[@drive@\foldername\]=], [[M..."]:1: '}' expected near '='
16:03:16 Toucan 3.1.6
Computer Name: DESKTOP
Operating System: Windows NT 6.2 (build 9200), 64-bit edition
I tried to modify its options and save it again, and I even copy/paste the section from another working job in my .ini file, and still the same. One of the folder in there has more than 8000 files, not sure if that is a problem.
If this job happens to be in a script, I do not get an error in the log but Toucan just freezes instead. I then have to kill Toucan from the task manager.
*EDIT* Actually, all my jobs in the "Sync" time return the same error! The others seem to work fine in a script though, so I'm not sure what causes the freeze for that particular job.
Earlier today, I also had another freeze in the middle of my Thunderbird folder. Since Thunderbird is in one of many folders/jobs in my script, I removed the jobs prior to this one in my script, run the script again, and it ran ok. As if there is a limit on the number of files/folders a script will process before it hangs. Thunderbird is in the middle of a folder covered by a script, so the job starts ok, and freezes in the middle. The script has 13 sync() jobs, and Thunderbird is in the middle of script 12, so it runs plenty of other sync() before it freezes.
Sorry for not reporting the bug in Github, but I don't have an account.
*EDIT2* I reverted to 3.0.4 and the job worked fine. I'll stick to 3.0.4 for a while and check if the freeze happens there too. It's been a while since I'#ve had the freezing problem, but it's been a while since I've been on 3.1.x, so I'd like to verify if the freeze is a 3.1 bug or if it was there all along.
*EDIT3* Just ran a full backup with 3.0.4 again. It seems to work a lot better for me:
- It was really fast??? I thought 3.1 was supposed to improve?
- It didn't freeze, it ran all jobs without a problem.
- It properly synced some 3.1.5 didn't, i.e. 3.0.4 correctly deleted some old files while syncing that 3.1.5 missed
This one seems like a known one, which I'm currently looking into: https://github.com/PortableApps/Toucan/issues/21. Looks like some regression in 3.1.6, that's why it's still in the pre-release phase.
I've fixed this problem, the updated pre-release package is on GH at https://github.com/PortableApps/Toucan/releases/tag/126.96.36.199, feel free to give it a try.