Microsoft surface laptop 7 an arm processor problems installing SAB [Snapdragon X Elite / Plus]

Report & discuss bugs found in SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
japie1213
Newbie
Newbie
Posts: 10
Joined: June 23rd, 2024, 10:49 pm

Microsoft surface laptop 7 an arm processor problems installing SAB [Snapdragon X Elite / Plus]

Post by japie1213 »

I bought a microsoft surface laptop 7 with a snapdragon arm processor and windows 11 home
Now i have problems installing SABnzbd.
After installion SABnzb it shows the following messages:
__essential parts are missing, downloading not possible
-- unrar program not found
-- par2 program not found

I found om the internet that due to an arm processoer several software programmas dont work anymore.
Is this also the cas with the SABnzb program.
It installs and runs smoothly on an other microsoft surface book 3 laptop
regards
Jan
User avatar
sander
Release Testers
Release Testers
Posts: 9070
Joined: January 22nd, 2008, 2:22 pm

Re: Microsoft surface laptop 7 an arm processor problems installing SAB

Post by sander »

can you provide a URL to the specs of the microsoft surface laptop 7 with a snapdragon arm?

Because my google hit says "Surface Pro 7 uses the 10th-generation Intel® Core™ processor", so Intel, not ARM
japie1213
Newbie
Newbie
Posts: 10
Joined: June 23rd, 2024, 10:49 pm

Re: Microsoft surface laptop 7 an arm processor problems installing SAB

Post by japie1213 »

I have bought a 13 inch Microsoft Surface LAPTOP 7th generation 16Gb and a 1 TB SSD
(not a Surface Pro)
The processor is a SNAPDRAGON X ELITE 16 GB ,
see the website of microsoft
User avatar
sander
Release Testers
Release Testers
Posts: 9070
Joined: January 22nd, 2008, 2:22 pm

Re: Microsoft surface laptop 7 an arm processor problems installing SAB [Snapdragon X Elite / Plus]

Post by sander »

OK, so https://www.microsoft.com/surface/devic ... th-edition ... indeed with Snapdragon® X Elite- en Plus-processors.

I ran SABnzbd.exe on Windows on ARM some time ago, and that just worked: https://github.com/sabnzbd/sabctools/is ... 1768544814

A bit of background

Sabnzbd.exe is a x86 binary. Which on ARM / Elite X is emulated. So far so good.
unrar.exe and par2.exe are x86 binaries too. So they must be emulated too. But that does not happen for you. Or those files are not found (... by the emulator?)

Or ... is this just your Windows virusscanner kicking in? To check: search unrar.exe in your C: \ Program Files \ Sabnzbd \ ... or something like that.
japie1213
Newbie
Newbie
Posts: 10
Joined: June 23rd, 2024, 10:49 pm

Re: Microsoft surface laptop 7 an arm processor problems installing SAB [Snapdragon X Elite / Plus]

Post by japie1213 »

Thanks for the respons.
Yes i found the map in
C:/program Files/SABnzbd/win/unrar/x64/unrar.exe
In the same map, called win, i also see the maps: 7zip , multipar and par2,
So it seems that everything is installed correct but in one way or another the SAB program cant find the unrar.exe file
User avatar
sander
Release Testers
Release Testers
Posts: 9070
Joined: January 22nd, 2008, 2:22 pm

Re: Microsoft surface laptop 7 an arm processor problems installing SAB [Snapdragon X Elite / Plus]

Post by sander »

OK, good.

Can you open a CMD (or powershell) box, and run that unrar.exe ? Does it give output like below

Code: Select all

$ unrar

UNRAR 7.00 beta 3 freeware      Copyright (c) 1993-2023 Alexander Roshal

Usage:     unrar <command> -<switch 1> -<switch N> <archive> <files...>
               <@listfiles...> <path_to_extract/>

<Commands>
EDIT:

open sabnzbd.log (SABnzbd GUI -> Wrench (upper right corner) -> Show Logging), and find lines like

Code: Select all

2024-06-23 13:18:51,256::INFO::[SABnzbd:424] SABCTools module is using SIMD set: AVX512VL+VBMI2
2024-06-23 13:18:51,256::INFO::[SABnzbd:425] SABCTools module is linked to OpenSSL: True
2024-06-23 13:18:51,256::INFO::[SABnzbd:445] Cryptography module (v42.0.6)... found!
2024-06-23 13:18:51,256::INFO::[SABnzbd:451] par2 binary... found (/usr/bin/par2)
2024-06-23 13:18:51,256::INFO::[SABnzbd:458] UNRAR binary... found (/usr/bin/unrar)
2024-06-23 13:18:51,256::INFO::[SABnzbd:466] UNRAR binary version 7.00
2024-06-23 13:18:51,256::INFO::[SABnzbd:473] 7za binary... found (/usr/bin/7zz)
2024-06-23 13:18:51,257::INFO::[SABnzbd:475] 7za binary version 21.07
so ... what does SAB say about par2 binary and unrar binary?
japie1213
Newbie
Newbie
Posts: 10
Joined: June 23rd, 2024, 10:49 pm

Re: Microsoft surface laptop 7 an arm processor problems installing SAB [Snapdragon X Elite / Plus]

Post by japie1213 »

question 1; run unrar in cmd Yes i see the lines you mentioned
question 2; Log files SAbNZBD see below
2024-06-24 05:35:44,836::INFO::[SABnzbd:1144] --------------------------------
2024-06-24 05:35:44,837::INFO::[SABnzbd:1145] SABnzbd.py-4.3.1
2024-06-24 05:35:44,837::INFO::[SABnzbd:1155] Commit = <HASH>e1fd11d75e2d375
2024-06-24 05:35:44,837::INFO::[SABnzbd:1157] Full executable path = C:\Program Files\SABnzbd\SABnzbd.py
2024-06-24 05:35:44,837::INFO::[SABnzbd:1158] Arguments = "C:\Program Files\SABnzbd\SABnzbd.exe"
2024-06-24 05:35:44,837::INFO::[SABnzbd:1159] Python-version = 3.12.3 (tags/v3.12.3:f6650f9, Apr 9 2024, 14:05:25) [MSC v.1938 64 bit (AMD64)]
2024-06-24 05:35:44,837::INFO::[SABnzbd:1160] Dockerized = False
2024-06-24 05:35:44,837::INFO::[SABnzbd:1161] CPU architecture = ARM64
2024-06-24 05:35:44,853::INFO::[SABnzbd:1164] Platform = nt - Windows-11-10.0.26100-SP0
2024-06-24 05:35:44,853::INFO::[SABnzbd:1170] Preferred encoding = cp1252
2024-06-24 05:35:44,853::INFO::[SABnzbd:1192] SSL version = OpenSSL 3.0.13 30 Jan 2024
2024-06-24 05:35:44,854::INFO::[SABnzbd:1201] Certifi version = 2024.02.02
2024-06-24 05:35:44,854::INFO::[SABnzbd:1202] Loaded additional certificates from C:\Program Files\SABnzbd\certifi\cacert.pem
2024-06-24 05:35:44,854::INFO::[SABnzbd:1212] Using INI file \\?\C:\Users\<USERNAME>\AppData\Local\sabnzbd\sabnzbd.ini
2024-06-24 05:35:44,867::INFO::[postproc:143] Loading postproc queue
2024-06-24 05:35:44,876::INFO::[scheduler:190] Scheduling RSS interval task every 60 min (delay=48)
2024-06-24 05:35:44,877::INFO::[scheduler:200] Scheduling version check in 10 minutes and daily at 16:39
2024-06-24 05:35:44,877::INFO::[scheduler:215] Setting schedule for midnight auto history-purge
2024-06-24 05:35:44,877::INFO::[scheduler:224] Setting schedule for midnight BPS reset
2024-06-24 05:35:44,877::INFO::[scheduler:233] Setting schedule for midnight server expiration check
2024-06-24 05:35:44,878::INFO::[scheduler:242] Setting schedule for server quota check
2024-06-24 05:35:44,887::INFO::[__init__:328] All processes started
2024-06-24 05:35:44,887::INFO::[SABnzbd:338] Template location for Glitter is \\?\C:\Program Files\SABnzbd\interfaces\Glitter
2024-06-24 05:35:44,888::INFO::[SABnzbd:338] Template location for Config is \\?\C:\Program Files\SABnzbd\interfaces\Config
2024-06-24 05:35:44,890::INFO::[SABnzbd:423] SABCTools module (v8.1.0)... found!
2024-06-24 05:35:44,890::INFO::[SABnzbd:424] SABCTools module is using SIMD set: SSSE3
2024-06-24 05:35:44,890::INFO::[SABnzbd:425] SABCTools module is linked to OpenSSL: True
2024-06-24 05:35:44,890::INFO::[SABnzbd:445] Cryptography module (v42.0.5)... found!
2024-06-24 05:35:44,890::INFO::[notifier:157] Sending notification: Fout - par2-programma niet gevonden. (type=error, job_cat=None)
2024-06-24 05:35:44,890::ERROR::[SABnzbd:453] par2-programma niet gevonden.
2024-06-24 05:35:44,891::INFO::[notifier:157] Sending notification: Fout - unrar-programma niet gevonden. (type=error, job_cat=None)
2024-06-24 05:35:44,891::ERROR::[SABnzbd:468] unrar-programma niet gevonden.
2024-06-24 05:35:44,891::INFO::[SABnzbd:473] 7za binary... found (C:\Program Files\SABnzbd\win\7zip\7za.exe)
2024-06-24 05:35:44,891::INFO::[notifier:157] Sending notification: Fout - Essenti le onderdelen ontbreken, er kan niet gedownload worden. (type=error, job_cat=None)
2024-06-24 05:35:44,891::ERROR::[SABnzbd:491] Essenti le onderdelen ontbreken, er kan niet gedownload worden.
2024-06-24 05:35:44,891::INFO::[SABnzbd:1399] Starting web-interface on 127.0.0.1:8080
2024-06-24 05:35:44,893::INFO::[_cplogging:213] [24/Jun/2024:05:35:44] ENGINE Bus STARTING
2024-06-24 05:35:45,108::INFO::[_cplogging:213] [24/Jun/2024:05:35:45] ENGINE Serving on http://127.0.0.1:8080
2024-06-24 05:35:45,109::INFO::[_cplogging:213] [24/Jun/2024:05:35:45] ENGINE Bus STARTED
2024-06-24 05:35:47,452::INFO::[panic:239] Launching browser with http://127.0.0.1:8080/sabnzbd
2024-06-24 05:39:35,741::INFO::[SABnzbd:1144] --------------------------------
2024-06-24 05:39:35,744::INFO::[SABnzbd:1145] SABnzbd.py-4.3.2
2024-06-24 05:39:35,744::INFO::[SABnzbd:1155] Commit = <HASH>c5b457f7bb3a473
2024-06-24 05:39:35,745::INFO::[SABnzbd:1157] Full executable path = C:\Program Files\SABnzbd\SABnzbd.py
2024-06-24 05:39:35,745::INFO::[SABnzbd:1158] Arguments = "C:\Program Files\SABnzbd\SABnzbd.exe"
2024-06-24 05:39:35,746::INFO::[SABnzbd:1159] Python-version = 3.12.3 (tags/v3.12.3:f6650f9, Apr 9 2024, 14:05:25) [MSC v.1938 64 bit (AMD64)]
2024-06-24 05:39:35,746::INFO::[SABnzbd:1160] Dockerized = False
2024-06-24 05:39:35,746::INFO::[SABnzbd:1161] CPU architecture = ARM64
2024-06-24 05:39:35,764::INFO::[SABnzbd:1164] Platform = nt - Windows-11-10.0.26100-SP0
2024-06-24 05:39:35,764::INFO::[SABnzbd:1170] Preferred encoding = cp1252
2024-06-24 05:39:35,764::INFO::[SABnzbd:1192] SSL version = OpenSSL 3.0.13 30 Jan 2024
2024-06-24 05:39:35,765::INFO::[SABnzbd:1201] Certifi version = 2024.02.02
2024-06-24 05:39:35,765::INFO::[SABnzbd:1202] Loaded additional certificates from C:\Program Files\SABnzbd\certifi\cacert.pem
2024-06-24 05:39:35,765::INFO::[SABnzbd:1212] Using INI file \\?\C:\Users\<USERNAME>\AppData\Local\sabnzbd\sabnzbd.ini
2024-06-24 05:39:35,773::INFO::[postproc:143] Loading postproc queue
2024-06-24 05:39:35,775::INFO::[scheduler:190] Scheduling RSS interval task every 60 min (delay=32)
2024-06-24 05:39:35,775::INFO::[scheduler:200] Scheduling version check in 10 minutes and daily at 16:52
2024-06-24 05:39:35,775::INFO::[scheduler:215] Setting schedule for midnight auto history-purge
2024-06-24 05:39:35,776::INFO::[scheduler:224] Setting schedule for midnight BPS reset
2024-06-24 05:39:35,776::INFO::[scheduler:233] Setting schedule for midnight server expiration check
2024-06-24 05:39:35,776::INFO::[scheduler:242] Setting schedule for server quota check
2024-06-24 05:39:35,777::INFO::[__init__:328] All processes started
2024-06-24 05:39:35,778::INFO::[SABnzbd:339] Template location for Glitter is \\?\C:\Program Files\SABnzbd\interfaces\Glitter
2024-06-24 05:39:35,778::INFO::[SABnzbd:339] Template location for Config is \\?\C:\Program Files\SABnzbd\interfaces\Config
2024-06-24 05:39:35,779::INFO::[SABnzbd:424] SABCTools module (v8.2.0)... found!
2024-06-24 05:39:35,780::INFO::[SABnzbd:425] SABCTools module is using SIMD set: SSSE3
2024-06-24 05:39:35,780::INFO::[SABnzbd:426] SABCTools module is linked to OpenSSL: True
2024-06-24 05:39:35,780::INFO::[SABnzbd:446] Cryptography module (v42.0.7)... found!
2024-06-24 05:39:35,780::INFO::[notifier:157] Sending notification: Fout - par2-programma niet gevonden. (type=error, job_cat=None)
2024-06-24 05:39:35,780::ERROR::[SABnzbd:454] par2-programma niet gevonden.
2024-06-24 05:39:35,780::INFO::[notifier:157] Sending notification: Fout - unrar-programma niet gevonden. (type=error, job_cat=None)
2024-06-24 05:39:35,780::ERROR::[SABnzbd:469] unrar-programma niet gevonden.
2024-06-24 05:39:35,780::INFO::[SABnzbd:474] 7za binary... found (C:\Program Files\SABnzbd\win\7zip\7za.exe)
2024-06-24 05:39:35,780::INFO::[notifier:157] Sending notification: Fout - Essenti le onderdelen ontbreken, er kan niet gedownload worden. (type=error, job_cat=None)
2024-06-24 05:39:35,780::ERROR::[SABnzbd:492] Essenti le onderdelen ontbreken, er kan niet gedownload worden.
2024-06-24 05:39:35,782::INFO::[SABnzbd:1406] Starting web-interface on 127.0.0.1:8080
2024-06-24 05:39:35,782::INFO::[_cplogging:213] [24/Jun/2024:05:39:35] ENGINE Bus STARTING
2024-06-24 05:39:36,017::INFO::[_cplogging:213] [24/Jun/2024:05:39:36] ENGINE Serving on http://127.0.0.1:8080
2024-06-24 05:39:36,017::INFO::[_cplogging:213] [24/Jun/2024:05:39:36] ENGINE Bus STARTED
2024-06-24 05:39:38,431::INFO::[panic:239] Launching browser with http://127.0.0.1:8080/sabnzbd
2024-06-24 05:56:05,134::INFO::[filesystem:747] Creating directories: \\?\C:\Users\<USERNAME>\Downloads\incomplete
2024-06-24 09:39:22,205::INFO::[SABnzbd:1144] --------------------------------
2024-06-24 09:39:22,207::INFO::[SABnzbd:1145] SABnzbd.py-4.3.2
2024-06-24 09:39:22,207::INFO::[SABnzbd:1155] Commit = <HASH>c5b457f7bb3a473
2024-06-24 09:39:22,207::INFO::[SABnzbd:1157] Full executable path = C:\Program Files\SABnzbd\SABnzbd.py
2024-06-24 09:39:22,208::INFO::[SABnzbd:1158] Arguments = "C:\Program Files\SABnzbd\SABnzbd.exe"
2024-06-24 09:39:22,208::INFO::[SABnzbd:1159] Python-version = 3.12.3 (tags/v3.12.3:f6650f9, Apr 9 2024, 14:05:25) [MSC v.1938 64 bit (AMD64)]
2024-06-24 09:39:22,208::INFO::[SABnzbd:1160] Dockerized = False
2024-06-24 09:39:22,208::INFO::[SABnzbd:1161] CPU architecture = ARM64
2024-06-24 09:39:22,231::INFO::[SABnzbd:1164] Platform = nt - Windows-11-10.0.26100-SP0
2024-06-24 09:39:22,232::INFO::[SABnzbd:1170] Preferred encoding = cp1252
2024-06-24 09:39:22,232::INFO::[SABnzbd:1192] SSL version = OpenSSL 3.0.13 30 Jan 2024
2024-06-24 09:39:22,232::INFO::[SABnzbd:1201] Certifi version = 2024.02.02
2024-06-24 09:39:22,233::INFO::[SABnzbd:1202] Loaded additional certificates from C:\Program Files\SABnzbd\certifi\cacert.pem
2024-06-24 09:39:22,233::INFO::[SABnzbd:1212] Using INI file \\?\C:\Users\<USERNAME>\AppData\Local\sabnzbd\sabnzbd.ini
2024-06-24 09:39:22,233::INFO::[filesystem:747] Creating directories: \\?\C:\Users\<USERNAME>\Downloads\incomplete
2024-06-24 09:39:22,249::INFO::[postproc:143] Loading postproc queue
2024-06-24 09:39:22,258::INFO::[scheduler:190] Scheduling RSS interval task every 60 min (delay=47)
2024-06-24 09:39:22,258::INFO::[scheduler:200] Scheduling version check in 10 minutes and daily at 22:36
2024-06-24 09:39:22,258::INFO::[scheduler:215] Setting schedule for midnight auto history-purge
2024-06-24 09:39:22,258::INFO::[scheduler:224] Setting schedule for midnight BPS reset
2024-06-24 09:39:22,258::INFO::[scheduler:233] Setting schedule for midnight server expiration check
2024-06-24 09:39:22,258::INFO::[scheduler:242] Setting schedule for server quota check
2024-06-24 09:39:22,261::INFO::[filesystem:1160] [N/A] \\?\C:\Users\<USERNAME>\Downloads\incomplete\Update en fullinstall Adobe Lightroom Classic 2024 v13_3_1 (x64) Multilingual\__ADMIN__\SABnzbd_nzo_pjd0bm0_ missing
2024-06-24 09:39:22,261::INFO::[filesystem:1160] [N/A] \\?\C:\Users\<USERNAME>\AppData\Local\sabnzbd\admin\future\SABnzbd_nzo_pjd0bm0_ missing
2024-06-24 09:39:22,261::INFO::[__init__:328] All processes started
2024-06-24 09:39:22,263::INFO::[SABnzbd:339] Template location for Glitter is \\?\C:\Program Files\SABnzbd\interfaces\Glitter
2024-06-24 09:39:22,263::INFO::[SABnzbd:339] Template location for Config is \\?\C:\Program Files\SABnzbd\interfaces\Config
2024-06-24 09:39:22,265::INFO::[SABnzbd:424] SABCTools module (v8.2.0)... found!
2024-06-24 09:39:22,265::INFO::[SABnzbd:425] SABCTools module is using SIMD set: SSSE3
2024-06-24 09:39:22,265::INFO::[SABnzbd:426] SABCTools module is linked to OpenSSL: True
2024-06-24 09:39:22,265::INFO::[SABnzbd:446] Cryptography module (v42.0.7)... found!
2024-06-24 09:39:22,265::INFO::[notifier:157] Sending notification: Fout - par2-programma niet gevonden. (type=error, job_cat=None)
2024-06-24 09:39:22,265::ERROR::[SABnzbd:454] par2-programma niet gevonden.
2024-06-24 09:39:22,265::INFO::[notifier:157] Sending notification: Fout - unrar-programma niet gevonden. (type=error, job_cat=None)
2024-06-24 09:39:22,265::ERROR::[SABnzbd:469] unrar-programma niet gevonden.
2024-06-24 09:39:22,266::INFO::[SABnzbd:474] 7za binary... found (C:\Program Files\SABnzbd\win\7zip\7za.exe)
2024-06-24 09:39:22,266::INFO::[notifier:157] Sending notification: Fout - Essenti le onderdelen ontbreken, er kan niet gedownload worden. (type=error, job_cat=None)
2024-06-24 09:39:22,266::ERROR::[SABnzbd:492] Essenti le onderdelen ontbreken, er kan niet gedownload worden.
2024-06-24 09:39:22,267::INFO::[SABnzbd:1406] Starting web-interface on 127.0.0.1:8080
2024-06-24 09:39:22,267::INFO::[_cplogging:213] [24/Jun/2024:09:39:22] ENGINE Bus STARTING
2024-06-24 09:39:22,496::INFO::[_cplogging:213] [24/Jun/2024:09:39:22] ENGINE Serving on http://127.0.0.1:8080
2024-06-24 09:39:22,496::INFO::[_cplogging:213] [24/Jun/2024:09:39:22] ENGINE Bus STARTED
2024-06-24 09:39:27,049::INFO::[panic:239] Launching browser with http://127.0.0.1:8080/sabnzbd
2024-06-24 09:40:16,897::INFO::[happyeyeballs:196] Quickest IP address for self-test.sabnzbd.org (port=443, IPv4-only): 104.26.2.117 (self-test.sabnzbd.org)
2024-06-24 09:40:16,976::INFO::[happyeyeballs:196] Quickest IP address for self-test.sabnzbd.org (port=443, IPv6-only): 2606:4700:20::681a:275 (self-test.sabnzbd.org)
2024-06-24 09:40:29,347::INFO::[config:998] Writing settings to INI file \\?\C:\Users\<USERNAME>\AppData\Local\sabnzbd\sabnzbd.ini
__version__ = 19
__encoding__ = utf-8
[misc]
User avatar
sander
Release Testers
Release Testers
Posts: 9070
Joined: January 22nd, 2008, 2:22 pm

Re: Microsoft surface laptop 7 an arm processor problems installing SAB [Snapdragon X Elite / Plus]

Post by sander »

Yes. And my first question?

So:

Code: Select all

2024-06-24 05:35:44,890::INFO::[notifier:157] Sending notification: Fout - par2-programma niet gevonden. (type=error, job_cat=None)
2024-06-24 05:35:44,890::ERROR::[SABnzbd:453] par2-programma niet gevonden.
2024-06-24 05:35:44,891::INFO::[notifier:157] Sending notification: Fout - unrar-programma niet gevonden. (type=error, job_cat=None)
2024-06-24 05:35:44,891::ERROR::[SABnzbd:468] unrar-programma niet gevonden.
with very interesting: 7za.exe is found:

Code: Select all

2024-06-24 05:35:44,891::INFO::[SABnzbd:473] 7za binary... found (C:\Program Files\SABnzbd\win\7zip\7za.exe)
problem might be this "if sabnzbd.WIN64:" https://github.com/sabnzbd/sabnzbd/blob ... ck.py#L119 . That if is conditional for unrar and par2, but not 7za...

Ah, yes: "sabnzbd/__init__.py:40: WIN64 = platform.uname().machine == "AMD64""

And ARM is not AMD64. Bug found.



https://github.com/sabnzbd/sabnzbd/blob ... bd.py#L458

https://github.com/sabnzbd/sabnzbd/blob ... ck.py#L123

https://github.com/sabnzbd/sabnzbd/blob ... y#L99-L104
japie1213
Newbie
Newbie
Posts: 10
Joined: June 23rd, 2024, 10:49 pm

Re: Microsoft surface laptop 7 an arm processor problems installing SAB [Snapdragon X Elite / Plus]

Post by japie1213 »

thanks , very impressieve
What should i do now?
User avatar
sander
Release Testers
Release Testers
Posts: 9070
Joined: January 22nd, 2008, 2:22 pm

Re: Microsoft surface laptop 7 an arm processor problems installing SAB [Snapdragon X Elite / Plus]

Post by sander »

Answer my first question:

Can you open a CMD (or powershell) box, go to c:\program files\sabnzbd\ and run

win\unrar.exe
win\x64\unrar.exe

The first is the 32bit version, the second the 64bit version. We need to know which versions work.

Do both give output like below

Code: Select all

$ unrar

UNRAR 7.00 beta 3 freeware      Copyright (c) 1993-2023 Alexander Roshal

Usage:     unrar <command> -<switch 1> -<switch N> <archive> <files...>
               <@listfiles...> <path_to_extract/>

<Commands>
That makes clear how we can solve this bug.
japie1213
Newbie
Newbie
Posts: 10
Joined: June 23rd, 2024, 10:49 pm

