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

Fails to start #53

Open
ChrisOfBristol opened this issue Oct 7, 2024 · 11 comments
Open

Fails to start #53

ChrisOfBristol opened this issue Oct 7, 2024 · 11 comments

Comments

@ChrisOfBristol
Copy link

ChrisOfBristol commented Oct 7, 2024

The Fedora 41 error tracking report is:

--- Running report_uReport ---
Error: Unable to open './coredump': No such file or directory

--- Skipping collect_GConf ---
No matching actions found for this event.

--- Skipping collect_vimrc_system ---
No matching actions found for this event.

--- Skipping collect_vimrc_user ---
No matching actions found for this event.

--- Skipping collect_xsession_errors ---
No matching actions found for this event.

--- Running analyze_CCpp ---
Generating backtrace
Backtrace is generated and saved, 123811 bytes
Can't open file 'component' for reading: No such file or directory

--- Running analyze_BodhiUpdates ---
Looking for similar problems in bugzilla

@mkiol
Copy link
Owner

mkiol commented Oct 13, 2024

Thank you for reporting.

Would you be able to start the app with --verbose option to see more logs?

flatpak run net.mkiol.Jupii --verbose

@ChrisOfBristol
Copy link
Author

flatpak run net.mkiol.Jupii --verbose
QSocketNotifier: Can only be used with threads started with QThread
qt.qpa.qgnomeplatform: Could not find color scheme ""
[I] 15:23:50.338597550.338 0x7f43be180880 setFile:61 - logging to stderr enabled
[D] 15:23:50.338912501.338 0x7f43be180880 () - version: 2.14.4
[D] 15:23:50.339007911.339 0x7f43be180880 () - translation: "en_GB"
[D] 15:23:50.339723821.339 0x7f43be180880 () - HW name: "UNKNOWN"
[D] 15:23:50.339748913.339 0x7f43be180880 () - app: net.mkiol jupii 2.14.4
[D] 15:23:50.339757843.339 0x7f43be180880 () - config location: "/home/chris/.var/app/net.mkiol.Jupii/config"
[D] 15:23:50.339770453.339 0x7f43be180880 () - data location: "/home/chris/.var/app/net.mkiol.Jupii/data/net.mkiol/jupii"
[D] 15:23:50.339779442.339 0x7f43be180880 () - cache location: "/home/chris/.var/app/net.mkiol.Jupii/cache/net.mkiol/jupii"
[D] 15:23:50.339787382.339 0x7f43be180880 () - settings file: "/home/chris/.var/app/net.mkiol.Jupii/config/net.mkiol/jupii/settings.config"
[D] 15:23:50.339793877.339 0x7f43be180880 () - sandboxed: false
[D] 15:23:50.339814668.339 0x7f43be180880 detectV4l2VideoSources:4542 - v4l2 sources detection started
[D] 15:23:50.339983480.339 0x7f43be180880 detectV4l2VideoSources:4560 - found v4l2 dev: file=/dev/video0, card=PCI:0000:04:06.0, caps=[V4L2_CAP_VIDEO_CAPTURE, V4L2_CAP_EXT_PIX_FORMAT, V4L2_CAP_READWRITE, V4L2_CAP_STREAMING, ]
[D] 15:23:50.340028362.340 0x7f43be180880 detectV4l2VideoSources:4599 - v4l2 sources detection completed
[D] 15:23:50.340037863.340 0x7f43be180880 detectX11VideoSources:4175 - x11 source detecton started
[D] 15:23:50.340088366.340 0x7f43be180880 detectPaSources:905 - pa sources detection started
[D] 15:23:50.346171423.346 0x7f43be180880 paSourceInfoCallback:882 - pa source found: type=monitor, name=monitor-484, fname=Monitor of Built-in Audio Analog Stereo, dev=alsa_output.pci-0000_00_14.2.analog-stereo.monitor, codec=pcm_s32le, channels=2, rate=48000, bps=4
[D] 15:23:50.346258015.346 0x7f43be180880 paSourceInfoCallback:882 - pa source found: type=mic, name=mic-532, fname=Built-in Audio Analog Stereo, dev=alsa_input.pci-0000_00_14.2.analog-stereo, codec=pcm_s32le, channels=2, rate=48000, bps=4
[D] 15:23:50.346308584.346 0x7f43be180880 detectPaSources:953 - pa source found: type=playback, name=playback, fname=Playback capture, dev=, codec=pcm_s16le, channels=2, rate=44100, bps=2
[D] 15:23:50.346379731.346 0x7f43be180880 detectPaSources:961 - pa sources detection completed
[D] 15:23:50.346393371.346 0x7f43be180880 detectAudioFileSources:967 - audio file sources detection started
[D] 15:23:50.346400300.346 0x7f43be180880 detectAudioFileSources:976 - audio file source found: type=file, name=file, fname=File streaming, dev=, codec=unknown, channels=0, rate=0, bps=0
[D] 15:23:50.346406433.346 0x7f43be180880 detectAudioFileSources:980 - audio file sources detection completed
[D] 15:23:50.355666900.355 0x7f43ad2006c0 () - starting http server on port: 9092
[D] 15:23:50.357937402.357 0x7f43be180880 () - dbus service successfully registered
[D] 15:23:50.358217570.358 0x7f43a3e006c0 loop:83 - py executor loop started
[D] 15:23:50.408917140.408 0x7f43a3e006c0 libs_availability:46 - checking: ytmusicapi
[D] 15:23:51.246427966.246 0x7f43a3e006c0 libs_availability:48 - ytmusicapi version: 1.5.0
[D] 15:23:51.246458791.246 0x7f43a3e006c0 libs_availability:56 - checking: ytmusicapi
[D] 15:23:52.375270029.375 0x7f43a3e006c0 libs_availability:58 - yt_dlp version: 2023.12.30
[D] 15:23:52.375304612.375 0x7f43a3e006c0 libs_availability:66 - py libs availability: [ytmusicapi=true, ytdlp=true]
qrc:/qml/main.qml:240:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... }
qrc:/qml/main.qml:228:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... }
qrc:/qml/main.qml:198:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... }
qrc:/qml/main.qml:140:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... }
qrc:/qml/main.qml:132:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... }
[D] 15:23:52.696451106.696 0x7f43be180880 onCompleted:110 - qml completed
[W] 15:23:52.864843951.864 0x7f43be180880 () - WARNING: Cannot find style "org.kde.desktop" - fallback: "/usr/lib/qml/QtQuick/Controls/Styles/Desktop"
[W] 15:23:52.898629975.898 0x7f43be180880 () - Unknown meta data class: ""
qrc:/qml/PlayQueuePage.qml:135:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... }
[D] 15:23:53.202010191.202 0x7f43be180880 () - connected network interface changed: "enp4s7"
[W] 15:23:53.226218799.226 0x7f43be180880 () - Unknown meta data class: ""
[W] 15:23:53.290278974.290 0x7f43be180880 () - Unknown meta data class: ""
[W] 15:23:53.348903995.348 0x7f43be180880 () - Unknown meta data class: ""
[W] 15:23:53.414533391.414 0x7f43be180880 () - Unknown meta data class: ""
[W] 15:23:53.468962775.468 0x7f43be180880 () - Unknown meta data class: ""
[W] 15:23:53.529679243.529 0x7f43be180880 () - Unknown meta data class: ""
[W] 15:23:53.583936941.583 0x7f43be180880 () - Unknown meta data class: ""
[D] 15:23:53.700451083.700 0x7f43be180880 () - Directory init
[D] 15:23:53.700710066.700 0x7f43be180880 () - LibUPnP init: REDACTED

