[Bug 282446] Re: command-not-found has crashed
Ubuntu 12.04. Recently Boot ec2 AMI from alestic.com ami-82fa58eb on amazon. Error : Sorry, command-not-found has crashed! Please file a bug report at: https://bugs.launchpad.net/command-not-found/+filebug Please include the following information with the report: command-not-found version: 0.2.44 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/282446 Title: command-not-found has crashed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/command-not-found/+bug/282446/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
回复:[Bug 282446] Re: command-not-found has crashed
thank you in fact , I have reinstalled ubuntu once again and lost all of my data because of ext4 file-system and I will never try an unstable versuin again! -- command-not-found has crashed https://bugs.launchpad.net/bugs/282446 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 282446] Re: command-not-found has crashed
This is pretty confusing, the lgettext() call was added to fix bug #161159 - now it appears that non utf8 locales with utf-8 po files get a crash because of this. I changed the code so that it tries lgettext() first and if that fails uses gettext(). ** Changed in: command-not-found (Ubuntu) Status: New = Fix Committed -- command-not-found has crashed https://bugs.launchpad.net/bugs/282446 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 282446] Re: command-not-found has crashed
** Branch linked: lp:~ubuntu-core-dev/command-not-found/ubuntu -- command-not-found has crashed https://bugs.launchpad.net/bugs/282446 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 282446] Re: command-not-found has crashed
This bug was fixed in the package command-not-found - 0.2.36ubuntu1 --- command-not-found (0.2.36ubuntu1) karmic; urgency=low * scan.data: updated to current karmic * scan.data: add exception for gftp (LP: #99708) * debian/postinst: - if old/leftover /etc/bash_command_found_found is there, remove it (LP: #379851) * debian/rules: - build with DH_PYCENTRAL=include-links LP: #342003 * CommandNotFound/util.py: - use try gettext if lgettext fails (LP: #282446) * debian/copyright: - fix location (LP: #314478) * CommandNotFound/CommandNotFound.py: - be more robust about missing priority.txt (LP: #359784) - add simple spelling correction (LP: #314486) * debian/control: - build for all python versions (LP: #366096) -- Michael Vogt michael.v...@ubuntu.com Fri, 26 Jun 2009 13:58:24 +0200 ** Changed in: command-not-found (Ubuntu) Status: Fix Committed = Fix Released -- command-not-found has crashed https://bugs.launchpad.net/bugs/282446 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 282446] Re: command-not-found has crashed
Seems python or gettext get something wrong about UTF-8 encoding... command-not-found version: 0.2.21 Python version: 2.6.2 final 0 Distributor ID: Ubuntu Description:Ubuntu 9.04 Release:9.04 Codename: jaunty Exception information: 'ascii' codec can't encode character u'\xbb' in position 14: ordinal not in range(128) Traceback (most recent call last): File /usr/lib/python2.6/dist-packages/CommandNotFound/util.py, line 32, in crash_guard callback() File /usr/lib/command-not-found, line 24, in main CommandNotFound(options.data_dir).advise(args[0], options.ignore_installed) File /usr/lib/python2.6/dist-packages/CommandNotFound/CommandNotFound.py, line 151, in advise print sys.stderr, _(The program '%s' is currently not installed. ) % command, File /usr/lib/python2.6/gettext.py, line 584, in lgettext return ldgettext(_current_domain, message) File /usr/lib/python2.6/gettext.py, line 556, in ldgettext return t.lgettext(message) File /usr/lib/python2.6/gettext.py, line 366, in lgettext return tmsg.encode(locale.getpreferredencoding()) UnicodeEncodeError: 'ascii' codec can't encode character u'\xbb' in position 14: ordinal not in range(128) -- command-not-found has crashed https://bugs.launchpad.net/bugs/282446 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 282446] Re: command-not-found has crashed
I have put one line into /var/lib/locales/supported.d/local : pl_PL ISO8859-2 Then I rebuild locales (locale-gen) and locales were not working. This error was show also, so I've checked: $ LC_ALL=pl_PL python -c import locale; print locale.getpreferredencoding() ANSI_X3.4-1968 I don't like it. But it turns out that I've misspelled encoding, it should be pl_PL ISO-8859-2 After: # locale-gen --purge $ LC_ALL=pl_PL python -c import locale; print locale.getpreferredencoding() ISO-8859-2 Maybe it could help somebody. -- command-not-found has crashed https://bugs.launchpad.net/bugs/282446 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 282446] Re: command-not-found has crashed
Same here... of course the command itself is wrong, but still... r...@dub-amanda1:/var/backup/data/office/filebackups/10.200.200.1/asterisk# 'date +%Y' r...@dub-amanda1:/var/backup/data/office/filebackups/10.200.200.1/asterisk# 'import site' failed; use -v for traceback r...@dub-amanda1:/var/backup/data/office/filebackups/10.200.200.1/asterisk# Sorry, command-not-found has crashed! Please file a bug report at: https://bugs.launchpad.net/ubuntu/+source/command-not-found Please include the following information with the report: No module named CommandNotFound Traceback (most recent call last): File /usr/lib/command-not-found, line 10, in module from CommandNotFound import CommandNotFound ImportError: No module named CommandNotFound Python version: 2.5.2 final 0 r...@dub-amanda1:/var/backup/data/office/filebackups/10.200.200.1/asterisk# Regards, Chris -- command-not-found has crashed https://bugs.launchpad.net/bugs/282446 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 282446] Re: command-not-found has crashed
Me too, and I found out more as to how to provoke it. It happens if I have 'es' or 'es_ES' in the LANGUAGE with LANG set to en_GB.UTF-8: [EMAIL PROTECTED]:~$ bash -norc bash-3.2$ LANG=en_GB.UTF-8 LANGUAGE=es_ES:es:en_GB:en /usr/bin/python /usr/lib/command-not-found -- hello 21 | head -1 Sorry, command-not-found has crashed! Please file a bug report at: bash-3.2$ LANG=en_GB.UTF-8 LANGUAGE=es:en /usr/bin/python /usr/lib/command-not-found -- hello 21 | head -1 Sorry, command-not-found has crashed! Please file a bug report at: bash-3.2$ LANG=en_GB.UTF-8 LANGUAGE=es/usr/bin/python /usr/lib/command-not-found -- hello 21 | head -1 Sorry, command-not-found has crashed! Please file a bug report at: bash-3.2$ LANG=en_GB.UTF-8 LANGUAGE=es_ES /usr/bin/python /usr/lib/command-not-found -- hello 21 | head -1 Sorry, command-not-found has crashed! Please file a bug report at: bash-3.2$ LANG=en_GB.UTF-8 LANGUAGE=en/usr/bin/python /usr/lib/command-not-found -- hello 21 | head -1 The program 'hello' can be found in the following packages: bash-3.2$ LANG=en_GB.UTF-8 LANGUAGE=en_GB:en /usr/bin/python /usr/lib/command-not-found -- hello 21 | head -1 The program 'hello' can be found in the following packages: bash-3.2$ -- command-not-found has crashed https://bugs.launchpad.net/bugs/282446 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 282446] Re: command-not-found has crashed
Oh, it also needs LC_ALL set for it to crash. This will crash if 'hello' isn't installed: [EMAIL PROTECTED]:~$ LC_ALL=C LANG=en_GB.UTF-8 LANGUAGE=es /usr/bin/python /usr/lib/command-not-found -- hello Sorry, command-not-found has crashed! Please file a bug report at: https://bugs.launchpad.net/ubuntu/+source/command-not-found Please include the following information with the report: command-not-found version: 0.2.21 Python version: 2.5.2 final 0 Distributor ID: Ubuntu Description:Ubuntu 8.10 Release:8.10 Codename: intrepid Exception information: 'ascii' codec can't encode character u'\xab' in position 12: ordinal not in range(128) Traceback (most recent call last): File /usr/lib/python2.5/site-packages/CommandNotFound/util.py, line 32, in crash_guard callback() File /usr/lib/command-not-found, line 24, in main CommandNotFound(options.data_dir).advise(args[0], options.ignore_installed) File /usr/lib/python2.5/site-packages/CommandNotFound/CommandNotFound.py, line 137, in advise print sys.stderr, _(The program '%s' can be found in the following packages:) % command File /usr/lib/python2.5/gettext.py, line 584, in lgettext return ldgettext(_current_domain, message) File /usr/lib/python2.5/gettext.py, line 556, in ldgettext return t.lgettext(message) File /usr/lib/python2.5/gettext.py, line 366, in lgettext return tmsg.encode(locale.getpreferredencoding()) UnicodeEncodeError: 'ascii' codec can't encode character u'\xab' in position 12: ordinal not in range(128) [EMAIL PROTECTED]:~$ -- command-not-found has crashed https://bugs.launchpad.net/bugs/282446 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 282446] Re: command-not-found has crashed
Got a likewise Error while typing 'qmake' (German): [EMAIL PROTECTED]:~/Desktop/promoe$ qmake Das Programm qmake ist folgenden Paketen enthalten: * libqt4-dev * qt3-dev-tools Sorry, command-not-found has crashed! Please file a bug report at: https://bugs.launchpad.net/ubuntu/+source/command-not-found Please include the following information with the report: command-not-found version: 0.2.21 Python version: 2.5.2 final 0 Distributor ID: Ubuntu Description:Ubuntu 8.10 Release:8.10 Codename: intrepid Exception information: 'ascii' codec can't encode character u'\xe4' in position 25: ordinal not in range(128) Traceback (most recent call last): File /usr/lib/python2.5/site-packages/CommandNotFound/util.py, line 32, in crash_guard callback() File /usr/lib/command-not-found, line 24, in main CommandNotFound(options.data_dir).advise(args[0], options.ignore_installed) File /usr/lib/python2.5/site-packages/CommandNotFound/CommandNotFound.py, line 146, in advise print sys.stderr, _(Try: %s selected package) % sudo apt-get install File /usr/lib/python2.5/gettext.py, line 584, in lgettext return ldgettext(_current_domain, message) File /usr/lib/python2.5/gettext.py, line 556, in ldgettext return t.lgettext(message) File /usr/lib/python2.5/gettext.py, line 366, in lgettext return tmsg.encode(locale.getpreferredencoding()) UnicodeEncodeError: 'ascii' codec can't encode character u'\xe4' in position 25: ordinal not in range(128) bash: qmake: command not found [EMAIL PROTECTED]:~/Desktop/promoe$ -- command-not-found has crashed https://bugs.launchpad.net/bugs/282446 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs