Your message dated Sat, 31 Aug 2019 10:04:40 +0000
with message-id <[email protected]>
and subject line Bug#927686: fixed in klaus 1.4.0-1
has caused the Debian Bug report #927686,
regarding python3-klaus: Example configuration for uwsgi has an error
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 [email protected]
immediately.)


-- 
927686: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=927686
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python3-klaus
Version: 1.3.0-2
Severity: normal

Dear Maintainer,

the example configuration file for setting up klaus with uwsgi has an
error. The file /usr/share/doc/klaus/examples/uwsgi.ini contains this:

    # Example klaus configuration that loads a specific set of repositories.
    [uwsgi]
    # [...]
    # Which repositories to load
    env = KLAUS_REPOS=/path/to/git/repo1:/path/to/git/repo2
    # [...]

`KLAUS_REPOS' does not take a colon-separated list of repositories,
but a space-separated list of repositories. Trying a colon-separated
list of repositories gives this exception when starting klaus via
uwsgi:

    Traceback (most recent call last):
      File "/usr/lib/python3/dist-packages/klaus/contrib/wsgi.py", line 11, in 
<module>
        application = make_app(*args, **kwargs)
      File "/usr/lib/python3/dist-packages/klaus/__init__.py", line 124, in 
make_app
        ctags_policy,
      File "/usr/lib/python3/dist-packages/klaus/__init__.py", line 20, in 
__init__
        repo_objs = [FancyRepo(path) for path in repo_paths]
      File "/usr/lib/python3/dist-packages/klaus/__init__.py", line 20, in 
<listcomp>
        repo_objs = [FancyRepo(path) for path in repo_paths]
      File "/usr/lib/python3/dist-packages/dulwich/repo.py", line 872, in 
__init__
        "No git repository was found at %(path)s" % dict(path=root)
    dulwich.errors.NotGitRepository: No git repository was found at 
/path/to/git/repo1:/path/to/git/repo2

I used real repository paths, of course.

Using a space-separated instead of a colon-separated list works, so
the example should be:

    env = KLAUS_REPOS=/path/to/git/repo1 /path/to/git/repo2

1. What led up to the situation?
  - I wanted to install klaus to serve my Git repositories.
2. What exactly did you do?
  - I installed klaus, python3-distutils, uwsgi
  - I configured klaus for uwsgi as shown in the example configuration,
    i.e., with colon-separated pathes.
  - I started uwsgi.
3. What was the outcome of this action?
  - klaus crashed with the above exception.
4. What outcome did you expect instead?
  - klaus not crashing.

Thank you for consideration.

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: armhf (armv7l)

Kernel: Linux 4.19.34-v7+ (SMP w/4 CPU cores)
Kernel taint flags: TAINT_CRAP
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python3-klaus depends on:
ii  python3           3.7.2-1
ii  python3-dulwich   0.19.11-2
ii  python3-flask     1.0.2-3
ii  python3-humanize  0.5.1-3
ii  python3-pygments  2.3.1+dfsg-1
ii  python3-six       1.12.0-1
ii  python3-werkzeug  0.14.1+dfsg1-4

Versions of packages python3-klaus recommends:
ii  python3-chardet   3.0.4-3
ii  python3-docutils  0.14+dfsg-4
ii  python3-markdown  3.0.1-3

Versions of packages python3-klaus suggests:
pn  exuberant-ctags       <none>
ii  uwsgi-plugin-python3  2.0.18-1

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: klaus
Source-Version: 1.4.0-1

We believe that the bug you reported is fixed in the latest version of
klaus, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jelmer Vernooij <[email protected]> (supplier of updated klaus 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 [email protected])


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

Format: 1.8
Date: Sat, 31 Aug 2019 09:47:21 +0000
Source: klaus
Architecture: source
Version: 1.4.0-1
Distribution: unstable
Urgency: medium
Maintainer: Jelmer Vernooij <[email protected]>
Changed-By: Jelmer Vernooij <[email protected]>
Closes: 927685 927686 936801
Changes:
 klaus (1.4.0-1) unstable; urgency=medium
 .
   * Add debian/upstream/metadata.
   * debian/uwsgi.ini: Use : rather than space to separate repository paths in
     example. Closes: #927686
   * Add recommends on python3-distutils, which is necessary for
     the klaus.contrib.wsgi module. Closes: #927685
   * New upstream release.
   * Drop Python 2 support. Closes: #936801
   * Drop unnecessary dependency on build-essential.
   * debian/control: Remove empty control field Build-Depends.
   * Bump debhelper dependency to >= 9, since that's what is used in
     debian/compat.
   * Bump debhelper from old 9 to 12.
   * Use canonical URL in Vcs-Browser.
   * Remove obsolete fields Name from debian/upstream/metadata.
   * Bump standards version to 4.4.0 (no changes).
Checksums-Sha1:
 d141cb9de0313a23f81ba17c4bd5c48aeef3058f 2117 klaus_1.4.0-1.dsc
 d665a70fd7be7a56fd4558789059e0ad5cd5c7ac 36879 klaus_1.4.0.orig.tar.gz
 56cc127cf78a0783573c6515068cff6b454b2d1a 13884 klaus_1.4.0-1.debian.tar.xz
 5942e6805f2b3cb878b856244fffab6f3b519c31 7183 klaus_1.4.0-1_amd64.buildinfo
Checksums-Sha256:
 4f515a3d166a8b013ba52248a2b476055d480100f0374621b54958725321d059 2117 
klaus_1.4.0-1.dsc
 9d10a2f9ef137a9b6d2defa339ff52b2a03ee448251f8a5a9f032f12481e6782 36879 
klaus_1.4.0.orig.tar.gz
 d0dcbcdeb95df191914627e612fef8b7e80186685894ed7e0ea3eaee767d980f 13884 
klaus_1.4.0-1.debian.tar.xz
 f35e7a0281a44514f327b792e1bc4a1533175740e67a00e55e5c461d60672c51 7183 
klaus_1.4.0-1_amd64.buildinfo
Files:
 f6456e2f163a900e46e170376a564dfd 2117 vcs optional klaus_1.4.0-1.dsc
 b2ed795afc3e3ce6bff8828a4b2b414f 36879 vcs optional klaus_1.4.0.orig.tar.gz
 01d5df49b40fa783d6a05f604e74d330 13884 vcs optional klaus_1.4.0-1.debian.tar.xz
 76ed6a18a3af183758c6fb826b24df73 7183 vcs optional 
klaus_1.4.0-1_amd64.buildinfo

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

iQIzBAEBCgAdFiEEsjhixBXWVlpOhsvXV5wWDUyeI+gFAl1qQq4ACgkQV5wWDUye
I+hWsRAAiGWGAMA7hJzLoqKt4YnLsIdMbTTxdGUkMPekO+ZmZYrHF22VFNiANcJM
GGzEQKtVNU0n4C4AvpLOQTlFcckxVrdDcVmTkg4YU5st3EzVaKYPptTNZZg/Rgoy
6W+BG/IRhc6m2GITQcQc/Ys3VqPRPo0wbcnfTMFxf7gaykMqUIE/zcvJhYTe+tQD
dc4OuV0frqMDO7s6flPM03kjfTwpXMnWO2jP5qee8z6MUzTbI0GqwnJ+mlXDbB21
0ARD7YTGede4Lg1hIwQS+sKIyo20ZirOgfY+EyytfiSP2WLNUc7XzeC3gfLrKkVP
rp0YBb0GKXu5Zmkjb6gdQDVpPikqOkw3tw5xx6yHDLdKQryxuLX8q3Ps6YJzBcQr
I+YbdivczM6D2xdIz4/kYLoU3cazF80Rcrk+Wi99sLUY45uULkUfxoTRDKb+84mf
d5ZS7arC7gcE0vB/fvSSu+sI88roAL9FO18LYwNe4eQ3vNaAxIGEssR1ekrvFrxF
4CBz6ur8glxAV7viSjqb2+as9TRYw7tO37VyM9jK1FsHvfXcK4O3MZj77kTV+ncO
7vtWCmZ55/gZuwldyg40mD/WEAnG7ScW63ozn77F7t7ORrCQZ+d6FZ9aBW3FpWn1
67Jfrjk7yzO2cK3zy2jtN4+mT2SpDtqFQb2rvjYLmrNjKbmQsYw=
=WfvJ
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to