Your message dated Sun, 25 Oct 2026 01:07:38 -0400
with message-id <E1xKqSI-0000000BrNJ-3nTm@zion>
and subject line Re: Bug#579324: reportbug: doesn't cope with tr_TR locales
has caused the Debian Bug report #579324,
regarding reportbug: doesn't cope with tr_TR locales
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
579324: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=579324
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: reportbug
Version: 4.12.1
Severity: normal

When I try to run reportbug in my current locale (tr_TR.UTF-8) it's
not starting. It's giving these error:

$ reportbug 
Traceback (most recent call last):
  File "/usr/bin/reportbug", line 47, in <module>
    from reportbug.utils import (
ImportError: cannot import name MODE_NOVICE


-- Package-specific info:
** Environment settings:
VISUAL="vi"
INTERFACE="text"

** /home/onur/.reportbugrc:
reportbug_version "4.12.1"
mode standard
ui text
realname "Onur Aslan"
email "[email protected]"
no-check-uid
no-cc
header "X-Debbugs-CC: [email protected]"
smtphost reportbug.debian.org

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.32-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages reportbug depends on:
ii  apt                           0.7.25.3   Advanced front-end for dpkg
ii  python                        2.5.4-9    An interactive high-level object-o
ii  python-reportbug              4.12.1     Python modules for interacting wit

reportbug recommends no packages.

Versions of packages reportbug suggests:
pn  debconf-utils        <none>              (no description available)
pn  debsums              <none>              (no description available)
pn  dlocate              <none>              (no description available)
pn  emacs22-bin-common | <none>              (no description available)
ii  file                 5.04-2              Determines file type using "magic"
ii  gnupg                1.4.10-3            GNU privacy guard - a free PGP rep
pn  postfix | exim4 | ma <none>              (no description available)
ii  python-gtk2          2.17.0-2            Python bindings for the GTK+ widge
pn  python-gtkspell      <none>              (no description available)
pn  python-urwid         <none>              (no description available)
ii  python-vte           1:0.24.0-3          Python bindings for the VTE widget
ii  xdg-utils            1.0.2+cvs20100307-1 desktop integration utilities from

-- no debconf information



--- End Message ---
--- Begin Message ---
Version: 7.0.0

Hi,

this was caused by Python 2's locale-dependent str.upper(), which turned
"novice" into "NOViCE" when generating the MODE_* names under tr_TR.
reportbug was ported to Python 3 in 7.0.0, where str.upper() no longer
depends on the locale, and today the modes are a plain enum.

I tested the current version (13.2.0+nmu1) under LC_ALL=tr_TR.UTF-8:
it starts and generates a report normally, so I'm closing this bug.
Please reopen it if you still see problems with a current reportbug.

Regards,
Sandro

--- End Message ---

Reply via email to