Re: Microsoft surface laptop 7 an arm processor problems installing SAB [Snapdragon X Elite / Plus]

Post by japie1213 »

thanks for your help for now, i have to go to work, will be back later regards Jan
japie1213
Newbie
Newbie
Posts: 10
Joined: June 23rd, 2024, 10:49 pm

Re: Microsoft surface laptop 7 an arm processor problems installing SAB [Snapdragon X Elite / Plus]

Post by japie1213 »

I opened a CMD screen

I changed to the root directory
C:\Users\janpe>cd c:\

I changed to the SABnzbd directory and ran unrar. exe and got the following output
c:\> cd C:\Program Files\SABnzbd\win\unrar\x64

C:\Program Files\SABnzbd\win\unrar\x64>unrar.exe

UNRAR 7.01 x64 freeware Copyright (c) 1993-2024 Alexander Roshal

Usage: unrar <command> -<switch 1> -<switch N> <archive> <files...>
<@listfiles...> <path_to_extract\>
japie1213
Newbie
Newbie
Posts: 10
Joined: June 23rd, 2024, 10:49 pm

Re: Microsoft surface laptop 7 an arm processor problems installing SAB [Snapdragon X Elite / Plus]

Post by japie1213 »

I opened again a CMD screen

I did the same but now in the win directory as you aksed an d got the following information
C:\Users\janpe> cd c:\

