lra / mackup

Keep your application settings in sync (OS X/Linux)
GNU General Public License v3.0
14.59k stars 933 forks source link

Übersicht is ignored #1520

Open Peeja opened 4 years ago

Peeja commented 4 years ago

I have Übersicht installed and I have widgets in Library/Application Support/Übersicht/widgets, but mackup backup doesn't appear to notice it. The application config exists:

$ cat /usr/local/Cellar/mackup/0.8.27/libexec/lib/python3.7/site-packages/mackup/applications/ubersicht.cfg
[application]
name = Ubersicht

[configuration_files]
Library/Application Support/Übersicht/widgets
Library/Preferences/tracesOf.Uebersicht.plist

I'm assuming this is a Unicode problem. I'm on macOS 10.14.6. Any idea how to fix it?

lra commented 4 years ago

Not sure.

Can you try copying the ubersicht.cfg config file in your ~/.mackup folder and edit it to see if you can make it work?

See https://github.com/lra/mackup/tree/master/doc#add-support-for-an-application-or-any-file-or-directory

Peeja commented 4 years ago

Well this is odd. If I copy ubersicht.cfg to ~/.mackup, it still fails (unsurprisingly). If I then change the name to uebersicht.cfg, and make no changes to the content, it works.

It also works if I name it:

I'm at a loss. But in the meantime, it works at least.

lra commented 4 years ago

Weird. Can you try with the --verbose switch?

Peeja commented 4 years ago

As totally-not-ubersicht.cfg:

--- totally-not-ubersicht ---
Backing up
  /Users/peeja/Library/Application Support/Übersicht/widgets
  to
  /Users/peeja/Dropbox/Mackup/Library/Application Support/Übersicht/widgets ...
Backing up
  /Users/peeja/Library/Preferences/tracesOf.Uebersicht.plist
  to
  /Users/peeja/Dropbox/Mackup/Library/Preferences/tracesOf.Uebersicht.plist ...

As ubersicht.cfg: No --- ubersicht --- section appears.