[SRU] neochat not opening in 24.04

Bug #2061116 reported by Roberalz
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
neochat (Ubuntu)
Fix Released
Undecided
Scarlett Gately Moore
Noble
Fix Committed
Undecided
Unassigned

Bug Description

[ Impact ]

 * Crashes on start.

 * Adding missing qml modules allows the program to run.

[ Test Plan ]

 * Install package and try to run, it will complain about missing qml and crash.

[ Where problems could occur ]

 * This package simply adds existing qml module packages to runtime dependencies to enable it to run and will have no impact on other packages.

[ Original description ]

After installing the package with sudo apt install neochat, it gives an error and does not open. gives this error.

QQmlApplicationEngine failed to load component
qrc:/main.qml:23:5: Type RoomPage unavailable
qrc:/RoomPage.qml:106:26: Type ChatBox unavailable
qrc:/ChatBox.qml:63:5: Type ChatBar unavailable
qrc:/ChatBar.qml:390:17: Type PieProgressBar unavailable
qrc:/PieProgressBar.qml:7:1: module "org.kde.quickcharts" is not installed

It seems to be a dependency error, since when doing sudo apt install qml-module-org-kde-quickcharts, it already works correctly.

Changed in neochat (Ubuntu):
status: New → Fix Committed
assignee: nobody → Scarlett Gately Moore (scarlettmoore)
Revision history for this message
Scarlett Gately Moore (scarlettmoore) wrote :

[ Impact ]

 * Crashes on start.

 * Adding missing qml modules allows the program to run.

[ Test Plan ]

 * Install package and try to run, it will complain about missing qml and crash.
 * these should allow someone who is not familiar with the affected

[ Where problems could occur ]

 * This package simply adds existing qml module packages to runtime dependencies to enable it to run and will have no impact on other packages.

summary: - neochat not opening in 24.04
+ [SRU] neochat not opening in 24.04
Changed in neochat (Ubuntu Noble):
milestone: none → noble-updates
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package neochat - 23.08.5-0ubuntu5

---------------
neochat (23.08.5-0ubuntu5) oracular; urgency=medium

  * Fix neochat not opening in 24.04, by adding missing
  runtime qml dependency. (LP: #2061116)

 -- Scarlett Moore <email address hidden> Fri, 12 Jul 2024 05:52:20 -0700

Changed in neochat (Ubuntu):
status: Fix Committed → Fix Released
description: updated
description: updated
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

I see in oracular there have been some iterations where more and more qml and other missing dependencies were added. All of them are in this SRU, except libqt5sql5-sqlite, which was added in 23.08.5-1. Doing a test install of neochat in noble, I see that libqt5sql5-sqlite is installed as a recommends, meaning it's skipped if --no-install-recommends is passed.

Do we need the libqt5sql5-sqlite Depends in this SRU?

Changed in neochat (Ubuntu Noble):
status: In Progress → Incomplete
Revision history for this message
KDE (kde-community) wrote :

Sure I can do that.

Changed in neochat (Ubuntu Noble):
status: Incomplete → Fix Committed
Revision history for this message
Scarlett Gately Moore (scarlettmoore) wrote :

It has been added, can we move forward with this SRU?

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Hi Scarlett,

> Do we need the libqt5sql5-sqlite Depends in this SRU?

note that I didn't explicitly ask to add the new dependency, just if it was needed (hence the "needs information" status of the bug). It's your call, and I'm happy to take your decision be it add the new dep or not.

About the upload, since 23.08.5-0ubuntu4.1 was not accepted into proposed, that version wasn't "burned". The new upload should have been 23.08.5-0ubuntu4.1 again, with the change, instead of 23.08.5-0ubuntu4.2.

So, to proceed, we have the following options:
a) You decide that libqt5sql5-sqlite is not needed as a dependency, and we can proceed with the original 23.08.5-0ubuntu4.1 upload and reject 23.08.5-0ubuntu4.2
b) Oops, yes, libqt5sql5-sqlite is needed. In this case, I will reject both 23.08.5-0ubuntu4.1 and 23.08.5-0ubuntu4.2 and you can upload a new 23.08.5-0ubuntu4.1 with the dependency added, and a note in the changelog entry saying this was also added

I'm not on my SRU shift today, but since I have the context on this bug, I can act on it once you tell me which option forward you prefer. I'm inclined towards (b), because of the reasoning in comment #3, but I'm not familiar with this package.

Revision history for this message
Scarlett Gately Moore (scarlettmoore) wrote :

OOps sorry, I agree with you it is needed. Please go with option b and I will re-upload .1 again once those are rejected.
Scarlett

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Done

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

For the future, please group both changelog entries under the same bug, or else it will look like just one of the changes is the fix, whereas the other change is "something else".

The indentation is also a bit off.

This is what we have:

  * Fix neochat not opening in 24.04, by adding missing
  runtime qml dependency.
  * Add libqt5sql5-sqlite to depends. (LP: #2061116)

This would have been enough, for example:

  * Fix neochat not opening in 24.04 by adding missing
    qml and libqt5sql5-sqlite dependencies (LP: #2061116)

Revision history for this message
Andreas Hasenack (ahasenack) wrote : Please test proposed package

Hello Roberalz, or anyone else affected,

Accepted neochat into noble-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/neochat/23.08.5-0ubuntu4.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-noble to verification-done-noble. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-noble. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

tags: added: verification-needed verification-needed-noble
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.