Versehentlich falschen Befehl statt ls "öls" eingegeben

Bug #1628475 reported by Thomas Kenull
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
command-not-found
Invalid
Undecided
Unassigned

Bug Description

root@apollo:/home/fex/nergie# öls
Die Anwendung command-not-found ist abgestürzt! Bitte berichten Sie über den Fehler unter:
https://bugs.launchpad.net/command-not-found/+filebug
Bitte führen Sie folgende Informationen im Fehlerbericht an:

Command-not-found-Version: 0.3
Python-Version: 3.4.3 final 0
Distributor ID: Ubuntu
Description: Ubuntu 14.04.5 LTS
Release: 14.04
Codename: trusty
Informationen zum Fehler:

'utf-8' codec can't encode character '\udcf6' 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 '\udcf6' in position 0: surrogates not allowed

Revision history for this message
Dominique Ramaekers (dominique-ramaekers) wrote :

Hi Thomas,

Thanks for your bug report.

I can't seem to reproduce this bug.

Could you post the return of this command?
locale

Changed in command-not-found:
status: New → Incomplete
Revision history for this message
Thomas Kenull (thomas-kenull) wrote : Re: [Bug 1628475] Re: Versehentlich falschen Befehl statt ls "öls" eingegeben

Hi Dadio,

thanks for your reaction.

here are the information's you wanted to have:

www@apollo:~$ locale
LANG=de_DE.UTF-8
LANGUAGE=
LC_CTYPE="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_COLLATE="de_DE.UTF-8"
LC_MONETARY="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_PAPER="de_DE.UTF-8"
LC_NAME="de_DE.UTF-8"
LC_ADDRESS="de_DE.UTF-8"
LC_TELEPHONE="de_DE.UTF-8"
LC_MEASUREMENT="de_DE.UTF-8"
LC_IDENTIFICATION="de_DE.UTF-8"
LC_ALL=

But it is not necessary to resume for the error any further. Please let
me explain why.

I have tried to resume for the error for myself. And the result is
astounding
<http://dict.leo.org/ende/index_de.html#/search=astounding&searchLoc=0&resultOrder=basic&multiwordShowSingle=on&pos=0>
for my opinion. The cited error with the false command "öls" occurs, if
one have an Ubuntu 14.04 Server System as ssh-Server and the Windows SSH
Client PuTTy. And this PuTTy Client was an older version. If I changed
to another Client host with an newer version of this Windows SSH Client
- no error message occurred anymore.

The reason why I went wrong was: The error occurred also with the
outdated Version of PuTTy the first time a few days ago. Before there
were no problems also with the old PuTTy program. Possibly the error
occurred after the last update - but I don't know exactly the date of
the last update of the Ubuntu Server.

Sorry for the trouble you had for nothing.

Best regards Thomas

Am 10.10.2016 um 10:57 schrieb Dadio:
> Hi Thomas,
>
> Thanks for your bug report.
>
> I can't seem to reproduce this bug.
>
> Could you post the return of this command?
> locale
>
>
> ** Changed in: command-not-found
> Status: New => Incomplete
>

Changed in command-not-found:
status: Incomplete → Won't Fix
status: Won't Fix → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.