Your message dated Tue, 21 Feb 2023 14:34:24 +0000
with message-id <e1putiq-006yzi...@fasolo.debian.org>
and subject line Bug#1031660: fixed in fava 1.23.1+dfsg-1
has caused the Debian Bug report #1031660,
regarding /usr/bin/fava: Internal Server Error 
(jinja2.exceptions.TemplateNotFound: _layout.html)
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.)


-- 
1031660: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1031660
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: python3-fava
Version: 1.23.1-1
Severity: grave
File: /usr/bin/fava
Justification: renders package unusable


Running fava on my beancount file and then visiting the localhost URL
generates an immediate HTTP 500 Internal Server Error and outputs the
following Python backtrace:

Starting Fava on http://127.0.0.1:5000
Exception on /travis-wrightsman/income_statement/ [GET]
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/flask/app.py", line 2525, in wsgi_app
    response = self.full_dispatch_request()
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/flask/app.py", line 1822, in 
full_dispatch_request
    rv = self.handle_user_exception(e)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/flask/app.py", line 1820, in 
full_dispatch_request
    rv = self.dispatch_request()
         ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/flask/app.py", line 1796, in 
dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/fava/application.py", line 349, in report
    return render_template("_layout.html", active_page=report_name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/flask/templating.py", line 146, in 
render_template
    template = app.jinja_env.get_or_select_template(template_name_or_list)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1068, in 
get_or_select_template
    return self.get_template(template_name_or_list, parent, globals)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 997, in 
get_template
    return self._load_template(name, globals)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 958, in 
_load_template
    template = self.loader.load(self, name, self.make_globals(globals))
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/jinja2/loaders.py", line 125, in load
    source, filename, uptodate = self.get_source(environment, name)
                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/flask/templating.py", line 62, in 
get_source
    return self._get_source_fast(environment, template)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/flask/templating.py", line 98, in 
_get_source_fast
    raise TemplateNotFound(template)
jinja2.exceptions.TemplateNotFound: _layout.html


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

Kernel: Linux 6.1.0-3-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-fava depends on:
ii  python3              3.11.1-3
ii  python3-babel        2.10.3-1
ii  python3-beancount    2.3.5-2+b1
ii  python3-cheroot      9.0.0+ds1-2
ii  python3-click        8.1.3-2
ii  python3-flask        2.2.2-2
ii  python3-flask-babel  2.0.0-3
ii  python3-jinja2       3.0.3-2
ii  python3-markdown2    2.4.1-1
ii  python3-ply          3.11-5
ii  python3-simplejson   3.18.3-1
ii  python3-werkzeug     2.2.2-2

python3-fava recommends no packages.

python3-fava suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: fava
Source-Version: 1.23.1+dfsg-1
Done: Bastian Germann <b...@debian.org>

We believe that the bug you reported is fixed in the latest version of
fava, 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 1031...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bastian Germann <b...@debian.org> (supplier of updated fava 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: Tue, 21 Feb 2023 15:15:34 +0100
Source: fava
Architecture: source
Version: 1.23.1+dfsg-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Bastian Germann <b...@debian.org>
Closes: 1031660
Changes:
 fava (1.23.1+dfsg-1) unstable; urgency=medium
 .
   * Team upload
   * Replace bad patches with good package workarounds
   * Revert "use github as source" (Closes: #1031660)
   * Replace CI config with central one
   * Revert "Remove notions of removed src/fava/static/app.js"
   * d/copyright: Correct license names
   * Repack the source to get rid of .mo files
   * New upstream version 1.23.1+dfsg
Checksums-Sha1:
 c6ed0d9ee173b4f12923424df6061f2eb67439ba 2150 fava_1.23.1+dfsg-1.dsc
 05b1e80d4bcb722413c2c4d9d9a572b06ddfa66f 1746528 fava_1.23.1+dfsg.orig.tar.xz
 b8bcf712fe65da89eb326e3c4ca0ca5df996ca90 4612 fava_1.23.1+dfsg-1.debian.tar.xz
 3186ce71f2e27cb6882925e17e2cca082c010490 8599 
fava_1.23.1+dfsg-1_source.buildinfo
Checksums-Sha256:
 bc0c383a4e863644ea8656e7824f9881253b2aea3b3437eb20bf74829bb2cf7b 2150 
fava_1.23.1+dfsg-1.dsc
 c494b4c079996eac98d426643cd80ee3aa39d7c1c5f8140a41d6bcfbf1523abc 1746528 
fava_1.23.1+dfsg.orig.tar.xz
 b67707b4f585d27992424a3a77db2cf90f8bf3e13e68c553ea6d326c73a70095 4612 
fava_1.23.1+dfsg-1.debian.tar.xz
 58fcae3c25e4755dabf09c59b6e17d28ea27b3d04c00a7a475d1338161c76d2a 8599 
fava_1.23.1+dfsg-1_source.buildinfo
Files:
 7d31b958903bed2e49bb226ed8dfff28 2150 python optional fava_1.23.1+dfsg-1.dsc
 e17a563f509c750bb70e14b6d96fc01b 1746528 python optional 
fava_1.23.1+dfsg.orig.tar.xz
 45f2a490138be7f34e7df537844b7d55 4612 python optional 
fava_1.23.1+dfsg-1.debian.tar.xz
 f65fe372198b4ca6f580ddc252a03fc2 8599 python optional 
fava_1.23.1+dfsg-1_source.buildinfo

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

iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmP00wcQHGJhZ2VAZGVi
aWFuLm9yZwAKCRAfXHqLRVZDFDP3DADap+9QbvRhgdtG/ADXUB34qSabodkdttJH
67f2WwOb8cJTF1S9wjEQSCyOpDbQX4WuQH692Ep6AoiKh+TQLrPgZuSqNUfDUcyN
CY9TBRO2ZAJw8FcYyHzAAhfcnfgqVwXLDOMDTXaJFctWJ+poePVui0GbyP2QqnFg
9KPDlLZnPPnl2omAqmEqZcbGdr4ucp1D0CD3f1SN8OA9A/Sf2I/0CAMzSXV+0Dgm
v8F5q1oxouyPBqUBrtssxH06o+dj7lTs1GSXiGPIAmRE7GXKECXrz0sLtnriZsG8
pX9QDvbdG2JpFLutR6KYqpy8fzgWpKG/BXTUP3mOmNm+RGNlb7ij313v5gU4+h+9
ziP+D6itGgVy/hrYkINHuQKX7LB7i+ISPs0bqQAPeQFgzLNkwU3Lnl+5NAS2QKsz
hERDaR88/dD+kBWe31aDbiX7JrwOqWrGxXr3mTKy0BB/OFpixSATko04NVIFb8Lk
BpeMIL/nQCSJqyU3vk/p3hxxI0u3fgk=
=yvhS
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to