[Bug 1073919] [NEW] Crash with Python 3

Launchpad Bug Tracker 1073919 at bugs.launchpad.net
Mon Jun 17 09:23:37 UTC 2013


You have been subscribed to a public bug by Gerhard Burger (burger.ga):

Désolé, command-not-found s'est arrêté anormalement ! Veuillez remplir un rapport de bogue à :
https://bugs.launchpad.net/command-not-found/+filebug
Veuillez inclure les informations suivantes dans le rapport :

Version de command-not-found : 0.3
Version de python : 3.2.3 final 0
Distributor ID:	Ubuntu
Description:	Ubuntu 12.10
Release:	12.10
Codename:	quantal
Information sur l'exception :

'str' object has no attribute 'decode'
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/CommandNotFound/util.py", line 24, in crash_guard
    callback()
  File "/usr/lib/command-not-found", line 87, in main
    if not cnf.advise(args[0], options.ignore_installed) and not options.no_failure_msg:
  File "/usr/lib/python3/dist-packages/CommandNotFound/CommandNotFound.py", line 277, in advise
    self.install_prompt(packages[0][0])
  File "/usr/lib/python3/dist-packages/CommandNotFound/CommandNotFound.py", line 217, in install_prompt
    answer = answer.decode(sys.stdin.encoding)
AttributeError: 'str' object has no attribute 'decode'

** Affects: command-not-found
     Importance: Undecided
     Assignee: Gerhard Burger (burger.ga)
         Status: In Progress


** Tags: python3
-- 
Crash with Python 3
https://bugs.launchpad.net/bugs/1073919
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list