@mkiol
Copy link
Owner

mkiol commented Oct 24, 2024

Hi. Sorry for the late reply. I have not been able to identify where the problem is, but... Would you be able to try if the same issue occurs also on new version 2.15.0?

@ChrisOfBristol
Copy link
Author

ChrisOfBristol commented Oct 24, 2024

new version 2.15.0?

chris@fedora:~$ flatpak run net.mkiol.Jupii --verbose > ~/jupii.log
QSocketNotifier: Can only be used with threads started with QThread
qt.qpa.qgnomeplatform: Could not find color scheme ""
desktop file: "net.mkiol.Jupii"
[I] 18:34:30.180271111.180 0x7fd18b898880 setFile:61 - logging to stderr enabled
[D] 18:34:30.180581412.180 0x7fd18b898880 () - version: 2.15.0
[D] 18:34:30.180685902.180 0x7fd18b898880 () - translation: "en_GB"
[D] 18:34:30.181891189.181 0x7fd18b898880 () - HW name: "fedora"
[D] 18:34:30.181915539.181 0x7fd18b898880 () - app: net.mkiol jupii 2.15.0
[D] 18:34:30.181925224.181 0x7fd18b898880 () - config location: "/home/chris/.var/app/net.mkiol.Jupii/config"
[D] 18:34:30.181934275.181 0x7fd18b898880 () - data location: "/home/chris/.var/app/net.mkiol.Jupii/data/net.mkiol/jupii"
[D] 18:34:30.181951144.181 0x7fd18b898880 () - cache location: "/home/chris/.var/app/net.mkiol.Jupii/cache/net.mkiol/jupii"
[D] 18:34:30.181961591.181 0x7fd18b898880 () - settings file: "/home/chris/.var/app/net.mkiol.Jupii/config/net.mkiol/jupii/settings.config"
[D] 18:34:30.181968216.181 0x7fd18b898880 () - sandboxed: false
[D] 18:34:30.181982682.181 0x7fd18b898880 hasPipeWire:925 - pa server detection started
[D] 18:34:30.194126427.194 0x7fd18b898880 paServerInfoCallback:910 - pa server: string=unix:/run/flatpak/pulse/native, lib-proto-ver=35, server-proto-ver=35, local=1, name=PulseAudio (on PipeWire 1.2.5), server-ver=15.0.0, default-sink=alsa_output.pci-0000_00_14.2.analog-stereo, default-source=alsa_output.pci-0000_00_14.2.analog-stereo.monitor
[D] 18:34:30.194160268.194 0x7fd18b898880 hasPipeWire:971 - pa server detection completed
[D] 18:34:30.194190586.194 0x7fd18b898880 detectV4l2VideoSources:4623 - v4l2 sources detection started
[D] 18:34:30.194365416.194 0x7fd18b898880 detectV4l2VideoSources:4641 - found v4l2 dev: file=/dev/video0, card=PCI:0000:04:06.0, caps=[V4L2_CAP_VIDEO_CAPTURE, V4L2_CAP_EXT_PIX_FORMAT, V4L2_CAP_READWRITE, V4L2_CAP_STREAMING, ]
[D] 18:34:30.194406534.194 0x7fd18b898880 detectV4l2VideoSources:4680 - v4l2 sources detection completed
[D] 18:34:30.194414958.194 0x7fd18b898880 detectX11VideoSources:4256 - x11 source detecton started
[D] 18:34:30.194455546.194 0x7fd18b898880 detectPaSources:977 - pa sources detection started
[D] 18:34:30.198930289.198 0x7fd18b898880 paServerInfoCallback:910 - pa server: string=unix:/run/flatpak/pulse/native, lib-proto-ver=35, server-proto-ver=35, local=1, name=PulseAudio (on PipeWire 1.2.5), server-ver=15.0.0, default-sink=alsa_output.pci-0000_00_14.2.analog-stereo, default-source=alsa_output.pci-0000_00_14.2.analog-stereo.monitor
[D] 18:34:30.199063616.199 0x7fd18b898880 paSourceInfoCallback:885 - pa source found: type=monitor, name=monitor-484, fname=Monitor of Built-in Audio Analog Stereo, dev=alsa_output.pci-0000_00_14.2.analog-stereo.monitor, codec=pcm_s32le, channels=2, rate=48000, bps=4
[D] 18:34:30.199134011.199 0x7fd18b898880 paSourceInfoCallback:885 - pa source found: type=mic, name=mic-532, fname=Built-in Audio Analog Stereo, dev=alsa_input.pci-0000_00_14.2.analog-stereo, codec=pcm_s32le, channels=2, rate=48000, bps=4
[D] 18:34:30.199156553.199 0x7fd18b898880 detectPaSources:1027 - pa source found: type=playback, name=playback, fname=Playback capture, dev=, codec=pcm_s16le, channels=2, rate=44100, bps=2
[D] 18:34:30.199164467.199 0x7fd18b898880 detectPaSources:1032 - pa pipewire server detected but it should not be used => removing pa sorces
[D] 18:34:30.199212653.199 0x7fd18b898880 detectPaSources:1042 - pa sources detection completed
[D] 18:34:30.199223874.199 0x7fd18b898880 detectAudioFileSources:1048 - audio file sources detection started
[D] 18:34:30.199230750.199 0x7fd18b898880 detectAudioFileSources:1057 - audio file source found: type=file, name=file, fname=File streaming, dev=, codec=unknown, channels=0, rate=0, bps=0
[D] 18:34:30.199236713.199 0x7fd18b898880 detectAudioFileSources:1061 - audio file sources detection completed
[D] 18:34:30.199322781.199 0x7fd18b898880 () - runtime prefix: "/app"
[D] 18:34:30.199794953.199 0x7fd18b898880 () - available styles: ("Default", "Fusion", "Imagine", "Material", "org.kde.breeze", "org.kde.desktop", "Plasma", "Universal")
[D] 18:34:30.199919160.199 0x7fd18b898880 () - style paths: ("/usr/lib/qml/QtQuick/Controls.2")
[D] 18:34:30.199941071.199 0x7fd18b898880 () - import paths: ("/usr/lib/qml", "/app/bin", "qrc:/qt-project.org/imports")
[D] 18:34:30.199951984.199 0x7fd18b898880 () - library paths: ("/usr/share/runtime/lib/plugins", "/usr/lib/plugins", "/app/bin")
[D] 18:34:30.199962338.199 0x7fd18b898880 () - using auto qt style
[D] 18:34:30.199971043.199 0x7fd18b898880 () - XDG_CURRENT_DESKTOP: GNOME
[D] 18:34:30.199980894.199 0x7fd18b898880 () - switching to style: "org.kde.breeze"
[D] 18:34:30.204731771.204 0x7fd1770006c0 () - starting http server on port: 9092
[D] 18:34:30.207030438.207 0x7fd18b898880 () - dbus service successfully registered
[D] 18:34:30.207335432.207 0x7fd1766006c0 loop:83 - py executor loop started
[D] 18:34:30.227232569.227 0x7fd1766006c0 libs_availability:46 - checking: ytmusicapi
qrc:/qml/main.qml:249:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... }
qrc:/qml/main.qml:237:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... }
qrc:/qml/main.qml:207:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... }
qrc:/qml/main.qml:142:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... }
qrc:/qml/main.qml:134:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... }
[D] 18:34:30.556873025.556 0x7fd18b898880 onCompleted:112 - qml completed
[D] 18:34:30.556889684.556 0x7fd1766006c0 libs_availability:48 - ytmusicapi version: 1.8.2
[D] 18:34:30.556934308.556 0x7fd1766006c0 libs_availability:56 - checking: ytmusicapi
[W] 18:34:30.666376682.666 0x7fd18b898880 () - WARNING: Cannot find style "org.kde.desktop" - fallback: "/usr/lib/qml/QtQuick/Controls/Styles/Desktop"
[W] 18:34:30.694604373.694 0x7fd18b898880 () - Unknown meta data class: ""
[W] 18:34:30.699567317.699 0x7fd18b898880 virtual QVariant ModelSource::item(int) const:81 - ModelSource: Invalid role -1 "color"
[W] 18:34:30.699664483.699 0x7fd18b898880 virtual QVariant ModelSource::item(int) const:81 - ModelSource: Invalid role -1 "color"
qrc:/qml/PlayQueuePage.qml:135:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... }
[D] 18:34:30.778326140.778 0x7fd1766006c0 libs_availability:58 - yt_dlp version: 2024.10.07
[D] 18:34:30.778358345.778 0x7fd1766006c0 libs_availability:66 - py libs availability: [ytmusicapi=true, ytdlp=true]
[D] 18:34:30.785691407.785 0x7fd18b898880 () - connected network interface changed: "enp4s7"
[W] 18:34:30.810560120.810 0x7fd18b898880 () - Unknown meta data class: ""
[W] 18:34:30.878840604.878 0x7fd18b898880 () - Unknown meta data class: ""
[W] 18:34:30.939839802.939 0x7fd18b898880 () - Unknown meta data class: ""
[W] 18:34:31.008884109.8 0x7fd18b898880 () - Unknown meta data class: ""
[W] 18:34:31.066747212.66 0x7fd18b898880 () - Unknown meta data class: ""
[W] 18:34:31.130597546.130 0x7fd18b898880 () - Unknown meta data class: ""
[W] 18:34:31.188642518.188 0x7fd18b898880 () - Unknown meta data class: ""
[D] 18:34:31.276171986.276 0x7fd18b898880 () - Directory init
[D] 18:34:31.276420338.276 0x7fd18b898880 () - LibUPnP init: [redacted]

