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


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

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

From Diederik de Haas <didi.debian@cknow.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1070713: how-can-i-help: undefined local variable or method autorm_header_done
Date 2024-05-10 12:40 +0200
Message-ID <ICvPs-cmX6-15@gated-at.bofh.it> (permalink)
References <IBwXf-bKC7-3@gated-at.bofh.it>
Organization Connecting Knowledge

Show all headers | View raw


[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!

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | 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