c:\> cd C:\Program Files\SABnzbd\win\

C:\Program Files\SABnzbd\win>unrar.exe
'unrar.exe' is not recognized as an internal or external command,
operable program or batch file.

C:\Program Files\SABnzbd\win>
User avatar
sander
Release Testers
Release Testers
Posts: 9070
Joined: January 22nd, 2008, 2:22 pm

Re: Microsoft surface laptop 7 an arm processor problems installing SAB [Snapdragon X Elite / Plus]

Post by sander »

OK, that confirms it:

The x86 64bit version of unrar does work ... thanks to the emulation
The x86 32bit version of unrar is not there. TIL: not distributed by SABnzbd.

The code https://github.com/sabnzbd/sabnzbd/blob ... #L124-L128 is executed (which is for 32bit, which does not work, see above), because the check in https://github.com/sabnzbd/sabnzbd/blob ... ck.py#L119 is False.

I can make a test-Windows-binary for you, with an proof-of-concept workaround. It should work on your Windows on ARM, and it gives feedback if my hypothesis is correct. You need to have a github to download that. Does that work for you?


For myself: relevant lines from your logging

2024-06-24 05:39:35,746::INFO::[SABnzbd:1159] Python-version = 3.12.3 (tags/v3.12.3:f6650f9, Apr 9 2024, 14:05:25) [MSC v.1938 64 bit (AMD64)]

2024-06-24 05:39:35,746::INFO::[SABnzbd:1161] CPU architecture = ARM64
User avatar
sander
Release Testers
Release Testers
Posts: 9070
Joined: January 22nd, 2008, 2:22 pm

Re: Microsoft surface laptop 7 an arm processor problems installing SAB [Snapdragon X Elite / Plus]

Post by sander »

OK, I built the patched version

Go to https://github.com/sabnzbd/sabnzbd/acti ... 9652508167 (I think you need a github account for that)

scroll down, and you'll see "Windows installer". Download that, unzip, and run the SABnzbd-4.3.2-win-setup.exe to install, and test that it works on your Windows on ARM.

Please report back.
Post Reply