@mkiol
Copy link
Owner

mkiol commented Oct 25, 2024

So, nothing changed :/

I want to make sure, so when you start the app it just crashes without any UI, right?

@ChrisOfBristol
Copy link
Author

ChrisOfBristol commented Oct 25, 2024

crashes without any UI

Yes. It might have shown the UI the first time, but I can't remember. That's because I have been trying several similar apps to try to communicate with my Blu-ray HDD player.

@mkiol
Copy link
Owner

mkiol commented Oct 27, 2024

If you're not already very tired of me asking for more logs, could please try to start the app with debugger?

To do this, you need to install the Debug version of Jupii and Flatpak SDK. This can be done with the following command:

flatpak install --user --include-sdk --include-debug net.mkiol.Jupii

than, start the Flatpak sandbox:

flatpak run --command=sh --devel net.mkiol.Jupii

than, start the debugger (inside Flatpak sandbox)

gdb --args /app/bin/jupii --verbose
(gdb) run

after the crash:

(gdb)  backtrace
(gdb)  quit
exit

@ChrisOfBristol
Copy link
Author

ChrisOfBristol commented Oct 27, 2024

tired of me asking for more logs

Since you are working on the problem for me, I can hardly complain about being asked for a log :)

chris@UNKNOWN:~$ flatpak install --user --include-sdk --include-debug net.mkiol.Jupii
Looking for matches…
error: No remote refs found for ‘net.mkiol.Jupii’

