opening files from terminal/CLI failing with errors
Posted: 13 Nov 2024 07:13
I've followed various guides and info, and nothing I've tried is working to open a video locally, with or without any arguments/options.
I'm on macOS Sierra 10.12.6, running VLC v3.0.11.1. I've also set up a droplet as specified here: https://wiki.videolan.org/VLC_HowTo/Pla ... instances/
Here's the nature of the errors I'm seeing when trying to open a video file from command line. There have been some differences based on changing/resetting VLC preferences. But the main issues that remains consistent are:
- no interface
- failed to load window nib file 'MainWindow'.
- Error: the bundle being updated at NSBundle </applications/vlc.app/contents/macos> (loaded) has no CFBundleIdentifier!
Here's the last output I got after resetting VLC preferences, and setting the default player for the file type (mp4) back to VLC.app (instead of VLC droplet.app):
Hopefully there is a relatively simple fix for this as I've already pulled out all of my hair trying to solve the issue thus far.
I'm on macOS Sierra 10.12.6, running VLC v3.0.11.1. I've also set up a droplet as specified here: https://wiki.videolan.org/VLC_HowTo/Pla ... instances/
Here's the nature of the errors I'm seeing when trying to open a video file from command line. There have been some differences based on changing/resetting VLC preferences. But the main issues that remains consistent are:
- no interface
- failed to load window nib file 'MainWindow'.
- Error: the bundle being updated at NSBundle </applications/vlc.app/contents/macos> (loaded) has no CFBundleIdentifier!
Here's the last output I got after resetting VLC preferences, and setting the default player for the file type (mp4) back to VLC.app (instead of VLC droplet.app):
Code: Select all
VLC media player 3.0.11.1 Vetinari (revision 3.0.11.1-0-g52483f3ca2)
[00007fe58504c6e0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
2024-11-12 21:48:02.390 VLC[35490:5483951] -[NSWindowController loadWindow]: failed to load window nib file 'MainWindow'.
2024-11-12 21:48:02.399 VLC[35490:5483951] Sparkle: ===== MacOS =====
2024-11-12 21:48:02.399 VLC[35490:5483951] Sparkle: Error: the bundle being updated at NSBundle </applications/vlc.app/contents/macos> (loaded) has no CFBundleIdentifier! This will cause preference read/write to not work properly.
IOVARendererID property not found
/Library/Caches/com.apple.xbs/Sources/AppleGVA/AppleGVA-10.1.17/Sources/Slices/Driver/AVD_loader.cpp: failed to get a service for display 10
/Library/Caches/com.apple.xbs/Sources/AppleGVA/AppleGVA-10.1.17/Sources/Slices/Driver/AVD_loader.cpp: failed to get a service for display 11
2024-11-12 21:48:02.417 VLC[35490:5483951] -[NSWindowController loadWindow]: failed to load window nib file 'MainWindow'.
2024-11-12 21:48:02.417 VLC[35490:5483951] -[NSWindowController loadWindow]: failed to load window nib file 'MainWindow'.
2024-11-12 21:48:02.417 VLC[35490:5483951] -[NSWindowController loadWindow]: failed to load window nib file 'MainWindow'.
[00007fe583d8cd70] videotoolbox decoder: Using Video Toolbox to decode 'h264'
[00007fe583d8cd70] videotoolbox decoder: vt cvpx chroma: 420v
2024-11-12 21:48:02.450 VLC[35490:5483951] Can't find app with identifier com.apple.Music
2024-11-12 21:48:02.458 VLC[35490:5483951] -[NSWindowController loadWindow]: failed to load window nib file 'MainWindow'.
2024-11-12 21:48:02.458 VLC[35490:5483951] -[NSWindowController loadWindow]: failed to load window nib file 'MainWindow'.
2024-11-12 21:48:02.459 VLC[35490:5483951] -[NSWindowController loadWindow]: failed to load window nib file 'MainWindow'.
2024-11-12 21:48:02.465 VLC[35490:5483951] -[NSWindowController loadWindow]: failed to load window nib file 'MainWindow'.
2024-11-12 21:48:02.472 VLC[35490:5483951] Can't find app with identifier com.apple.Music
2024-11-12 21:48:02.475 VLC[35490:5483951] -[NSWindowController loadWindow]: failed to load window nib file 'MainWindow'.
2024-11-12 21:48:02.475 VLC[35490:5483951] -[NSWindowController loadWindow]: failed to load window nib file 'MainWindow'.
2024-11-12 21:48:02.477 VLC[35490:5483951] -[NSWindowController loadWindow]: failed to load window nib file 'MainWindow'.
2024-11-12 21:48:02.477 VLC[35490:5483951] -[NSWindowController loadWindow]: failed to load window nib file 'MainWindow'.
2024-11-12 21:48:02.477 VLC[35490:5483951] -[NSWindowController loadWindow]: failed to load window nib file 'MainWindow'.
2024-11-12 21:48:02.477 VLC[35490:5483951] -[NSWindowController loadWindow]: failed to load window nib file 'MainWindow'.
2024-11-12 21:48:02.477 VLC[35490:5483951] -[NSWindowController loadWindow]: failed to load window nib file 'MainWindow'.
2024-11-12 21:48:02.477 VLC[35490:5483951] -[NSWindowController loadWindow]: failed to load window nib file 'MainWindow'.
2024-11-12 21:48:02.477 VLC[35490:5483951] -[NSWindowController loadWindow]: failed to load window nib file 'MainWindow'.
2024-11-12 21:48:02.477 VLC[35490:5483951] -[NSWindowController loadWindow]: failed to load window nib file 'MainWindow'.
2024-11-12 21:48:02.477 VLC[35490:5483951] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** setObjectForKey: object cannot be nil (key: <002d5085 e57f0000>)'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff82b912cb __exceptionPreprocess + 171
1 libobjc.A.dylib 0x00007fff979c248d objc_exception_throw + 48
2 CoreFoundation 0x00007fff82a8e01a -[__NSDictionaryM setObject:forKey:] + 1146
3 libmacosx_plugin.dylib 0x0000000111739fc0 vlc_entry_license__3_0_0f + 365120
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Abort trap: 6