Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2019-06

New application - Mac OSX Problems

2 messages · 1 person · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Anthony Walter

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?

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

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20190601/3d705686/attachment.html>

Reply by email

Anthony Walter
to Anthony Walter

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
<https://www.reddit.com/r/linux/comments/bvtbb8/backer_a_tiny_linux_desktop_app_making_backing_up/> on that subreddit.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20190602/03a77a84/attachment.html>

Reply by email