Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any way to port it for Mac? #15

Open
dwadi opened this issue Oct 10, 2022 · 6 comments
Open

Any way to port it for Mac? #15

dwadi opened this issue Oct 10, 2022 · 6 comments

Comments

@dwadi
Copy link

dwadi commented Oct 10, 2022

I am looking for a way to install it for Mac.

@mcogoni
Copy link
Owner

mcogoni commented Dec 23, 2022

It already should work on macs, I have at least two friends of mine running it.
Please let me know what's your problem.

@dwadi
Copy link
Author

dwadi commented Dec 23, 2022 via email

@mcogoni
Copy link
Owner

mcogoni commented Dec 23, 2022 via email

@dwadi
Copy link
Author

dwadi commented Dec 23, 2022 via email

@jmcblane
Copy link

jmcblane commented Jan 2, 2024

Running MacOS Sonoma here. Tried to run this code, and I got the following issue:

python3 supersdr.py
pygame 2.5.2 (SDL 2.28.3, Python 3.12.1)
Hello from the pygame community. https://www.pygame.org/contribute.html
no logfile found!
No kiwi list file found!
RTX rigctld server: localhost:4532
CAT radio not detected!
kiwisdr.local 8073 8 14200
KiwiSDR Server: kiwisdr.local:8073
Zoom factor: 8
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[SDLApplication macOSVersion]: unrecognized selector sent to instance 0x1237a1f30'
*** First throw call stack:
(
0 CoreFoundation 0x0000000187e44570 __exceptionPreprocess + 176
1 libobjc.A.dylib 0x0000000187935eb4 objc_exception_throw + 60
2 CoreFoundation 0x0000000187ef612c -[NSObject(NSObject) __retain_OA] + 0
3 CoreFoundation 0x0000000187dae7d4 forwarding + 1572
4 CoreFoundation 0x0000000187dae0f0 _CF_forwarding_prep_0 + 96
5 libtk8.6.dylib 0x0000000142a4e3e8 GetRGBA + 64
6 libtk8.6.dylib 0x0000000142a4e168 TkpGetColor + 476
7 libtk8.6.dylib 0x000000014299c4b4 Tk_GetColor + 152
8 libtk8.6.dylib 0x000000014298dc98 Tk_Get3DBorder + 136
9 libtk8.6.dylib 0x000000014298dae8 Tk_Alloc3DBorderFromObj + 144
10 libtk8.6.dylib 0x000000014299d9b4 DoObjConfig + 832
11 libtk8.6.dylib 0x000000014299d57c Tk_InitOptions + 372
12 libtk8.6.dylib 0x000000014299d460 Tk_InitOptions + 88
13 libtk8.6.dylib 0x00000001429c99a8 CreateFrame + 1472
14 libtk8.6.dylib 0x00000001429c9ca8 TkListCreateFrame + 156
15 libtk8.6.dylib 0x00000001429c2690 Initialize + 1856
16 _tkinter.cpython-312-darwin.so 0x0000000132f82390 Tcl_AppInit + 92
17 _tkinter.cpython-312-darwin.so 0x0000000132f7d38c Tkapp_New + 548
18 _tkinter.cpython-312-darwin.so 0x0000000132f7d164 _tkinter_create_impl + 268
19 _tkinter.cpython-312-darwin.so 0x0000000132f7cc3c _tkinter_create + 236
20 Python 0x0000000103a41858 cfunction_vectorcall_FASTCALL + 96
21 Python 0x0000000103b188d8 _PyEval_EvalFrameDefault + 46784
22 Python 0x00000001039d30fc _PyObject_FastCallDictTstate + 96
23 Python 0x0000000103a702c8 slot_tp_init + 208
24 Python 0x0000000103a6514c type_call + 148
25 Python 0x00000001039d3378 _PyObject_MakeTpCall + 128
26 Python 0x0000000103b18a40 _PyEval_EvalFrameDefault + 47144
27 Python 0x0000000103b0cf00 PyEval_EvalCode + 304
28 Python 0x0000000103b8d448 run_mod + 176
29 Python 0x0000000103b8c4d8 pyrun_file + 148
30 Python 0x0000000103b8b43c _PyRun_SimpleFileObject + 304
31 Python 0x0000000103b8b0ac _PyRun_AnyFileObject + 248
32 Python 0x0000000103bb9330 pymain_run_file_obj + 220
33 Python 0x0000000103bb9070 pymain_run_file + 72
34 Python 0x0000000103bb89a8 Py_RunMain + 1464
35 Python 0x0000000103bb8b48 pymain_main + 36
36 Python 0x0000000103bb8bc0 Py_BytesMain + 40
37 dyld 0x00000001879710e0 start + 2360
)
libc++abi: terminating due to uncaught exception of type NSException
zsh: abort python3 supersdr.py

