[Bug 1989203] Re: Manuskript crashes on start
Biep
1989203 at bugs.launchpad.net
Fri Feb 10 15:32:02 UTC 2023
All right - but this may take a while. I am not in a position to go
tinkering with computers at the moment.
---- Op vr, 10 feb 2023 15:31:00 +0100 schreef Timo Aaltonen ----
> Hello Biep, or anyone else affected,
>
> Accepted manuskript into kinetic-proposed. The package will build now
> and be available at
> https://launchpad.net/ubuntu/+source/manuskript/0.12.0-1ubuntu0.22.10.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-
> kinetic to verification-done-kinetic. If it does not fix the bug for
> you, please add a comment stating that, and change the tag to
> verification-failed-kinetic. 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.
>
> ** Changed in: manuskript (Ubuntu Kinetic)
> Status: In Progress => Fix Committed
>
> ** Tags added: verification-needed verification-needed-kinetic
>
> ** Changed in: manuskript (Ubuntu Jammy)
> Status: In Progress => Fix Committed
>
> ** Tags added: verification-needed-jammy
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1989203
>
> Title:
> Manuskript crashes on start
>
> Status in manuskript package in Ubuntu:
> Fix Released
> Status in manuskript source package in Jammy:
> Fix Committed
> Status in manuskript source package in Kinetic:
> Fix Committed
> Status in manuskript package in Debian:
> New
>
> Bug description:
> [Impact]
>
> Manuskript is an open-source tool for writers. Its main purpose is
> writing novels, books, and the like. It does not have any reverse
> dependencies.
>
> In Ubuntu 22.04 and presumably all flavors thereof (at least Lubuntu),
> the Manuskript package is currently entirely broken. Attempting to
> launch it from its button in the application menu does nothing, while
> attempting to launch it from a terminal results in a very messy error
> message, which is detailed more thoroughly in the original bug report.
> This renders Manuskript entirely unusable.
>
> This patch backports the following Git commit to the existing version
> of Manuskript in Ubuntu:
> https://github.com/olivierkes/manuskript/commit/15edb6efb7305b9d1a192712660857ca38facace
> This appears to fix the problem in my testing.
>
> Those who have Manuskript already installed on their systems currently
> are unable to use it at all, from my testing. Those who have
> Manuskript installed already should be able to use Manuskript again
> after this upgrade is installed.
>
> [Test Plan]
>
> 1. Install Ubuntu 22.04 or 22.10 into a virtual machine, or use an existing installation thereof.
> 2. Fully update the new installation (sudo apt update && sudo apt -y full-upgrade)
> 3. Install the current version of Manuskript (sudo apt install manuskript)
> 4. Attempt to launch the program from the terminal - the error message described in the original bug report should appear.
> 5. Enable -proposed and install the new version of Manuskript from -proposed.
> 6. Attempt to launch Manuskript from the terminal - it should launch successfully this itme.
> 7. Create a new Manuskript project, make sure that Markdown highlighting works, and
> 8. Attempt to open the saved project. The saved changes should appear.
>
> [Where problems could occur]
>
> A typo or malformed line in the patch could potentially result in
> Manuskript being still unable to launch, or cause strange behavior
> with the modified code (which appears to deal with colors, and so
> would likely cause colors somewhere to look wrong). The above test
> plan will catch major failures, and careful checking of the code (by
> making sure my patch matches with the upstream commit) should ensure
> that colors don't end up messed up.
>
> ---
>
> Original bug report:
>
> On Wayland it warns about it not liking Wayland before crashing; on
> Xorg it immediately crashes on the unhandled exception:
>
> biep at blok:~$ manuskript
> Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
> CRITICAL> An unhandled exception has occurred!
> Traceback (most recent call last):
> File "/usr/bin/manuskript", line 30, in
> main.run()
> File "/usr/share/manuskript/manuskript/main.py", line 292, in run
> app, MW = prepare(arguments)
> File "/usr/share/manuskript/manuskript/main.py", line 171, in prepare
> from manuskript.mainWindow import MainWindow
> File "/usr/share/manuskript/manuskript/mainWindow.py", line 23, in
> from manuskript.models.worldModel import worldModel
> File "/usr/share/manuskript/manuskript/models/worldModel.py", line 11, in
> from manuskript.ui import style as S
> File "/usr/share/manuskript/manuskript/ui/style.py", line 36, in
> highlightLight = F.mixColors(highlight, window, .3)
> File "/usr/share/manuskript/manuskript/functions/__init__.py", line 197, in mixColors
> return QColor(r, g, b) if not fromString else QColor(r, g, b).name()
> TypeError: arguments did not match any overloaded call:
> QColor(Qt.GlobalColor): argument 1 has unexpected type 'float'
> QColor(int): argument 1 has unexpected type 'float'
> QColor(QRgba64): argument 1 has unexpected type 'float'
> QColor(Any): too many arguments
> QColor(): too many arguments
> QColor(int, int, int, alpha: int = 255): argument 1 has unexpected type 'float'
> QColor(str): argument 1 has unexpected type 'float'
> QColor(Union[QColor, Qt.GlobalColor, QGradient]): argument 1 has unexpected type 'float'
>
> ProblemType: Bug
> DistroRelease: Ubuntu 22.04
> Package: manuskript 0.12.0-1
> ProcVersionSignature: Ubuntu 5.15.0-47.51-generic 5.15.46
> Uname: Linux 5.15.0-47-generic x86_64
> ApportVersion: 2.20.11-0ubuntu82.1
> Architecture: amd64
> CasperMD5CheckResult: unknown
> CurrentDesktop: ubuntu:GNOME
> Date: Fri Sep 9 16:44:06 2022
> InstallationDate: Installed on 2020-04-27 (864 days ago)
> InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
> PackageArchitecture: all
> SourcePackage: manuskript
> UpgradeStatus: Upgraded to jammy on 2022-09-08 (1 days ago)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/manuskript/+bug/1989203/+subscriptions
>
>
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1989203
Title:
Manuskript crashes on start
Status in manuskript package in Ubuntu:
Fix Released
Status in manuskript source package in Jammy:
Fix Committed
Status in manuskript source package in Kinetic:
Fix Committed
Status in manuskript package in Debian:
New
Bug description:
[Impact]
Manuskript is an open-source tool for writers. Its main purpose is
writing novels, books, and the like. It does not have any reverse
dependencies.
In Ubuntu 22.04 and presumably all flavors thereof (at least Lubuntu),
the Manuskript package is currently entirely broken. Attempting to
launch it from its button in the application menu does nothing, while
attempting to launch it from a terminal results in a very messy error
message, which is detailed more thoroughly in the original bug report.
This renders Manuskript entirely unusable.
This patch backports the following Git commit to the existing version
of Manuskript in Ubuntu:
https://github.com/olivierkes/manuskript/commit/15edb6efb7305b9d1a192712660857ca38facace
This appears to fix the problem in my testing.
Those who have Manuskript already installed on their systems currently
are unable to use it at all, from my testing. Those who have
Manuskript installed already should be able to use Manuskript again
after this upgrade is installed.
[Test Plan]
1. Install Ubuntu 22.04 or 22.10 into a virtual machine, or use an existing installation thereof.
2. Fully update the new installation (sudo apt update && sudo apt -y full-upgrade)
3. Install the current version of Manuskript (sudo apt install manuskript)
4. Attempt to launch the program from the terminal - the error message described in the original bug report should appear.
5. Enable -proposed and install the new version of Manuskript from -proposed.
6. Attempt to launch Manuskript from the terminal - it should launch successfully this itme.
7. Create a new Manuskript project, make sure that Markdown highlighting works, and
8. Attempt to open the saved project. The saved changes should appear.
[Where problems could occur]
A typo or malformed line in the patch could potentially result in
Manuskript being still unable to launch, or cause strange behavior
with the modified code (which appears to deal with colors, and so
would likely cause colors somewhere to look wrong). The above test
plan will catch major failures, and careful checking of the code (by
making sure my patch matches with the upstream commit) should ensure
that colors don't end up messed up.
---
Original bug report:
On Wayland it warns about it not liking Wayland before crashing; on
Xorg it immediately crashes on the unhandled exception:
biep at blok:~$ manuskript
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
CRITICAL> An unhandled exception has occurred!
Traceback (most recent call last):
File "/usr/bin/manuskript", line 30, in <module>
main.run()
File "/usr/share/manuskript/manuskript/main.py", line 292, in run
app, MW = prepare(arguments)
File "/usr/share/manuskript/manuskript/main.py", line 171, in prepare
from manuskript.mainWindow import MainWindow
File "/usr/share/manuskript/manuskript/mainWindow.py", line 23, in <module>
from manuskript.models.worldModel import worldModel
File "/usr/share/manuskript/manuskript/models/worldModel.py", line 11, in <module>
from manuskript.ui import style as S
File "/usr/share/manuskript/manuskript/ui/style.py", line 36, in <module>
highlightLight = F.mixColors(highlight, window, .3)
File "/usr/share/manuskript/manuskript/functions/__init__.py", line 197, in mixColors
return QColor(r, g, b) if not fromString else QColor(r, g, b).name()
TypeError: arguments did not match any overloaded call:
QColor(Qt.GlobalColor): argument 1 has unexpected type 'float'
QColor(int): argument 1 has unexpected type 'float'
QColor(QRgba64): argument 1 has unexpected type 'float'
QColor(Any): too many arguments
QColor(): too many arguments
QColor(int, int, int, alpha: int = 255): argument 1 has unexpected type 'float'
QColor(str): argument 1 has unexpected type 'float'
QColor(Union[QColor, Qt.GlobalColor, QGradient]): argument 1 has unexpected type 'float'
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: manuskript 0.12.0-1
ProcVersionSignature: Ubuntu 5.15.0-47.51-generic 5.15.46
Uname: Linux 5.15.0-47-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Fri Sep 9 16:44:06 2022
InstallationDate: Installed on 2020-04-27 (864 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
PackageArchitecture: all
SourcePackage: manuskript
UpgradeStatus: Upgraded to jammy on 2022-09-08 (1 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/manuskript/+bug/1989203/+subscriptions
More information about the Ubuntu-sponsors
mailing list