[Bug 815480] Re: software-properties-gtk crashed with UnicodeDecodeError in init_distro(): 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128)

2012-09-19 Thread Michael Vogt
Thanks Zooko, I removed the no longer applying comment from the source now. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/815480 Title: software-properties-gtk crashed with UnicodeDecodeError in i

[Bug 815480] Re: software-properties-gtk crashed with UnicodeDecodeError in init_distro(): 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128)

2012-09-17 Thread Zooko Wilcox-O'Hearn
By the way, this patch replaced a regexp with json.loads(): http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/quantal/software- properties/quantal/revision/77 That was good, because a regexp could have been vulnerable to some sort of xss/injection sort of problem. But, the patch mistakenly left

[Bug 815480] Re: software-properties-gtk crashed with UnicodeDecodeError in init_distro(): 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128)

2011-08-15 Thread Launchpad Bug Tracker
This bug was fixed in the package software-properties - 0.81.6 --- software-properties (0.81.6) oneiric; urgency=low [ Michael Vogt ] * softwareproperties/ppa.py: - show PPA description and confirm before adding (security-o-catch-all spec) [ Martin Pitt ] * software

[Bug 815480] Re: software-properties-gtk crashed with UnicodeDecodeError in init_distro(): 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128)

2011-08-13 Thread Evger
patch works -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/815480 Title: software-properties-gtk crashed with UnicodeDecodeError in init_distro(): 'ascii' codec can't decode byte 0xd0 in position 0

[Bug 815480] Re: software-properties-gtk crashed with UnicodeDecodeError in init_distro(): 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128)

2011-08-12 Thread Brian Murray
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/815480 Title: software-properties-gtk crashed with UnicodeDecodeError in init_distro(): 'ascii' codec can't decode byte 0xd0 in p

[Bug 815480] Re: software-properties-gtk crashed with UnicodeDecodeError in init_distro(): 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128)

2011-08-10 Thread anonymous
** Patch added: "diff -ruN SoftwarePropertiesGtk.py /usr/lib/python2.7/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py (" https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/815480/+attachment/2266489/+files/patch.diff -- You received this bug notification becau

[Bug 815480] Re: software-properties-gtk crashed with UnicodeDecodeError in init_distro(): 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128)

2011-08-10 Thread Dmitry "Divius" Tantsur
Devs should repeat 10 times: "I will never ever mix unicode and bytestrings. Especially in translatable strings." =((( -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/815480 Title: software-properties

[Bug 815480] Re: software-properties-gtk crashed with UnicodeDecodeError in init_distro(): 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128)

2011-08-04 Thread Sebastien Bacher
doing a print _("%s Software") % self.distro.id in SoftwarePropertiesGtk.py had the same issue than the set label call, but adding .encode('utf-8') makes it work... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad

[Bug 815480] Re: software-properties-gtk crashed with UnicodeDecodeError in init_distro(): 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128)

2011-08-04 Thread Sebastien Bacher
Confirmed on oneiric alpha3 with zn_CH locale $ LANGUAGE=zh_CN gettext software-properties "%s Software" %s 软件s $ LANGUAGE=zh_CN python -c "import gettext; gettext.textdomain('software-properties'); print gettext.gettext('%s Software')" %s 软件 but it breaks in software-properties ** Changed in

[Bug 815480] Re: software-properties-gtk crashed with UnicodeDecodeError in init_distro(): 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128)

2011-07-29 Thread L!S
error appeared when trying to select "settings" in update manager. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/815480 Title: software-properties-gtk crashed with UnicodeDecodeError in init_distr

[Bug 815480] Re: software-properties-gtk crashed with UnicodeDecodeError in init_distro(): 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128)

2011-07-26 Thread Bowmore
I have the same issue for versions 0.81.2-0.81.4. software-properties-gtk crashed with UnicodeDecodeError in init_distro(): 'ascii' codec can't decode byte 0xc3 in position 13: ordinal not in range(128) It seems to be an ascii vs unicode issue introduced in version 0.81.2 A workaround atm is to

[Bug 815480] Re: software-properties-gtk crashed with UnicodeDecodeError in init_distro(): 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128)

2011-07-26 Thread Launchpad Bug Tracker
** Changed in: software-properties (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/815480 Title: software-properties-gtk crashed with UnicodeDecodeError in i

[Bug 815480] Re: software-properties-gtk crashed with UnicodeDecodeError in init_distro(): 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128)

2011-07-24 Thread Ivan Akulov
** Visibility changed to: Public -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/815480 Title: software-properties-gtk crashed with UnicodeDecodeError in init_distro(): 'ascii' codec can't decode by