Debian Bug report logs - #787471
how-can-i-help: does not start if ~/.cache/how-can-i-help/how-can-i-help.json.gz doesn't exist

version graph

Package: how-can-i-help; Maintainer for how-can-i-help is Tomasz Nitecki <tnnn@tnnn.pl>; Source for how-can-i-help is src:how-can-i-help (PTS, buildd, popcon).

Reported by: Stephen Kitt <skitt@debian.org>

Date: Mon, 1 Jun 2015 21:09:02 UTC

Severity: grave

Tags: patch

Found in version how-can-i-help/10

Fixed in versions how-can-i-help/11, how-can-i-help/10+deb8u1

Done: Tomasz Nitecki <tnnn@tnnn.pl>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Tomasz Nitecki <tnnn@tnnn.pl>:
Bug#787471; Package how-can-i-help. (Mon, 01 Jun 2015 21:09:05 GMT) (full text, mbox, link).


Acknowledgement sent to Stephen Kitt <skitt@debian.org>:
New Bug report received and forwarded. Copy sent to Tomasz Nitecki <tnnn@tnnn.pl>. (Mon, 01 Jun 2015 21:09:05 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Stephen Kitt <skitt@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: how-can-i-help: does not start if ~/.cache/how-can-i-help/how-can-i-help.json.gz doesn't exist
Date: Mon, 01 Jun 2015 23:06:01 +0200
Package: how-can-i-help
Version: 10
Severity: grave
Justification: renders package unusable

Dear Maintainer,

People running how-can-i-help for the first time are greeted with the
following:

/usr/bin/how-can-i-help:135:in `open': No such file or directory @ rb_sysopen - /home/steve/.cache/how-can-i-help/how-can-i-help.json.gz (Errno::ENOENT)
	from /usr/bin/how-can-i-help:135:in `<main>'

Given the target audience it's rather unfortunate :-(.

Regards,

Stephen


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (200, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages how-can-i-help depends on:
ii  ruby         1:2.1.5+z
ii  ruby-debian  0.3.9
ii  ruby-json    1.8.2-1

how-can-i-help recommends no packages.

how-can-i-help suggests no packages.

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, Tomasz Nitecki <tnnn@tnnn.pl>:
Bug#787471; Package how-can-i-help. (Mon, 01 Jun 2015 21:21:06 GMT) (full text, mbox, link).


Acknowledgement sent to Stephen Kitt <skitt@debian.org>:
Extra info received and forwarded to list. Copy sent to Tomasz Nitecki <tnnn@tnnn.pl>. (Mon, 01 Jun 2015 21:21:06 GMT) (full text, mbox, link).


Message #10 received at 787471@bugs.debian.org (full text, mbox, reply):

From: Stephen Kitt <skitt@debian.org>
To: 787471@bugs.debian.org
Subject: Re: how-can-i-help: does not start if ~/.cache/how-can-i-help/how-can-i-help.json.gz doesn't exist
Date: Mon, 1 Jun 2015 23:20:23 +0200
[Message part 1 (text/plain, inline)]
On Mon, 01 Jun 2015 23:06:01 +0200, Stephen Kitt <skitt@debian.org> wrote:
> People running how-can-i-help for the first time are greeted with the
> following:
> 
> /usr/bin/how-can-i-help:135:in `open': No such file or directory @
> rb_sysopen - /home/steve/.cache/how-can-i-help/how-can-i-help.json.gz
> (Errno::ENOENT) from /usr/bin/how-can-i-help:135:in `<main>'

For anyone else running across this, the following allows how-can-i-help to
work:

mkdir ~/.cache/how-can-i-help
cd $_
wget http://udd.debian.org/how-can-i-help.json.gz

Regards,

Stephen
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Tomasz Nitecki <tnnn@tnnn.pl>:
Bug#787471; Package how-can-i-help. (Mon, 01 Jun 2015 21:42:03 GMT) (full text, mbox, link).


Acknowledgement sent to Stephen Kitt <skitt@debian.org>:
Extra info received and forwarded to list. Copy sent to Tomasz Nitecki <tnnn@tnnn.pl>. (Mon, 01 Jun 2015 21:42:03 GMT) (full text, mbox, link).


Message #15 received at 787471@bugs.debian.org (full text, mbox, reply):

From: Stephen Kitt <skitt@debian.org>
To: 787471@bugs.debian.org
Subject: Re: how-can-i-help: does not start if ~/.cache/how-can-i-help/how-can-i-help.json.gz doesn't exist
Date: Mon, 1 Jun 2015 23:39:39 +0200
[Message part 1 (text/plain, inline)]
Control: tag -1 + patch

On Mon, 1 Jun 2015 23:20:23 +0200, Stephen Kitt <skitt@debian.org> wrote:
> On Mon, 01 Jun 2015 23:06:01 +0200, Stephen Kitt <skitt@debian.org> wrote:
> > People running how-can-i-help for the first time are greeted with the
> > following:
> > 
> > /usr/bin/how-can-i-help:135:in `open': No such file or directory @
> > rb_sysopen - /home/steve/.cache/how-can-i-help/how-can-i-help.json.gz
> > (Errno::ENOENT) from /usr/bin/how-can-i-help:135:in `<main>'
> 
> For anyone else running across this, the following allows how-can-i-help to
> work:
> 
> mkdir ~/.cache/how-can-i-help
> cd $_
> wget http://udd.debian.org/how-can-i-help.json.gz

And the real fix is as follows (courtesy of Gilles on unix.stackexchange.com):

--- /usr/bin/how-can-i-help	2015-06-01 23:38:29.495098189 +0200
+++ /tmp/how-can-i-help	2015-06-01 23:39:07.551976071 +0200
@@ -41,7 +41,7 @@
   exit(0)
 end
 
-HELPITEMS_URL = 'http://udd.debian.org/how-can-i-help.json.gz'
+HELPITEMS_URL = 'https://udd.debian.org/how-can-i-help.json.gz'
 CACHEDIR = "#{HOME}/.cache/how-can-i-help"
 CONFIGDIR = "#{HOME}/.config/how-can-i-help"
 SEEN_LOCAL = "#{CACHEDIR}/seen.json"
@@ -120,6 +120,7 @@
 proxy_user, proxy_pass = proxy_uri.userinfo.split(/:/) if proxy_uri.userinfo
 http_object = Net::HTTP.new(uri.host, uri.port, proxy_uri.host, proxy_uri.port,
                      proxy_user, proxy_pass)
+http_object.use_ssl = uri.scheme == 'https'
 # proceeding get_response
 
 begin



Regards,

Stephen
[Message part 2 (application/pgp-signature, inline)]

Added tag(s) patch. Request was from Stephen Kitt <skitt@debian.org> to 787471-submit@bugs.debian.org. (Mon, 01 Jun 2015 21:42:03 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#787471; Package how-can-i-help. (Mon, 01 Jun 2015 22:51:03 GMT) (full text, mbox, link).


Acknowledgement sent to Tomasz Nitecki <tnnn@tnnn.pl>:
Extra info received and forwarded to list. (Mon, 01 Jun 2015 22:51:03 GMT) (full text, mbox, link).


Message #22 received at 787471@bugs.debian.org (full text, mbox, reply):

From: Tomasz Nitecki <tnnn@tnnn.pl>
To: Stephen Kitt <skitt@debian.org>, 787471@bugs.debian.org
Cc: control@bugs.debian.org
Subject: Re: Bug#787471: how-can-i-help: does not start if ~/.cache/how-can-i-help/how-can-i-help.json.gz doesn't exist
Date: Tue, 02 Jun 2015 00:41:10 +0200
[Message part 1 (text/plain, inline)]
tags 787471 + pending
thanks


On 01/06/15 23:39, Stephen Kitt wrote:
>> On Mon, 01 Jun 2015 23:06:01 +0200, Stephen Kitt <skitt@debian.org> wrote:
>>> People running how-can-i-help for the first time are greeted with the
>>> following:
>>>
>>> /usr/bin/how-can-i-help:135:in `open': No such file or directory @
>>> rb_sysopen - /home/steve/.cache/how-can-i-help/how-can-i-help.json.gz
>>> (Errno::ENOENT) from /usr/bin/how-can-i-help:135:in `<main>'
>
> <CUT>
>
> And the real fix is as follows (courtesy of Gilles on unix.stackexchange.com):

Hey,

It appears that all http requests sent to UDD are now redirected to
https (and hcich was unable to handle that). Thanks for your patch, I've
applied it and it works flawlessly. Since this issue will affect all
versions of hcih I will also request stable release version update.


Regards,
T.

[signature.asc (application/pgp-signature, attachment)]

Added tag(s) pending. Request was from Tomasz Nitecki <tnnn@tnnn.pl> to control@bugs.debian.org. (Mon, 01 Jun 2015 22:51:07 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#787471; Package how-can-i-help. (Mon, 01 Jun 2015 23:24:03 GMT) (full text, mbox, link).


Acknowledgement sent to Tomasz Nitecki <tnnn@tnnn.pl>:
Extra info received and forwarded to list. (Mon, 01 Jun 2015 23:24:03 GMT) (full text, mbox, link).


Message #29 received at 787471@bugs.debian.org (full text, mbox, reply):

From: Tomasz Nitecki <tnnn@tnnn.pl>
To: 787471@bugs.debian.org
Subject: Re: Bug#787471: Info received (Bug#787471: how-can-i-help: does not start if ~/.cache/how-can-i-help/how-can-i-help.json.gz doesn't exist)
Date: Tue, 02 Jun 2015 01:21:48 +0200
[Message part 1 (text/plain, inline)]
Stable unblock requested as #787478.

Regards,
T.

[signature.asc (application/pgp-signature, attachment)]

Reply sent to Tomasz Nitecki <tnnn@tnnn.pl>:
You have taken responsibility. (Tue, 02 Jun 2015 13:21:07 GMT) (full text, mbox, link).


Notification sent to Stephen Kitt <skitt@debian.org>:
Bug acknowledged by developer. (Tue, 02 Jun 2015 13:21:07 GMT) (full text, mbox, link).


Message #34 received at 787471-close@bugs.debian.org (full text, mbox, reply):

From: Tomasz Nitecki <tnnn@tnnn.pl>
To: 787471-close@bugs.debian.org
Subject: Bug#787471: fixed in how-can-i-help 11
Date: Tue, 02 Jun 2015 13:19:48 +0000
Source: how-can-i-help
Source-Version: 11

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

Debian distribution maintenance software
pp.
Tomasz Nitecki <tnnn@tnnn.pl> (supplier of updated how-can-i-help 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 02 Jun 2015 00:26:30 +0200
Source: how-can-i-help
Binary: how-can-i-help
Architecture: source all
Version: 11
Distribution: unstable
Urgency: high
Maintainer: Tomasz Nitecki <tnnn@tnnn.pl>
Changed-By: Tomasz Nitecki <tnnn@tnnn.pl>
Description:
 how-can-i-help - show opportunities for contributing to Debian
Closes: 787471
Changes:
 how-can-i-help (11) unstable; urgency=high
 .
   * Allow hcih to download data through https. Closes: #787471
     Patch from Stephen Kitt <skitt@debian.org>
Checksums-Sha1:
 9ee5704d63dfaaa1ca10375588412b6e98b24ab5 1645 how-can-i-help_11.dsc
 087b52fa2a905904f4c010f57514a79c4965d9ba 9048 how-can-i-help_11.tar.xz
 c1ed62deab0593edafbe9b6f7eac56aebbf63321 9986 how-can-i-help_11_all.deb
Checksums-Sha256:
 c76b56d24676b83fe373c21bc5038ea9ae09d8578b22212b7701aba03ce39622 1645 how-can-i-help_11.dsc
 511c04e13686f6d3c40b6d76bf96a5c4ee65f72fea8f8cf66bf873e92fc673a3 9048 how-can-i-help_11.tar.xz
 e19eeee60857aa341109df1a5003d775b73288dd9780a07126c76daffe890dac 9986 how-can-i-help_11_all.deb
Files:
 2b411ef7e054317d9e2070e12a341564 1645 devel optional how-can-i-help_11.dsc
 b79920976cf73bdd1b6e89ae1b2103a7 9048 devel optional how-can-i-help_11.tar.xz
 3adeb2971f402a5cf3ebe2957c362ac0 9986 devel optional how-can-i-help_11_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJVbashAAoJEPwNsbvNRgvefV8P/j3r6+IARV0V3nqSPR5CpgQv
agGjU+qaRDeVJ8m3iMGRNFamoCNNzk+9WVaue7l7g/6/nQ5DxisCbXqC3VRVJo0g
7aLO6WYDDAKB7VYkVHkbBnAYXtCrje9TX4k9aaBodihU7+1DqmyMw+3H/thCs9NT
3C22d73+SHz4ycnuF2u7647coSiqVbmnQkolD9mpcBxD/55M/BWp0SvN+XGNdRjR
RCQZwz+GyPsGSNpYIx7fsyw3vlAyHR9qPQnw+N93ikXYoBQ+qSMGTIzMf5KV4AvG
4b+EJEaVVW4+42u+fNphOkI7AMkCPfc3sSe67tRp/aCVMS9LdakWkadca3zEylh4
o2rLuCGJNCQNnifLUD60WEPXdDANjDR93cUhr5r7boZCzWfDynvxg7y1O0yOO+1v
CrrpVTgjrfkfMmLO1N/n62sDLkLfcTHXpMf8pNfQLvsrmHRP05n/eVKIfw5YDWjk
6YYxXFiYqhUE/1wi0JbDx0TyKwktiyXE2MxdvbZ68admaxWx+fHSdppvOsE6t7cr
YsvyXEgjPxWbOk8K+W4IS+EPnf3oeL7Ofq96H0k9kf/A1T8h5K4mElDlrGZ0cL/U
1wC232+HPYMq54TpkTfuuUPXXrWrPCZ73B/7qvU2uNHYkEdW/YRrnkISlf/c1ciH
d7t2L/d2JGYVAZM8sq2b
=Zu02
-----END PGP SIGNATURE-----




Reply sent to Tomasz Nitecki <tnnn@tnnn.pl>:
You have taken responsibility. (Tue, 25 Aug 2015 18:33:07 GMT) (full text, mbox, link).


Notification sent to Stephen Kitt <skitt@debian.org>:
Bug acknowledged by developer. (Tue, 25 Aug 2015 18:33:08 GMT) (full text, mbox, link).


Message #39 received at 787471-close@bugs.debian.org (full text, mbox, reply):

From: Tomasz Nitecki <tnnn@tnnn.pl>
To: 787471-close@bugs.debian.org
Subject: Bug#787471: fixed in how-can-i-help 10+deb8u1
Date: Tue, 25 Aug 2015 18:32:05 +0000
Source: how-can-i-help
Source-Version: 10+deb8u1

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

Debian distribution maintenance software
pp.
Tomasz Nitecki <tnnn@tnnn.pl> (supplier of updated how-can-i-help 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 ftpmaster@ftp-master.debian.org)


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

Format: 1.8
Date: Tue, 18 Aug 2015 13:33:32 +0200
Source: how-can-i-help
Binary: how-can-i-help
Architecture: source all
Version: 10+deb8u1
Distribution: jessie
Urgency: medium
Maintainer: Tomasz Nitecki <tnnn@tnnn.pl>
Changed-By: Tomasz Nitecki <tnnn@tnnn.pl>
Description:
 how-can-i-help - show opportunities for contributing to Debian
Closes: 787471
Changes:
 how-can-i-help (10+deb8u1) jessie; urgency=medium
 .
   * Change hcih data source from http to https. Since the http is not
     supported by UDD anymore, older hcih versions won't be able to
     work. (Closes: #787471)
     Patch from Stephen Kitt <skitt@debian.org>
   * Added gbp configuration pointing to jessie branch.
Checksums-Sha1:
 2812afd757307e80e9b7900aa6187222b08087c1 1665 how-can-i-help_10+deb8u1.dsc
 c27e01f95e1c5e4c838dd65cf4d2d3b8903396d7 9236 how-can-i-help_10+deb8u1.tar.xz
 760301ee1c9a6a3e9ccc134a93baab177cf51936 10066 how-can-i-help_10+deb8u1_all.deb
Checksums-Sha256:
 4f1d784708f23dc707984fb7c6bbdcee1239fc7959a9494debba0d2baa056d3b 1665 how-can-i-help_10+deb8u1.dsc
 8eef5da3e591548af0d54934ec7f40f117837cf15d9bb30230d7fcedbc255eb3 9236 how-can-i-help_10+deb8u1.tar.xz
 c59f98039423d387df1b880b11e1c263ef5cdc469f567f84fe140c0b63de3bd4 10066 how-can-i-help_10+deb8u1_all.deb
Files:
 65350caf99fa7baa2846702589ebf221 1665 devel optional how-can-i-help_10+deb8u1.dsc
 dc5d3d8e56da325ea5a6fb23321fcc17 9236 devel optional how-can-i-help_10+deb8u1.tar.xz
 7eb55601a469f55195f1014b59c2150f 10066 devel optional how-can-i-help_10+deb8u1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIVAwUBVdd5XzkUtTL0376ZAQovuQ/+OrnyJ5haWy0DmYfXn+rP694H1wTXx147
ZLlGAcB4PAgARuQriRH7r0AZ/5B1kTBcYW3HV5Q/2PDGK7w506g39gTTqZzTmIwh
p9uXSITLpCwLzBb0SE2nlN41GzvILg+en+EQnqV55bgcVxuO9WC3WRq0gvyGbSsD
WB0OaYB6W/dcQ8tZxtNw0zjnkFnqdcjKf9pWmKDSf7AL4vd0YNfYzdQU7gQ2m0jj
BWZ9bj+0dCBMVplfTy8FUGBk/h4beD+92CpMqAuuEMao/nzd0SiqJSraIeWt9e8p
LIdvMnguoBCR5vZ0how27embgdQGWcQiGhO1g3Ci/qgYKZEoy3aeszKSklnegYoK
fHpSPLhRwL4wQNrd7Kko4y3ElB8orpxHllohgmNNKmehXH1ZO3zifa+j02s+l96R
pCA4vFQCPtL564vDzum89HX7JNpjcyKb0ASiSO2B8WudpvvPrfYxsqFcusoIpsFU
ymr7awTfTDBIEkB8Gi5ek6fatSCNkp7OyTFAervqWDUaeE40BuVa7PNEnpnFpQEr
rfji4TRNa3QQWuWegzH1jCv2GHBv6ASpPQXhA6F6OcNQcmMwjJvqT7AFJYR7zO7N
G1hCVMWzPjtwwzw15wDMH/ND/dJ17i8K4dvBjI3pI9MOOppKSaSvkm3ZV+viJ8Sl
jSqSxniFFI8=
=rDhG
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 23 Sep 2015 07:34:36 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Jan 4 23:12:01 2018; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.