Your message dated Fri, 03 Jan 2025 11:22:09 +0000
with message-id <e1ttfkn-003d4v...@fasolo.debian.org>
and subject line Bug#1091872: fixed in rednotebook 2.37+ds-3
has caused the Debian Bug report #1091872,
regarding rednotebook: Fails to preview entry b/c txt2tags complains about 
invalid markup
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1091872: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1091872
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: rednotebook
Version: 2.37+ds-2
Severity: grave
Tags: upstream
Justification: renders package unusable

Dear Maintainer,

   * What led up to the situation?

Entering some casual text into the editor (without txt2tags markup) or using a
supplied template, then clicking on "Preview", leads to the following error
message:

"""
Error: This day contains invalid txt2tags markup. You can help us fix this by
submitting a bugreport in the txt2tags bugtracker. Please append the day's text
to the issue.
"""

The console gives the following information, while the remark "CLICKING
PREVIEW" shows the steps when I click the preview button. I entered "ABC"
(without quotation marks) into the editor:

user@computer ~ % rednotebook
INFO     Using GtkSourceView 4
Adding /usr/share/rednotebook to sys.path
INFO     Available versions of the WebKit2 namespace: ['4.1']
INFO     Loaded version of the WebKit2 namespace: 4.1
INFO     Locale path: /usr/share/locale
2025-01-01 21:35:06,188 INFO     Writing log to file
"/home/username/.rednotebook/rednotebook.log"
2025-01-01 21:35:06,188 INFO     System encoding: utf-8
2025-01-01 21:35:06,188 INFO     Language code: en_GB
2025-01-01 21:35:06,205 INFO     Spell checking languages: ['de_DE',
'de_DE_frami', 'en', 'en-variant_0', 'en-variant_1', 'en-variant_2', 'en-
w_accents', 'en-wo_accents', 'en_AU', 'en_AU-variant_0', 'en_AU-variant_1',
'en_AU-w_accents', 'en_AU-wo_accents', 'en_CA', 'en_CA-variant_0', 'en_CA-
variant_1', 'en_CA-w_accents', 'en_CA-wo_accents', 'en_GB', 'en_GB-ise',
'en_GB-ise-w_accents', 'en_GB-ise-wo_accents', 'en_GB-ize', 'en_GB-ize-
w_accents', 'en_GB-ize-wo_accents', 'en_GB-variant_0', 'en_GB-variant_1',
'en_GB-w_accents', 'en_GB-wo_accents', 'en_US', 'en_US-variant_0', 'en_US-
variant_1', 'en_US-w_accents', 'en_US-wo_accents']
2025-01-01 21:35:06,205 INFO     Spell checking dictionaries: [('de_DE',
<Enchant: Hunspell Provider>), ('de_DE_frami', <Enchant: Hunspell Provider>),
('en', <Enchant: Aspell Provider>), ('en-variant_0', <Enchant: Aspell
Provider>), ('en-variant_1', <Enchant: Aspell Provider>), ('en-variant_2',
<Enchant: Aspell Provider>), ('en-w_accents', <Enchant: Aspell Provider>),
('en-wo_accents', <Enchant: Aspell Provider>), ('en_AU', <Enchant: Aspell
Provider>), ('en_AU-variant_0', <Enchant: Aspell Provider>), ('en_AU-
variant_1', <Enchant: Aspell Provider>), ('en_AU-w_accents', <Enchant: Aspell
Provider>), ('en_AU-wo_accents', <Enchant: Aspell Provider>), ('en_CA',
<Enchant: Aspell Provider>), ('en_CA-variant_0', <Enchant: Aspell Provider>),
('en_CA-variant_1', <Enchant: Aspell Provider>), ('en_CA-w_accents', <Enchant:
Aspell Provider>), ('en_CA-wo_accents', <Enchant: Aspell Provider>), ('en_GB',
<Enchant: Aspell Provider>), ('en_GB-ise', <Enchant: Aspell Provider>),
('en_GB-ise-w_accents', <Enchant: Aspell Provider>), ('en_GB-ise-wo_accents',
<Enchant: Aspell Provider>), ('en_GB-ize', <Enchant: Aspell Provider>),
('en_GB-ize-w_accents', <Enchant: Aspell Provider>), ('en_GB-ize-wo_accents',
<Enchant: Aspell Provider>), ('en_GB-variant_0', <Enchant: Aspell Provider>),
('en_GB-variant_1', <Enchant: Aspell Provider>), ('en_GB-w_accents', <Enchant:
Aspell Provider>), ('en_GB-wo_accents', <Enchant: Aspell Provider>), ('en_US',
<Enchant: Aspell Provider>), ('en_US-variant_0', <Enchant: Aspell Provider>),
('en_US-variant_1', <Enchant: Aspell Provider>), ('en_US-w_accents', <Enchant:
Aspell Provider>), ('en_US-wo_accents', <Enchant: Aspell Provider>)]
2025-01-01 21:35:06,403 INFO     Using LibYAML
2025-01-01 21:35:06,405 INFO     Connected Signals: [<Signals.SIGHUP: 1>,
<Signals.SIGINT: 2>, <Signals.SIGQUIT: 3>, <Signals.SIGABRT: 6>,
<Signals.SIGTERM: 15>, <Signals.SIGTSTP: 20>]
2025-01-01 21:35:06,412 INFO     Running in portable mode: False
2025-01-01 21:35:06,412 INFO     First Start: False
2025-01-01 21:35:06,412 INFO     RedNotebook version: 2.37
2025-01-01 21:35:06,414 INFO     System info: machine: x86_64, platform:
Linux-6.12.6-amd64-x86_64-with-glibc2.40, processor: , python_version: 3.12.8,
release: 6.12.6-amd64, system: Linux, GTK: (3, 24, 43), Glib: (2, 82, 4),
PyGObject: (3, 50, 0), YAML: 6.0.2, WebKit2: (2, 46, 5)
2025-01-01 21:35:06,648 DEBUG    Default font: Fira Code weight=450 12
2025-01-01 21:35:06,648 DEBUG    Default size: 12.0
2025-01-01 21:35:06,908 INFO     Cloud ignore list: ['filter', 'these',
'comma', 'separated', 'words', 'and', '#tags']
2025-01-01 21:35:06,909 INFO     Cloud include list: ['mtv', 'spam', 'work',
'job', 'play']
2025-01-01 21:35:06,909 INFO     Cloud special ignore regexes: ('file://.*',
'https?://.*')
2025-01-01 21:35:06,909 DEBUG    Start compiling regexes: ignore, include and
special
2025-01-01 21:35:06,909 DEBUG    Finished compiling
2025-01-01 21:35:06,934 DEBUG    Tray icon visible: False
2025-01-01 21:35:06,936 INFO     Opening journal at
'/home/username/.rednotebook/data'
2025-01-01 21:35:06,936 DEBUG    Starting to load files in dir
"/home/username/.rednotebook/data"
2025-01-01 21:35:06,936 DEBUG    Loading file
"/home/username/.rednotebook/data/2025-01.txt"
2025-01-01 21:35:06,937 DEBUG    Finished loading files in dir
"/home/username/.rednotebook/data"
2025-01-01 21:35:07,112 DEBUG    Update the cloud
2025-01-01 21:35:07,114 DEBUG    Background color: rgb(45,45,45)
2025-01-01 21:35:07,114 DEBUG    Foreground color: rgb(255,255,255)
2025-01-01 21:35:07,117 DEBUG    Cloud updated
2025-01-01 21:35:07,120 INFO     Last backup was made 0 days ago

CLICKING PREVIEW

2025-01-01 21:38:24,639 DEBUG    Background color: rgb(45,45,45)
2025-01-01 21:38:24,639 DEBUG    Foreground color: rgb(255,255,255)
2025-01-01 21:38:24,639 DEBUG    Add mathjax code: False
2025-01-01 21:38:24,642 ERROR    Invalid markup:
Sorry! Txt2tags aborted by an unknown error.
Please send the following Error Traceback to the author
(jendrikse...@gmail.com):

Traceback (most recent call last):
  File "/usr/bin/rednotebook", line 6, in <module>
    import journal
ModuleNotFoundError: No module named 'journal'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/rednotebook/rednotebook/util/markup.py", line 416, in
convert
    headers = txt2tags.doHeader(headers, config)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/rednotebook/rednotebook/external/txt2tags.py", line 4034, in
doHeader
    template = HEADER_TEMPLATE[target].split("\n")
               ~~~~~~~~~~~~~~~^^^^^^^^
KeyError: 'xhtml'

Thank you a lot for your work!!
Benjamin

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.6-amd64 (SMP w/14 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages rednotebook depends on:
ii  gir1.2-gdkpixbuf-2.0                  2.42.12+dfsg-1+b1
pn  gir1.2-gio-2.0                        <none>
ii  gir1.2-girepository-2.0               1.82.0-3
ii  gir1.2-glib-2.0 [gir1.2-gobject-2.0]  2.82.4-1
ii  gir1.2-gtk-3.0 [gir1.2-gdk-3.0]       3.24.43-4
ii  gir1.2-gtksource-4                    4.8.4-5+b3
ii  gir1.2-pango-1.0                      1.55.0+ds-3
ii  gir1.2-webkit2-4.1                    2.46.5-1+b1
ii  python3                               3.12.8-1
ii  python3-gi                            3.50.0-3+b1
ii  python3-yaml                          6.0.2-1+b1

Versions of packages rednotebook recommends:
ii  python3-enchant  3.2.2-1

rednotebook suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: rednotebook
Source-Version: 2.37+ds-3
Done: Phil Wyett <philip.wy...@kathenas.org>

We believe that the bug you reported is fixed in the latest version of
rednotebook, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1091...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Phil Wyett <philip.wy...@kathenas.org> (supplier of updated rednotebook package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 03 Jan 2025 10:12:00 +0000
Source: rednotebook
Architecture: source
Version: 2.37+ds-3
Distribution: unstable
Urgency: medium
Maintainer: Phil Wyett <philip.wy...@kathenas.org>
Changed-By: Phil Wyett <philip.wy...@kathenas.org>
Closes: 1091872
Changes:
 rednotebook (2.37+ds-3) unstable; urgency=medium
 .
   * Fix txt2tags errors. (Closes: #1091872)
   * Rework patches.
Checksums-Sha1:
 88a6e875663c2352e24250d1013fc43802d25311 1921 rednotebook_2.37+ds-3.dsc
 dec82bf92123793a8717445cb31cdd31dcf33349 91924 
rednotebook_2.37+ds-3.debian.tar.xz
 f0af7a560519f3ab9f9f1d36ef79a2cce844fb1a 7017 
rednotebook_2.37+ds-3_amd64.buildinfo
Checksums-Sha256:
 4bb25826cf40c2bb37fc5cdcb80f4cf2695657e049ec58d8be8b47185baa96e7 1921 
rednotebook_2.37+ds-3.dsc
 d4078a12365c5942c3f4445ec5b39e73ebc78b59da4b96573f4b84662eae589c 91924 
rednotebook_2.37+ds-3.debian.tar.xz
 40002f74efbe4b146da6451ad31f35c80661179ae5649a6195ed3f73ef4289e4 7017 
rednotebook_2.37+ds-3_amd64.buildinfo
Files:
 59210b000780bde79bc35e18661de003 1921 text optional rednotebook_2.37+ds-3.dsc
 59b75e93064983815cc30d714a37d875 91924 text optional 
rednotebook_2.37+ds-3.debian.tar.xz
 71ae395312b186ef364c865c601cb910 7017 text optional 
rednotebook_2.37+ds-3_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEcKCsRax3nv6E9jrtckqptS8CTIsFAmd3w8AACgkQckqptS8C
TIsxGg/+P7I/pYs3lpA3HgEse42vEXsrD5eT/SP9XLQZVXOrb1kS2KD46qpXu9UY
2tqhfqm9yrzdyKG71Y/E5BcsPb62b4sx5pPMTKhp9LZAWpVZ82HN0+OyXDcOZKGg
68KDw1sv6KknmAAdUdDlyjmnjk6gGX4ylyki9LIJV5rlj1uT15CKZuvSWq04BSQr
u6TWqGVQMzIFIeS6fSfDUzjfwQvvCH4+g4fe8Anl5qf8Ie8moz56xSODGXeFo+G5
2XlwXsqvty4rWiGyJoae4BuyQhhyaEJ2hRrsbRYKaq9s8XB0wMk8tgJ5+GXXi07B
TjoiF9ixxzrUOj/IK7PDFUhrTGBpYbsonxOmsbka+x9Z5nRh9xpk/nTRqTnhZikZ
3cmshcekX/3/qWLI4gwuvFupvgpx4xzt5Tijr/pstUodMuLPkXMhfPn51cf0iYZ9
uWdNcg8R6PFX6KN8CWhywFiT5kqdlFPA0yfd/ycF7Fg4MD7afY2CypLio8W6lE5T
tp+Q/jUUyPLEXVicNupkZStOtJx2SoXA02ucsO0jNjVxeBJXSW0vztFR6HG8JAqj
5yavRijRF3/GmB6xTrCLTXWS+MiZAE0EHXK0aadrVf7Y2iLapnK9yfFY8T/597rw
YgVoAwXmHNOrKoa5gu/NTZ+cHm0xfjn2Gae3qbE3jYXoryfFuU8=
=eo2r
-----END PGP SIGNATURE-----

Attachment: pgp5pbrvQw0m9.pgp
Description: PGP signature


--- End Message ---

Reply via email to