That didn't work, so I did:
flatpak install --include-debug net.mkiol.Jupii
flatpak install org.kde.Sdk
That has been installed successfully.

gdb --args /app/bin/jupii --verbose
(gdb) run

Loads of lines of output, the GUI started, and I exited with this on the terminal:

[New process 9]
[Inferior 1 (process 9) exited normally]
(gdb) backtrace
No stack.
(gdb) quit
[📦 net.mkiol.Jupii ~]$ 

@ChrisOfBristol
Copy link
Author

ChrisOfBristol commented Oct 27, 2024

Now if I run it in the terminal, the GUI starts and I get:

chris@UNKNOWN:~$ flatpak run net.mkiol.Jupii
QSocketNotifier: Can only be used with threads started with QThread
qt.qpa.qgnomeplatform: Could not find color scheme  ""
desktop file: "net.mkiol.Jupii"
chris@UNKNOWN:~$ 

It also works if I click the icon on the taskbar. Maybe the new SDK has fixed it?

@mkiol
Copy link
Owner

mkiol commented Oct 28, 2024

I'm super glad that it started working :) I have no idea what was wrong, but yes, most likely an update during installing the SDK solved the problem.

@ChrisOfBristol
Copy link
Author

I'm super glad that it started working

Thanks for your prompt attention to the problem.

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

2 participants