On Wed, Sep 10, 2014 at 5:58 PM, Bruno Gonçalves de Jesus
<email address hidden> wrote:
> Public bug reported:
>
> A few times when I'm trying to type the "ls" command I end up typeing
> "çs". When that happens Ubuntu throws the information below in the
> console. It happens with any word that has a 'ç' in it.
>
> bruno@note:/var/www$ ç
> 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.3
> Python version: 3.4.0 final 0
> Distributor ID: Ubuntu
> Description: Ubuntu 14.04.1 LTS
> Release: 14.04
> Codename: trusty
> Exception information:
>
> 'utf-8' codec can't encode character '\udce7' in position 0: surrogates not allowed
> 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 90, 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 265, in advise
> packages = self.getPackages(command)
> File "/usr/lib/python3/dist-packages/CommandNotFound/CommandNotFound.py", line 157, in getPackages
> result.update([(pkg, db.component) for pkg in db.lookup(command)])
> File "/usr/lib/python3/dist-packages/CommandNotFound/CommandNotFound.py", line 85, in lookup
> result = self.db.lookup(command)
> File "/usr/lib/python3/dist-packages/CommandNotFound/CommandNotFound.py", line 41, in lookup
> key = key.encode('utf-8')
> UnicodeEncodeError: 'utf-8' codec can't encode character '\udce7' in position 0: surrogates not allowed
>
> ** Affects: command-not-found
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are subscribed to
> command-not-found.
> https://bugs.launchpad.net/bugs/1367811
>
> Title:
> Command line problem when 'ç' is used
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/command-not-found/+bug/1367811/+subscriptions
http:// www.zygoon. pl/2013/ 04/why- is-command- not-found- crashing. html
On Wed, Sep 10, 2014 at 5:58 PM, Bruno Gonçalves de Jesus /var/www$ ç /bugs.launchpad .net/command- not-found/ +filebug python3/ dist-packages/ CommandNotFound /util.py" , line 24, in crash_guard command- not-found" , line 90, in main ignore_ installed) and not options. no_failure_ msg: python3/ dist-packages/ CommandNotFound /CommandNotFoun d.py", line 265, in advise s(command) python3/ dist-packages/ CommandNotFound /CommandNotFoun d.py", line 157, in getPackages update( [(pkg, db.component) for pkg in db.lookup( command) ]) python3/ dist-packages/ CommandNotFound /CommandNotFoun d.py", line 85, in lookup lookup( command) python3/ dist-packages/ CommandNotFound /CommandNotFoun d.py", line 41, in lookup /bugs.launchpad .net/bugs/ 1367811 /bugs.launchpad .net/command- not-found/ +bug/1367811/ +subscriptions
<email address hidden> wrote:
> Public bug reported:
>
> A few times when I'm trying to type the "ls" command I end up typeing
> "çs". When that happens Ubuntu throws the information below in the
> console. It happens with any word that has a 'ç' in it.
>
> bruno@note:
> Sorry, command-not-found has crashed! Please file a bug report at:
> https:/
> Please include the following information with the report:
>
> command-not-found version: 0.3
> Python version: 3.4.0 final 0
> Distributor ID: Ubuntu
> Description: Ubuntu 14.04.1 LTS
> Release: 14.04
> Codename: trusty
> Exception information:
>
> 'utf-8' codec can't encode character '\udce7' in position 0: surrogates not allowed
> Traceback (most recent call last):
> File "/usr/lib/
> callback()
> File "/usr/lib/
> if not cnf.advise(args[0], options.
> File "/usr/lib/
> packages = self.getPackage
> File "/usr/lib/
> result.
> File "/usr/lib/
> result = self.db.
> File "/usr/lib/
> key = key.encode('utf-8')
> UnicodeEncodeError: 'utf-8' codec can't encode character '\udce7' in position 0: surrogates not allowed
>
> ** Affects: command-not-found
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are subscribed to
> command-not-found.
> https:/
>
> Title:
> Command line problem when 'ç' is used
>
> To manage notifications about this bug go to:
> https:/