Bug 480507 - App Crashes When Clicking On A Specific Artist
Summary: App Crashes When Clicking On A Specific Artist
Status: REPORTED
Alias: None
Product: audiotube
Classification: Applications
Component: general (show other bugs)
Version: 23.08.4
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: Jonah Brüchert
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-29 21:27 UTC by Eray Erdin
Modified: 2024-03-05 23:00 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eray Erdin 2024-01-29 21:27:45 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

Console logs:

```
Qt: Session management error: Could not open network socket
futuresql: Migrations finished
futuresql: Running "select distinct (search_query) from searches order by search_id desc"
futuresql: Running "select * from favourites natural join songs order by favourites.rowid desc"
futuresql: Running "select * from played_songs natural join songs"
futuresql: Running "select * from played_songs natural join songs order by plays desc limit 10"
Cannot initialize model with data QJsonObject(). missing: QJsonValue(string, "urls")
Cannot initialize model with data QJsonObject(). missing: QJsonValue(string, "urls")
futuresql: Running "select * from playlists"
Cannot initialize model with data QJsonObject(). missing: QJsonValue(string, "urls")
Cannot initialize model with data QJsonObject(). missing: QJsonValue(string, "urls")
futuresql: Running "select * from playlists"
futuresql: Running "select * from playlists"
qrc:/main.qml:98:17: Unable to assign null to double
qrc:/MinimizedPlayerControls.qml:246:13: Unable to assign bool to int
futuresql: Running "select video_id from playlist_entries where playlist_id = ? order by random() limit 4"
futuresql: Running "select video_id from playlist_entries where playlist_id = ? order by random() limit 4"
futuresql: Running "select video_id from playlist_entries where playlist_id = ? order by random() limit 4"
futuresql: Running "select * from playlists"
file:///usr/lib/qml/org/kde/kirigami.2/Dialog.qml:372:37: QML Binding: Binding loop detected for property "value"
futuresql: Running "select video_id from playlist_entries where playlist_id = ? order by random() limit 4"
qrc:/MinimizedPlayerControls.qml:142:9: Unable to assign null to QQuickAnchorLine
futuresql: Running "insert into searches (search_query) values (?)"
Cannot initialize model with data QJsonObject(). missing: QJsonValue(string, "urls")
Cannot initialize model with data QJsonObject(). missing: QJsonValue(string, "urls")
futuresql: Running "select * from playlists"
futuresql: Running "select video_id from playlist_entries where playlist_id = ? order by random() limit 4"
qrc:/dialogs/PlaylistDialog.qml:68:21: Unable to assign [undefined] to QString
qrc:/dialogs/PlaylistDialog.qml:72:21: Unable to assign [undefined] to QString
qrc:/dialogs/PlaylistDialog.qml:76:21: Unable to assign [undefined] to QString
qrc:/dialogs/PlaylistDialog.qml:80:21: Unable to assign [undefined] to QString
Cannot initialize model with data QJsonObject(). missing: QJsonValue(string, "urls")
Cannot initialize model with data QJsonObject(). missing: QJsonValue(string, "urls")
Cannot initialize model with data QJsonObject(). missing: QJsonValue(string, "urls")
Cannot initialize model with data QJsonObject(). missing: QJsonValue(string, "urls")
futuresql: Running "select * from playlists"
qrc:/components/DoubleActionButton.qml:131:9: Unable to assign [undefined] to int
futuresql: Running "select video_id from playlist_entries where playlist_id = ? order by random() limit 4"
qrc:/dialogs/PlaylistDialog.qml:68:21: Unable to assign [undefined] to QString
qrc:/dialogs/PlaylistDialog.qml:72:21: Unable to assign [undefined] to QString
qrc:/dialogs/PlaylistDialog.qml:76:21: Unable to assign [undefined] to QString
qrc:/dialogs/PlaylistDialog.qml:80:21: Unable to assign [undefined] to QString
Unable to cast Python instance of type <class 'NoneType'> to C++ type 'std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >'⏎  
```

STEPS TO REPRODUCE
1. Open app.
2. Search "tool".
3. Click on the artist in top result.

OBSERVED RESULT
The app crashes.

EXPECTED RESULT
The app should not crash.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Fedora Linux 39
(available in About System)
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.113.0
Qt Version: 5.15.12

ADDITIONAL INFORMATION
The app is installed via Flatpak.
Comment 1 Aleks Rutins 2024-02-11 21:11:02 UTC
I'm experiencing a crash with the same "missing property 'urls'" error on Fedora 39 aarch64, through both Flatpak (Flathub) and RPM.
Comment 2 Eray Erdin 2024-03-05 23:00:37 UTC
After the last update, it seems this issue is resolved.