[Bug 616767] Re: apport-cli won't start when setting LC_ALL=C

Marcus Tomlinson marcus.tomlinson at canonical.com
Thu Mar 5 12:57:20 UTC 2020


This release of Ubuntu is no longer receiving maintenance updates. If
this is still an issue on a maintained version of Ubuntu please let us
know.

** Changed in: apport (Ubuntu)
       Status: Confirmed => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/616767

Title:
  apport-cli won't start when setting LC_ALL=C

Status in apport package in Ubuntu:
  Incomplete

Bug description:
  Binary package hint: apport

  I was trying to execute apport-cli with the C locale due to an error
  in its translation in my system's locale. When doing that, apport-cli
  crashes with the following traceback:

  $ LC_ALL=C apport-cli -f -p nvidia-glx-185 --crash=/home/dpm/apport/crash.txt 
  Traceback (most recent call last):
    File "/usr/bin/apport-cli", line 414, in <module>
      if not app.run_argv():
    File "/usr/lib/python2.6/dist-packages/apport/ui.py", line 558, in run_argv
      return self.run_report_bug()
    File "/usr/lib/python2.6/dist-packages/apport/ui.py", line 374, in run_report_bug
      self.collect_info(symptom_script)
    File "/usr/lib/python2.6/dist-packages/apport/ui.py", line 756, in collect_info
      self.ui_start_info_collection_progress()
    File "/usr/bin/apport-cli", line 293, in ui_start_info_collection_progress
      self.progress.show()
    File "/usr/bin/apport-cli", line 58, in show
      print self.heading
  UnicodeEncodeError: 'ascii' codec can't encode character u'\xe0' in position 10: ordinal not in range(128)

  It does work when I export LANGUAGE=en, though

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/616767/+subscriptions



More information about the foundations-bugs mailing list