Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1196766

Bug#1070713: how-can-i-help: undefined local variable or method autorm_header_done

From Nicolas Noirbent <nicolas@noirbent.fr>
Newsgroups linux.debian.bugs.dist
Subject Bug#1070713: how-can-i-help: undefined local variable or method autorm_header_done
Date 2024-05-07 19:40 +0200
Message-ID <IBwXf-bKC7-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[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

Back to linux.debian.bugs.dist | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

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

csiph-web