[Lazarus] New application - Mac OSX Problems

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Lazarus] New application - Mac OSX Problems

Free Pascal - Lazarus mailing list
I wrote a new application for both Windows and Linux:

https://www.getlazarus.org/apps/backer/

It was a favor for a less than computer literate friend who couldn't open a terminal and run rsync backing up of their video work to two redundant network drives.

The program works fine on both my Linux and Mac computers, but on his Mac laptop there is an issue. The rsync seems to run, but is not actually copying files. I've looked at rsync manually on his computer from the terminal and it works. When I run the exact same command from my Lazarus program (inside a thread) the thread completes as if everything worked, but no files are actually copied through rsync.

Could someone take a gander at this little bit of code and possible decipher why it's failing on his Mac, but not on my Mac or Linux computer?


The thread is created passing it to list of strings, the source folders, and the dest folders. The thread then creates private copies of those items as FSource and FDest and calls inherited Create(False).

The execute procedure FreeOnTerminates, then loops through each source, rsyncing it to each dest location.

--
_______________________________________________
lazarus mailing list
[hidden email]
https://lists.lazarus-ide.org/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] New application - Mac OSX Problems

Free Pascal - Lazarus mailing list
I added some logging and updated the web page with more information. Hopefully I can figure out what's causing the problem through the logs.

Also people are talking about Pascal over on r/Linux due to my submission right now. At this moment the top link on that subreddit.

--
_______________________________________________
lazarus mailing list
[hidden email]
https://lists.lazarus-ide.org/listinfo/lazarus