@lordmorgul
Copy link

lordmorgul commented Aug 23, 2024

Running MacOS Sonoma here. Tried to run this code, and I got the following issue:

I see a very similar issue on my Mac Studio M1 Pro (apple silicon) running Sonoma 14.5, python 3.10 (via port). I have tried both with tcl install via port with the +quartz option and without (X server). Both fail with this same error.
At first I was thinking this is a tcl tk on macos issue (https://www.python.org/download/mac/tcltk/), but I think its not really.

$-> /opt/local/bin/python3 supersdr.py
pygame 2.6.0 (SDL 2.28.4, Python 3.12.5)
Hello from the pygame community. https://www.pygame.org/contribute.html
no logfile found!
No kiwi list file found!
RTX rigctld server: localhost:4532
CAT radio not detected!
kiwisdr.local 8073 8 14200
KiwiSDR Server: kiwisdr.local:8073
Zoom factor: 8
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[SDLApplication macOSVersion]: unrecognized selector sent to instance 0x119d0e9c0'
*** First throw call stack:
(
0 CoreFoundation 0x000000018cc172ec __exceptionPreprocess + 176
1 libobjc.A.dylib 0x000000018c6fe788 objc_exception_throw + 60
2 CoreFoundation 0x000000018ccc956c -[NSObject(NSObject) __retain_OA] + 0
3 CoreFoundation 0x000000018cb80f3c forwarding + 1580
4 CoreFoundation 0x000000018cb80850 _CF_forwarding_prep_0 + 96
5 libtk8.6.dylib 0x0000000109dec970 GetRGBA + 48
6 libtk8.6.dylib 0x0000000109dec45c SetCGColorComponents + 132
7 libtk8.6.dylib 0x0000000109dec7d0 TkpGetColor + 344
8 libtk8.6.dylib 0x0000000109d4d35c Tk_GetColor + 220
9 libtk8.6.dylib 0x0000000109d40a9c Tk_Get3DBorder + 204
10 libtk8.6.dylib 0x0000000109d408cc Tk_Alloc3DBorderFromObj + 144
11 libtk8.6.dylib 0x0000000109d4e794 DoObjConfig + 992
12 libtk8.6.dylib 0x0000000109d4e2a8 Tk_InitOptions + 348
13 libtk8.6.dylib 0x0000000109d4e1a4 Tk_InitOptions + 88
14 libtk8.6.dylib 0x0000000109d7616c CreateFrame + 1440
15 libtk8.6.dylib 0x0000000109d76464 TkListCreateFrame + 156
16 libtk8.6.dylib 0x0000000109d6f3e0 Initialize + 1872
17 _tkinter.cpython-312-darwin.so 0x0000000107402244 Tcl_AppInit + 80
18 _tkinter.cpython-312-darwin.so 0x00000001073fcfd0 _tkinter_create + 1520
19 Python 0x0000000102c42334 cfunction_vectorcall_FASTCALL.llvm.13788063151930890959 + 96
20 Python 0x0000000102b4bcb4 _PyEval_EvalFrameDefault + 43708
21 Python 0x0000000102d0c204 _PyObject_FastCallDictTstate + 96
22 Python 0x0000000102c940e8 slot_tp_init + 212
23 Python 0x0000000102bc9334 type_call + 148
24 Python 0x0000000102d0d584 _PyObject_MakeTpCall + 128
25 Python 0x0000000102b4be14 _PyEval_EvalFrameDefault + 44060
26 Python 0x0000000102b99838 PyEval_EvalCode + 184
27 Python 0x0000000102c66264 run_eval_code_obj.llvm.5638236164401471185 + 88
28 Python 0x0000000102c63868 run_mod.llvm.5638236164401471185 + 132
29 Python 0x0000000102b63454 pyrun_file + 156
30 Python 0x0000000102b63c7c _PyRun_SimpleFileObject + 288
31 Python 0x0000000102bbeefc _PyRun_AnyFileObject + 80
32 Python 0x0000000102bccd74 pymain_run_file_obj + 164
33 Python 0x0000000102bccb7c pymain_run_file + 72
34 Python 0x0000000102c92f54 Py_RunMain + 764
35 Python 0x0000000102bcca88 pymain_main + 304
36 Python 0x0000000102bccb28 Py_BytesMain + 40
37 dyld 0x000000018c73a0e0 start + 2360
)
libc++abi: terminating due to uncaught exception of type NSException
Abort trap: 6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants