borgbase / vorta

Desktop Backup Client for Borg Backup
https://vorta.borgbase.com
GNU General Public License v3.0
2.02k stars 134 forks source link

Bad CPU type on MacbookPro M4 #2131

Open maximede opened 1 week ago

maximede commented 1 week ago

Description

Hello, I'm having a bit of an issue with a brand new install on a new macbook pro m4.

Vorta cannot find borg in the about tab and fails when trying to add a new repo with a weird "Bad CPU type" error

image

OS: Darwin
Release: 24.1.0
Version: Darwin Kernel Version 24.1.0: Thu Oct 10 21:06:57 PDT 2024; root:xnu-11215.41.3~3/RELEASE_ARM64_T6041
Date and Time: 2024-11-13 13:29:45
Borg Version: 1.1.0
Vorta Version: 0.10.1
Traceback (most recent call last):
  File "views/repo_add_dialog.py", line 254, in run
  File "borg/borg_job.py", line 233, in run
  File "subprocess.py", line 1026, in __init__
  File "subprocess.py", line 1955, in _execute_child
OSError: [Errno 86] Bad CPU type in executable: '/Applications/Vorta.app/Contents/Resources/borg-dir/borg.exe'

Steps to reproduce

brew install borgbackup
brew install vorta

I tried reinstalling both borgbackup and vorta, with no luck.

Let me know if I can give more info !

Thanks

Reproduction

OS

MacOS Sequoia 15.1 (24B2083)

Version of Vorta

0.10.1

What did you install Vorta with?

Homebrew

Version of Borg

No version in "about" , 1.4.0 in terminal

Logs

No response

maximede commented 1 week ago

Well, not sure exactly what happened but after a couple reboot, vorta is now finding borg and I can't reproduce this "bad cpu" issue.

I'm now having the same issue as I had on my air m1 ( https://github.com/borgbase/vorta/issues/2100 ) but at least I'm ublocked :)

I'm still happy happy trying to help identifying what happened