Bug#1067444: FileNotFoundError: [Errno 2] ... /usr/lib/python3/dist-packages/bugwarrior/docs/configuration.rst
Control: severity -1 normal Hi Andreas, * Andreas Beckmann [2024-03-24 10:23]: On Thu, 21 Mar 2024 18:39:00 +0100 Jochen Sprickerhof wrote: dpkg -S configuration.rst bugwarrior: /usr/share/doc/bugwarrior/html/_sources/common_configuration.rst.txt bugwarrior: /usr/share/doc/bugwarrior/html/_sources/configuration.rst.txt The second one is the same file. I will push new version with a fixed path. Does the package work with /usr/share/doc excluded from installation? https://www.debian.org/doc/debian-policy/ch-docs.html#additional-documentation. "Packages must not require the existence of any files in /usr/share/doc/ in order to function. [6] Any files that are used or read by programs but are also useful as stand alone documentation should be installed elsewhere, such as under /usr/share/package/, and then included via symbolic links in /usr/share/doc/package." It works fine. The only missing bit is printing an example configuration if the config is wrong, which I think is not RC and fine if the documentation is not installed. Thus downgrading the bug. Cheers Jochen signature.asc Description: PGP signature
Bug#1067444: FileNotFoundError: [Errno 2] ... /usr/lib/python3/dist-packages/bugwarrior/docs/configuration.rst
On Thu, 21 Mar 2024 18:39:00 +0100 Jochen Sprickerhof wrote: dpkg -S configuration.rst bugwarrior: /usr/share/doc/bugwarrior/html/_sources/common_configuration.rst.txt bugwarrior: /usr/share/doc/bugwarrior/html/_sources/configuration.rst.txt The second one is the same file. I will push new version with a fixed path. Does the package work with /usr/share/doc excluded from installation? https://www.debian.org/doc/debian-policy/ch-docs.html#additional-documentation. "Packages must not require the existence of any files in /usr/share/doc/ in order to function. [6] Any files that are used or read by programs but are also useful as stand alone documentation should be installed elsewhere, such as under /usr/share/package/, and then included via symbolic links in /usr/share/doc/package." Andreas
Bug#1067444: FileNotFoundError: [Errno 2] ... /usr/lib/python3/dist-packages/bugwarrior/docs/configuration.rst
Hi Tj, * Tj [2024-03-21 16:08]: Severity: grave Justification: renders package unusable I disagree here. Any reason why you did it? With a fresh install and manually creating the user's configuration file I hit this error. The path reported seems to indicate the package is not shipping the file mentioned. I tried moving the user config directory and saw the error caused by it being missing, put it back, and hit this package config file issue agian. $ bugwarrior-pull CRITICAL:bugwarrior.command:Could not load configuration. Maybe you have not created a configuration file. FileNotFoundError: [Errno 2] No such file or directory: '/home/tj/.config/bugwarrior/bugwarriorrc' $ mv ~/.config/bugwarrior{.bak,} $ bugwarrior-pull CRITICAL:bugwarrior.command:Could not load configuration. Maybe you have not created a configuration file. FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/bugwarrior/docs/configuration.rst' $ cat ~/.config/bugwarrior/bugwarriorrc [general] targets = debianbts my_github Delete my_github here, as you don't have a section on it. [debianbts] service = bts bts.email = deb...@iam.tj Add bts.udd = True to get your bugs ;). $ dpkg -S docs/configuration.rst dpkg-query: no path found matching pattern *docs/configuration.rst* $ apt-file search docs/configuration.rst $ dpkg -S configuration.rst bugwarrior: /usr/share/doc/bugwarrior/html/_sources/common_configuration.rst.txt bugwarrior: /usr/share/doc/bugwarrior/html/_sources/configuration.rst.txt The second one is the same file. I will push new version with a fixed path. Cheers Jochen signature.asc Description: PGP signature
Bug#1067444: FileNotFoundError: [Errno 2] ... /usr/lib/python3/dist-packages/bugwarrior/docs/configuration.rst
Package: bugwarrior Version: 1.8.0-7 Severity: grave Justification: renders package unusable Dear Maintainer, With a fresh install and manually creating the user's configuration file I hit this error. The path reported seems to indicate the package is not shipping the file mentioned. I tried moving the user config directory and saw the error caused by it being missing, put it back, and hit this package config file issue agian. $ bugwarrior-pull CRITICAL:bugwarrior.command:Could not load configuration. Maybe you have not created a configuration file. FileNotFoundError: [Errno 2] No such file or directory: '/home/tj/.config/bugwarrior/bugwarriorrc' $ mv ~/.config/bugwarrior{.bak,} $ bugwarrior-pull CRITICAL:bugwarrior.command:Could not load configuration. Maybe you have not created a configuration file. FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/bugwarrior/docs/configuration.rst' $ cat ~/.config/bugwarrior/bugwarriorrc [general] targets = debianbts my_github [debianbts] service = bts bts.email = deb...@iam.tj $ dpkg -S docs/configuration.rst dpkg-query: no path found matching pattern *docs/configuration.rst* $ apt-file search docs/configuration.rst $ -- System Information: Debian Release: 12.5 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security-debug'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'proposed-updates-debug'), (500, 'stable'), (100, 'proposed-updates') Architecture: amd64 (x86_64) Foreign Architectures: i386 Versions of packages bugwarrior depends on: ii libjs-sphinxdoc5.3.0-4 ii python33.11.2-1+b1 ii python3-click 8.1.3-2 ii python3-dateutil 2.8.2-2 ii python3-dogpile.cache 1.1.8-2 ii python3-future 0.18.2-6 ii python3-jinja2 3.1.2-1 ii python3-lockfile 1:0.12.2-2.2 ii python3-requests 2.28.1+dfsg-1 ii python3-six1.16.0-4 ii python3-taskw 2.0.0-1 ii python3-tz 2022.7.1-4 Versions of packages bugwarrior recommends: ii python3-google-auth-oauthlib 0.4.2-1 ii python3-googleapi 1.7.12-1 ii python3-jira 3.4.1-1 ii python3-keyring 23.9.3-2 ii python3-phabricator 0.7.0-1.1 ii python3-pypandoc 1.7.4+ds0-2 bugwarrior suggests no packages. -- no debconf information