-
Notifications
You must be signed in to change notification settings - Fork 11
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
crash when trying to import playlist #7
Comments
Hey ! |
Thanx for your help |
Which command are you using ? If not, maybe you should reinstall from scratch with a clean environment, following the installation guide and replace |
this repo seems not up to date, i made a fork with PR in it |
Hey Thanks a lot, i'm gonna try your version. |
python3 -m pip install pillow==9.5.0 user-me@foobarbaz × Building wheel for pillow (pyproject.toml) did not run successfully.
note: This error originates from a subprocess, and is likely not a problem with pip. |
I get the same crash when clicking on import playlist/archive : / |
@Kostra0ne can you post the result of |
running on mac OS 14.0
Hey python3 -Vpython3 -V pip listPackage Versiondistlib 0.3.7 thanx |
Don't know the consequences of working with python under mac OS. You are still stuck with pillow 10. Have you tried to reinstall python and this project from scratch ? I'm pretty sure that your problem comes from the pillow version but I don't know how to help you more if you are not able to manage python environments... 😕 |
Hey, i downgraded Pillow version and still get the initial error when trying to import : object cannot be nil' python3 -V Python 3.11.6Package Version certifi 2023.7.22 python3 merlinator.py *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSArrayM insertObject:atIndex:]: object cannot be nil' |
Bonjour à tous / hello everyone, Je rencontre le même problème que vous, à peu de choses près :
2024-06-16 14:51:19.208 Python[25896:198182] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSArrayM insertObject:atIndex:]: object cannot be nil' Quelqu'un d'entre vous aurait-il trouvé une solution ou un contournement svp? Je suis prêt à vous aider pour faire des tests de mon côté (PS : j'ai tenté de downgrader Pillow en 9.5.0 mais je n'y arrive pas à cause de 'ERROR: Failed building wheel for pillow Merci par avance ! |
main_gui.py:271 : Il y a un bug avec l'appel filedialog.askopenfilename, j'ai remplacé avec la ligne ci-dessous : Ca a l'air de fonctionner (évidemment il faut le Pillow en version 9.5 mais je n'ai pas eu le probleme avec Wheel). |
Hey, Xmas is coming soon ...
and that would be super cool if i could add my kid's favorite songs (thanx :)
I'm stuck when clicking on import playlist : 💥
Any idea please ?
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSArrayM insertObject:atIndex:]: object cannot be nil'
*** First throw call stack:
(
0 CoreFoundation 0x00007ff80aa8e0b6 __exceptionPreprocess + 242
1 libobjc.A.dylib 0x00007ff80a583231 objc_exception_throw + 48
2 CoreFoundation 0x00007ff80a9bd341 -[__NSArrayM insertObject:atIndex:] + 1762
3 libtk8.6.dylib 0x000000010bb3afed setAllowedFileTypes + 333
4 libtk8.6.dylib 0x000000010bb3bafb Tk_GetOpenFileObjCmd + 1451
5 libtcl8.6.dylib 0x000000010b4b6eb2 Tcl_EvalObjv + 354
6 _tkinter.cpython-312-darwin.so 0x000000010b48142f Tkapp_Call + 367
7 Python 0x000000010c7cf8a7 cfunction_call + 103
8 Python 0x000000010c75e8bf _PyObject_Call + 143
9 Python 0x000000010c8e0809 _PyEval_EvalFrameDefault + 64457
10 Python 0x000000010c761fc2 method_vectorcall + 466
11 Python 0x000000010c8e0809 _PyEval_EvalFrameDefault + 64457
12 Python 0x000000010c761fc2 method_vectorcall + 466
13 _tkinter.cpython-312-darwin.so 0x000000010b48478e PythonCmd + 174
14 libtcl8.6.dylib 0x000000010b4b9372 TclEvalObjEx + 130
15 libtk8.6.dylib 0x000000010bab1ee7 TkInvokeMenu + 471
16 libtk8.6.dylib 0x000000010bb4a68c -[TKMenu(TKMenuActions) tkMenuItemInvoke:] + 188
17 AppKit 0x00007ff80e20d970 -[NSApplication(NSResponder) sendAction:to:from:] + 337
18 AppKit 0x00007ff80e2fab55 -[NSMenuItem _corePerformAction] + 455
19 AppKit 0x00007ff80e940602 _NSMenuPerformActionWithHighlighting + 185
20 AppKit 0x00007ff80e33df8b -[NSMenu performActionForItemAtIndex:] + 113
21 AppKit 0x00007ff80e33df11 -[NSMenu _internalPerformActionForItemAtIndex:] + 82
22 AppKit 0x00007ff80e9367d7 +[NSCocoaMenuImpl _performActionForMenuItem:] + 54
23 AppKit 0x00007ff80e717375 -[NSMenuTrackingSession _performPostTrackingDismissalActions] + 381
24 AppKit 0x00007ff80e7170d7 -[NSMenuTrackingSession startRunningMenuEventLoop:] + 1056
25 AppKit 0x00007ff80e7d868b -[NSMenuBarTrackingSession _mouseDownEventHandler:] + 310
26 AppKit 0x00007ff80e7d853f -[NSMenuBarTrackingSession handleEvent:] + 224
27 AppKit 0x00007ff80e7d8438 __61-[NSMenuBarTrackingSession _addMouseDownEventMonitorIfNeeded]_block_invoke + 200
28 AppKit 0x00007ff80e2728bc _NSSendEventToDequeuingObservers + 323
29 AppKit 0x00007ff80e9127d5 -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 2973
30 libtk8.6.dylib 0x000000010bb51672 TkMacOSXEventsCheckProc + 466
31 libtcl8.6.dylib 0x000000010b57356b Tcl_DoOneEvent + 347
32 _tkinter.cpython-312-darwin.so 0x000000010b4850c4 _tkinter_tkapp_mainloop_impl + 228
33 Python 0x000000010c77011c method_vectorcall_FASTCALL + 108
34 Python 0x000000010c8de295 _PyEval_EvalFrameDefault + 54869
35 Python 0x000000010c8d09c5 PyEval_EvalCode + 309
36 Python 0x000000010c95df2e run_mod + 158
37 Python 0x000000010c95cff7 pyrun_file + 151
38 Python 0x000000010c95c010 _PyRun_SimpleFileObject + 304
39 Python 0x000000010c95bc50 _PyRun_AnyFileObject + 160
40 Python 0x000000010c98b612 pymain_run_file_obj + 226
41 Python 0x000000010c98b389 pymain_run_file + 89
42 Python 0x000000010c98aaea Py_RunMain + 1402
43 Python 0x000000010c98ad83 pymain_main + 35
44 Python 0x000000010c98af5a Py_BytesMain + 42
45 dyld 0x00007ff80a5b73a6 start + 1942
)
libc++abi: terminating due to uncaught exception of type NSException
[1] 11223 abort '/usr/local/bin/python3'
Here is the crash log when using short ctrl+i : 💥
Exception in Tkinter callback
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/tkinter/init.py", line 1948, in call
return self.func(args)
^^^^^^^^^^^^^^^^
File "/Users/kostra-one/Music/merlin/merlinator/src/treeviews.py", line 58, in enable_arrows
self.bind_class('Treeview', '', self.boundUp)
^^^^^^^^^^^^
AttributeError: 'MerlinMainTree' object has no attribute 'boundUp'
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '** -[__NSArrayM insertObject:atIndex:]: object cannot be nil'
*** First throw call stack:
(
0 CoreFoundation 0x00007ff80aa8e0b6 __exceptionPreprocess + 242
1 libobjc.A.dylib 0x00007ff80a583231 objc_exception_throw + 48
2 CoreFoundation 0x00007ff80a9bd341 -[__NSArrayM insertObject:atIndex:] + 1762
3 libtk8.6.dylib 0x000000010811afed setAllowedFileTypes + 333
4 libtk8.6.dylib 0x000000010811bafb Tk_GetOpenFileObjCmd + 1451
5 libtcl8.6.dylib 0x0000000108373eb2 Tcl_EvalObjv + 354
6 _tkinter.cpython-312-darwin.so 0x0000000107e4342f Tkapp_Call + 367
7 Python 0x00000001090cf8a7 cfunction_call + 103
8 Python 0x000000010905e8bf _PyObject_Call + 143
9 Python 0x00000001091e0809 _PyEval_EvalFrameDefault + 64457
10 Python 0x0000000109061ec8 method_vectorcall + 216
11 _tkinter.cpython-312-darwin.so 0x0000000107e4678e PythonCmd + 174
12 libtcl8.6.dylib 0x0000000108373eb2 Tcl_EvalObjv + 354
13 libtcl8.6.dylib 0x000000010837577a TclEvalEx + 2810
14 libtcl8.6.dylib 0x0000000108374c7a Tcl_EvalEx + 26
15 libtk8.6.dylib 0x000000010804e252 Tk_BindEvent + 6946
16 libtk8.6.dylib 0x000000010805551a TkBindEventProc + 362
17 libtk8.6.dylib 0x000000010805d48f Tk_HandleEvent + 863
18 libtk8.6.dylib 0x000000010805da94 WindowEventProc + 100
19 libtcl8.6.dylib 0x00000001084302ac Tcl_ServiceEvent + 156
20 libtcl8.6.dylib 0x0000000108430578 Tcl_DoOneEvent + 360
21 _tkinter.cpython-312-darwin.so 0x0000000107e470c4 _tkinter_tkapp_mainloop_impl + 228
22 Python 0x000000010907011c method_vectorcall_FASTCALL + 108
23 Python 0x00000001091de295 _PyEval_EvalFrameDefault + 54869
24 Python 0x00000001091d09c5 PyEval_EvalCode + 309
25 Python 0x000000010925df2e run_mod + 158
26 Python 0x000000010925cff7 pyrun_file + 151
27 Python 0x000000010925c010 _PyRun_SimpleFileObject + 304
28 Python 0x000000010925bc50 _PyRun_AnyFileObject + 160
29 Python 0x000000010928b612 pymain_run_file_obj + 226
30 Python 0x000000010928b389 pymain_run_file + 89
31 Python 0x000000010928aaea Py_RunMain + 1402
32 Python 0x000000010928ad83 pymain_main + 35
33 Python 0x000000010928af5a Py_BytesMain + 42
34 dyld 0x00007ff80a5b73a6 start + 1942
)
libc++abi: terminating due to uncaught exception of type NSException
[1] 13626 abort python3 merlinator.py
Not sure if it's related but i got this error when 'opening new session"
Exception in Tkinter callback
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/tkinter/init.py", line 1948, in call
return self.func(*args)
^^^^^^^^^^^^^^^^
File "merlinator/src/main_gui.py", line 351, in new_session
self.load_thumbnails_from_zip(items, zfile)
File "merlinator/src/main_gui.py", line 254, in load_thumbnails_from_zip
image_small = image.resize((40, 40), Image.ANTIALIAS)
^^^^^^^^^^^^^^^
AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS'
The text was updated successfully, but these errors were encountered: