lukepistrol / TimeMachineStatus

TimeMachineStatus is a little menu bar application for macOS which aims to show more useful information than the system default.
Other
239 stars 3 forks source link

🐞: [BUG] App crash while backing-up and unable to open app #40

Open Soldier-82 opened 3 days ago

Soldier-82 commented 3 days ago

Describe the bug The application crash after few minutes, after have initiated a backup. (cf. "TimeMachineStatus_While_Backup") Still while the backup is in progress, the application crash immediately at the opening. (cf. "TimeMachineStatus_Reopening_App.txt")

To Reproduce Steps to reproduce the behavior:

  1. Open "System Settings" > General > Time Machine > Right Click on volume > Back Up to ...

Expected behavior N/A

Screenshots N/A

Additional context Operating System:

Time Machine configuration:

TimeMachineStatus_While_Backup.txt TimeMachineStatus_Reopening_App.txt

lukepistrol commented 2 days ago

Please open your Terminal.app and type in the following command to save the logs to a file on your Desktop. Ideally right after you restarted the app. Make sure to change the time stamp to before the error occurred.

log show --predicate 'sender == "TimeMachineStatus"' --start '2024-10-18 00:05:00' > ~/Desktop/TMS.log

Then please attach the file here.

Soldier-82 commented 2 days ago

Hello,

There is the log as you asked: TMS.log

The command you provided give me an empty file, so I've edit to: (Just have change the sender by process) log show --predicate 'process == "TimeMachineStatus"' --start '2024-10-18 16:17:30' > ~/Desktop/TMS.log

Timestamp of user actions:

Have a nice day!

Soldier-82 commented 15 hours ago

Hi,

After the update 0.2.3 the problem is still persistent.

So, I've try to download an open your project in Xcode.

After a run and a back up launched the app crash at the file: TimeMachineStatus > Model > BackupState > BackupState.swift

At the line 52: let state = try decoder.decode(BackupState._State.self, from: data)

I suppose its a problem when decoding the property list 🤷‍♂️

I stay available for any complementary informations.