Bug 1284510 - [abrt] gnome-abrt: gettext.py:141:_expand_lang:TypeError: must be str, not None
[abrt] gnome-abrt: gettext.py:141:_expand_lang:TypeError: must be str, not None
Product: Fedora
Classification: Fedora
Component: gnome-abrt (Show other bugs)
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Jakub Filak
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2015-11-23 09:02 EST by Allan Poulsen
Modified: 2016-12-20 11:12 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2016-12-20 11:12:00 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
File: backtrace (1.59 KB, text/plain)
2015-11-23 09:02 EST, Allan Poulsen
no flags Details
File: environ (2.49 KB, text/plain)
2015-11-23 09:02 EST, Allan Poulsen
no flags Details

  None (edit)
Description Allan Poulsen 2015-11-23 09:02:36 EST
Version-Release number of selected component:

Additional info:
reporter:       libreport-2.6.3
cmdline:        /usr/bin/python3 /bin/gnome-abrt
executable:     /bin/gnome-abrt
kernel:         4.2.6-300.fc23.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
gettext.py:141:_expand_lang:TypeError: must be str, not None

Traceback (most recent call last):
  File "/usr/lib64/python3.4/site-packages/gnome_abrt/views.py", line 524, in _on_source_btn_clicked
    res, old_source = self._switch_source(btn.source)
  File "/usr/lib64/python3.4/site-packages/gnome_abrt/views.py", line 546, in _switch_source
  File "/usr/lib64/python3.4/site-packages/gnome_abrt/views.py", line 683, in _reload_problems
  File "/usr/lib64/python3.4/site-packages/gnome_abrt/views.py", line 140, in problem_to_storage_values
  File "/usr/lib64/python3.4/site-packages/gnome_abrt/tools.py", line 47, in fancydate
    return _('Yesterday')
  File "/usr/lib64/python3.4/gettext.py", line 498, in gettext
    return dgettext(_current_domain, message)
  File "/usr/lib64/python3.4/gettext.py", line 462, in dgettext
  File "/usr/lib64/python3.4/gettext.py", line 397, in translation
    mofiles = find(domain, localedir, languages, all=True)
  File "/usr/lib64/python3.4/gettext.py", line 369, in find
    for nelang in _expand_lang(lang):
  File "/usr/lib64/python3.4/gettext.py", line 141, in _expand_lang
    for i in range(mask+1):
TypeError: must be str, not None

Local variables in innermost frame:
territory: '_DK'
language: 'da'
modifier: ''
val: 'da_DK.ISO8859-1'
codeset: '.ISO8859-1'
i: 3
mask: 3
pos: 2
ret: ['da', 'da.ISO8859-1', 'da_DK', 'da_DK.ISO8859-1']
loc: 'da'
Comment 1 Allan Poulsen 2015-11-23 09:02:40 EST
Created attachment 1097655 [details]
File: backtrace
Comment 2 Allan Poulsen 2015-11-23 09:02:42 EST
Created attachment 1097656 [details]
File: environ
Comment 3 Fedora End Of Life 2016-11-24 08:39:45 EST
This message is a reminder that Fedora 23 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 23. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '23'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 23 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.
Comment 4 Fedora End Of Life 2016-12-20 11:12:00 EST
Fedora 23 changed to end-of-life (EOL) status on 2016-12-20. Fedora 23 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this

Thank you for reporting this bug and we are sorry it could not be fixed.

Note You need to log in before you can comment on or make changes to this bug.