Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1196766 > unrolled thread
| Started by | Nicolas Noirbent <nicolas@noirbent.fr> |
|---|---|
| First post | 2024-05-07 19:40 +0200 |
| Last post | 2024-05-10 16:30 +0200 |
| Articles | 3 — 3 participants |
Back to article view | Back to linux.debian.bugs.dist
Bug#1070713: how-can-i-help: undefined local variable or method autorm_header_done Nicolas Noirbent <nicolas@noirbent.fr> - 2024-05-07 19:40 +0200
Bug#1070713: how-can-i-help: undefined local variable or method autorm_header_done Diederik de Haas <didi.debian@cknow.org> - 2024-05-10 12:40 +0200
Bug#1070713: how-can-i-help: undefined local variable or method autorm_header_done Vincent Lefevre <vincent@vinc17.net> - 2024-05-10 16:30 +0200
| From | Nicolas Noirbent <nicolas@noirbent.fr> |
|---|---|
| Date | 2024-05-07 19:40 +0200 |
| Subject | Bug#1070713: how-can-i-help: undefined local variable or method autorm_header_done |
| Message-ID | <IBwXf-bKC7-3@gated-at.bofh.it> |
[Multipart message — attachments visible in raw view] — view raw
Package: how-can-i-help
Version: 18
Severity: important
Tags: patch
Dear Maintainer,
Running how-can-i-help outputs nothing past the initial banner, due to an undefined variable:
```
# how-can-i-help
====== How can you help? (doc: https://wiki.debian.org/how-can-i-help ) ======
/usr/bin/how-can-i-help:338:in `<main>': undefined local variable or method `autorm_header_done' for main:Object (NameError)
autorm_header_done == 0
^^^^^^^^^^^^^^^^^^
Did you mean? autorm_date
```
Looking at the code following it, this should probably be:
```
autorm_header_done = 0
```
Instead.
Regards,
-- System Information:
Debian Release: trixie/sid
APT prefers stable-security
APT policy: (500, 'stable-security'), (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.7.12-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=en_US
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages how-can-i-help depends on:
ii libruby3.1t64 [ruby-json] 3.1.2-8.3
ii ruby 1:3.1+nmu1
ii ruby-debian 0.3.10+b10
ii ruby-json 2.7.2+dfsg-1
how-can-i-help recommends no packages.
how-can-i-help suggests no packages.
-- no debconf information
[toc] | [next] | [standalone]
| From | Diederik de Haas <didi.debian@cknow.org> |
|---|---|
| Date | 2024-05-10 12:40 +0200 |
| Message-ID | <ICvPs-cmX6-15@gated-at.bofh.it> |
| In reply to | #1196766 |
[Multipart message — attachments visible in raw view] — view raw
Control: severity -1 grave On 07 May 2024 19:35:30 +0200 Nicolas Noirbent <nicolas@noirbent.fr> wrote: > Package: how-can-i-help > Version: 18 > Severity: important > Tags: patch > > Running how-can-i-help outputs nothing past the initial banner, due to an > undefined variable: Which makes the package unusable, so upgrading severity accordingly > ``` > /usr/bin/how-can-i-help:338:in `<main>': undefined local variable or method `autorm_header_done' for main:Object (NameError) > > autorm_header_done == 0 > ^^^^^^^^^^^^^^^^^^ > Did you mean? autorm_date > ``` Can confirm that error message > Looking at the code following it, this should probably be: > > ``` > autorm_header_done = 0 > ``` Can confirm that that made it work (properly) again. Thanks!
[toc] | [prev] | [next] | [standalone]
| From | Vincent Lefevre <vincent@vinc17.net> |
|---|---|
| Date | 2024-05-10 16:30 +0200 |
| Message-ID | <ICzq2-cpez-7@gated-at.bofh.it> |
| In reply to | #1197008 |
On 2024-05-10 12:20:43 +0200, Diederik de Haas wrote:
> Control: severity -1 grave
>
> On 07 May 2024 19:35:30 +0200 Nicolas Noirbent <nicolas@noirbent.fr> wrote:
> > Package: how-can-i-help
> > Version: 18
> > Severity: important
> > Tags: patch
> >
> > Running how-can-i-help outputs nothing past the initial banner, due to an
> > undefined variable:
>
> Which makes the package unusable, so upgrading severity accordingly
More or less. I got the error after a bug listed at
"New bugs where assistance is requested":
New bugs where assistance is requested (tagged 'help'):
- libglib2.0-dev - https://bugs.debian.org/1070773 - libglib2.0-dev:i386 on amd64 should not require qemu-user
/usr/bin/how-can-i-help:338:in `<main>': undefined local variable or method `autorm_header_done' for main:Object (NameError)
autorm_header_done == 0
^^^^^^^^^^^^^^^^^^
Did you mean? autorm_date
BTW, I hadn't got any error after 6 upgrades (not involving ruby) with
how-can-i-help 18, but now I get an error. It should probably have a
testsuite to be able to trigger issues under various conditions.
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.bugs.dist
csiph-web