[Bug 980020] Re: kubuntu-devel-release-upgrade fails when LANG=de_DE.UTF-8

2018-04-30 Thread Shinjo Park
I was amazed that this bug is still there for 6+ years. On Kubuntu 17.10
I also got the broken text from kdesudo when lang is ko_KR, and I think
kdesudo is assuming current terminal charset is latin1:

$ do-release-upgrade -m desktop -f DistUpgradeViewKDE
새 우분투 배포판 확인
새로운 릴리즈를 찾을 수 없습니다.
$ kdesudo "do-release-upgrade -m desktop -f DistUpgradeViewKDE"
ì ì°ë¶í¬ ë°°í¬í íì¸
ìë¡ì´ 릴리ì¦ë¥¼ ì°¾ì ì ììµëë¤.
$ kdesudo "do-release-upgrade -m desktop -f DistUpgradeViewKDE" | iconv -t 
latin1 | iconv -f utf8
새 우분투 배포판 확인
새로운 릴리즈를 찾을 수 없습니다.

Version information:
$ kdesudo --version
Qt: 4.8.7
KDE 개발 플랫폼: 4.14.34
KdeSudo: 3.4.2.3

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

Title:
  kubuntu-devel-release-upgrade fails when LANG=de_DE.UTF-8

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 980020] Re: kubuntu-devel-release-upgrade fails when LANG=de_DE.UTF-8

2012-04-17 Thread Ernst Kloppenburg
probably my testcase for printing unicode with python (which I took from
a stackoverflow question) was not correct

This would be better:
$ echo 'print "m\xc3\xbcde"' tmp2.py
$ python tmp2.py
müde

$ kdesudo python tmp2.py
müde
# garbage but no error

so I guess kdesudo changes something in the environment that makes do-
release-upgrade produce bad output

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

Title:
  kubuntu-devel-release-upgrade fails when LANG=de_DE.UTF-8

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 980020] Re: kubuntu-devel-release-upgrade fails when LANG=de_DE.UTF-8

2012-04-17 Thread Brian Murray
I've reassigned this to kdesudo - thanks for the detailed testing Ernst.

** Package changed: update-manager (Ubuntu) => kdesudo (Ubuntu)

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

Title:
  kubuntu-devel-release-upgrade fails when LANG=de_DE.UTF-8

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 980020] Re: kubuntu-devel-release-upgrade fails when LANG=de_DE.UTF-8

2012-04-17 Thread Ernst Kloppenburg
the above also answers the question from comment #3:
No, this is not related to bug 929399 where kdesudo is non involved

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

Title:
  kubuntu-devel-release-upgrade fails when LANG=de_DE.UTF-8

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/980020/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 980020] Re: kubuntu-devel-release-upgrade fails when LANG=de_DE.UTF-8

2012-04-17 Thread Ernst Kloppenburg
The problem is not with update-manager, but with kdesudo (oneiric)!

/usr/bin/kubuntu-devel-release-upgrade just executes 
kdesudo "do-release-upgrade -m desktop -f kde -d"

Calling just "do-release-upgrade -m desktop -f kde -d" works fine, and
you see the first console output line with a german umlaut.

Run with kdesudo, kdesudo has to read that output from do-release-
upgrade and echo it to the console. That fails.

This reasoning can be proved by doing a simple experiment (all in an
environment with LANG=de_DE.UTF8)

$echo  'print u"Gl\xfcck"' > tmp.py
$python tmp.py # OK
Glück
$kdesudo python tmp.py
# fails with UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' 
in position 2: ordinal not in range(128)

@Brian: what is the best way to proceed?
- reassign this bug to kdesudo? With updated bug description?

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

Title:
  kubuntu-devel-release-upgrade fails when LANG=de_DE.UTF-8

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/980020/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 980020] Re: kubuntu-devel-release-upgrade fails when LANG=de_DE.UTF-8

2012-04-16 Thread Marc Cheng
might indeed be related in some kind, because i don't get the error when
i run

$ LANGUAGE=en:en LC_ALL=C kubuntu-devel-release-upgrade

(might even be wrong how i use the command, but in this case no error)

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

Title:
  kubuntu-devel-release-upgrade fails when LANG=de_DE.UTF-8

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/980020/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 980020] Re: kubuntu-devel-release-upgrade fails when LANG=de_DE.UTF-8

2012-04-16 Thread Brian Murray
I wonder if this is related to bug 929399.

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

Title:
  kubuntu-devel-release-upgrade fails when LANG=de_DE.UTF-8

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/980020/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 980020] Re: kubuntu-devel-release-upgrade fails when LANG=de_DE.UTF-8

2012-04-16 Thread Marc Cheng
$ env LANG= kubuntu-devel-release-upgrade

does not work for me

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

Title:
  kubuntu-devel-release-upgrade fails when LANG=de_DE.UTF-8

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/980020/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 980020] Re: kubuntu-devel-release-upgrade fails when LANG=de_DE.UTF-8

2012-04-13 Thread Colin Watson
** Changed in: update-manager (Ubuntu)
   Status: New => Confirmed

** Changed in: update-manager (Ubuntu)
   Importance: Undecided => High

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

Title:
  kubuntu-devel-release-upgrade fails when LANG=de_DE.UTF-8

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/980020/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 980020] Re: kubuntu-devel-release-upgrade fails when LANG=de_DE.UTF-8

2012-04-12 Thread Ernst Kloppenburg
** Tags added: dist-upgrade

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

Title:
  kubuntu-devel-release-upgrade fails when LANG=de_DE.UTF-8

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/980020/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs