Manuskript crashes on start
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
manuskript (Debian) |
New
|
Unknown
|
|||
manuskript (Ubuntu) |
Fix Released
|
High
|
Aaron Rainbolt | ||
Jammy |
Confirmed
|
High
|
Aaron Rainbolt | ||
Kinetic |
Won't Fix
|
High
|
Aaron Rainbolt |
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:/
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@blok:~$ manuskript
Warning: Ignoring XDG_SESSION_
CRITICAL> An unhandled exception has occurred!
Traceback (most recent call last):
File "/usr/bin/
main.run()
File "/usr/share/
app, MW = prepare(arguments)
File "/usr/share/
from manuskript.
File "/usr/share/
from manuskript.
File "/usr/share/
from manuskript.ui import style as S
File "/usr/share/
highlightLight = F.mixColors(
File "/usr/share/
return QColor(r, g, b) if not fromString else QColor(r, g, b).name()
TypeError: arguments did not match any overloaded call:
QColor(
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(
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: manuskript 0.12.0-1
ProcVersionSign
Uname: Linux 5.15.0-47-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckR
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)
PackageArchitec
SourcePackage: manuskript
UpgradeStatus: Upgraded to jammy on 2022-09-08 (1 days ago)
Changed in manuskript (Debian): | |
status: | Unknown → New |
Changed in manuskript (Ubuntu): | |
assignee: | nobody → Aaron Rainbolt (arraybolt3) |
Changed in manuskript (Ubuntu Jammy): | |
status: | New → Confirmed |
assignee: | nobody → Aaron Rainbolt (arraybolt3) |
importance: | Undecided → Critical |
Changed in manuskript (Ubuntu Kinetic): | |
importance: | Undecided → High |
Changed in manuskript (Ubuntu Jammy): | |
importance: | Critical → High |
description: | updated |
description: | updated |
description: | updated |
tags: | added: patch |
description: | updated |
description: | updated |
description: | updated |
Changed in manuskript (Ubuntu): | |
status: | Confirmed → Fix Released |
description: | updated |
Thanks for taking your time to report this issue and help making Ubuntu better.
I found a corresponding Debian bug report with the same error message, so I have attached a bug watch.