[Desktop-packages] [Bug 905602] Re: software-properties-gtk crashed with AttributeError in _decode_value(): 'NoneType' object has no attribute 'decode'

2012-03-06 Thread Alex Mayorga Adame
Definitely not fixed.
I got routed to bug 911834 after I experienced this crash.

alex-mayorga@VPCCW1FFXL:~$ apt-cache policy python-gobject
python-gobject:
  Installed: 3.1.1-0ubuntu1
  Candidate: 3.1.1-0ubuntu1
  Version table:
 *** 3.1.1-0ubuntu1 0
500 http://archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
100 /var/lib/dpkg/status

Happens randomly but these were the steps to reproduce:
Open Software Sources
Select Other Software tab
Select an unselected PPA
Unselect the previously selected PPA
Click Close

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pygobject in Ubuntu.
https://bugs.launchpad.net/bugs/905602

Title:
  software-properties-gtk crashed with AttributeError in
  _decode_value(): 'NoneType' object has no attribute 'decode'

Status in “pygobject” package in Ubuntu:
  Fix Released
Status in “pygobject” source package in Precise:
  Fix Released

Bug description:
  Tried to set the apt mirrir to other.

  TEST CASE:
  1. Launch software-properties-gtk from a console
  2. Switch to first tab 'Ubuntu Software' if not already selected
  3. On the combobox 'Download from' select 'Other ...'

  ACTUAL RESULT:
  Traceback (most recent call last):
File 
/usr/lib/python2.7/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py,
 line 477, in on_combobox_server_changed
  uri = server_store.get_value(iter, 1)
File /usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py, line 977, in 
get_value
  return self._decode_value(treeiter, column, value)
File /usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py, line 803, in 
_decode_value
  value = value.decode('UTF-8')
  AttributeError: 'NoneType' object has no attribute 'decode'

  EXPECTED RESULT
  The user can proceed with the selection of another mirror.

  ProblemType: Crash
  DistroRelease: Ubuntu 12.04
  Package: software-properties-gtk 0.82
  ProcVersionSignature: Ubuntu 3.2.0-5.11-generic 3.2.0-rc5
  Uname: Linux 3.2.0-5-generic x86_64
  NonfreeKernelModules: fglrx
  ApportVersion: 1.90-0ubuntu1
  Architecture: amd64
  Date: Sat Dec 17 00:02:57 2011
  EcryptfsInUse: Yes
  ExecutablePath: /usr/bin/software-properties-gtk
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Alpha amd64 
(20111216.1)
  InterpreterPath: /usr/bin/python2.7
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/bin/software-properties-gtk -n -t 0
  ProcEnviron:
   LANGUAGE=en_US:en
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  PythonArgs: ['/usr/bin/software-properties-gtk', '-n', '-t', '0']
  SourcePackage: software-properties
  Title: software-properties-gtk crashed with AttributeError in 
_decode_value(): 'NoneType' object has no attribute 'decode'
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 905602] Re: software-properties-gtk crashed with AttributeError in _decode_value(): 'NoneType' object has no attribute 'decode'

2012-03-06 Thread Martin Pitt
If you can still reproduce it, can you please file a new bug? This will
give me an updated stack trace and dependency information. Thanks!

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pygobject in Ubuntu.
https://bugs.launchpad.net/bugs/905602

Title:
  software-properties-gtk crashed with AttributeError in
  _decode_value(): 'NoneType' object has no attribute 'decode'

Status in “pygobject” package in Ubuntu:
  Fix Released
Status in “pygobject” source package in Precise:
  Fix Released

Bug description:
  Tried to set the apt mirrir to other.

  TEST CASE:
  1. Launch software-properties-gtk from a console
  2. Switch to first tab 'Ubuntu Software' if not already selected
  3. On the combobox 'Download from' select 'Other ...'

  ACTUAL RESULT:
  Traceback (most recent call last):
File 
/usr/lib/python2.7/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py,
 line 477, in on_combobox_server_changed
  uri = server_store.get_value(iter, 1)
File /usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py, line 977, in 
get_value
  return self._decode_value(treeiter, column, value)
File /usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py, line 803, in 
_decode_value
  value = value.decode('UTF-8')
  AttributeError: 'NoneType' object has no attribute 'decode'

  EXPECTED RESULT
  The user can proceed with the selection of another mirror.

  ProblemType: Crash
  DistroRelease: Ubuntu 12.04
  Package: software-properties-gtk 0.82
  ProcVersionSignature: Ubuntu 3.2.0-5.11-generic 3.2.0-rc5
  Uname: Linux 3.2.0-5-generic x86_64
  NonfreeKernelModules: fglrx
  ApportVersion: 1.90-0ubuntu1
  Architecture: amd64
  Date: Sat Dec 17 00:02:57 2011
  EcryptfsInUse: Yes
  ExecutablePath: /usr/bin/software-properties-gtk
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Alpha amd64 
(20111216.1)
  InterpreterPath: /usr/bin/python2.7
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/bin/software-properties-gtk -n -t 0
  ProcEnviron:
   LANGUAGE=en_US:en
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  PythonArgs: ['/usr/bin/software-properties-gtk', '-n', '-t', '0']
  SourcePackage: software-properties
  Title: software-properties-gtk crashed with AttributeError in 
_decode_value(): 'NoneType' object has no attribute 'decode'
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 905602] Re: software-properties-gtk crashed with AttributeError in _decode_value(): 'NoneType' object has no attribute 'decode'

2012-03-06 Thread Martin Pitt
I tried the recipe in the previous comment several times, with
variations, and I cannot get it to crash here. (Also amd64).

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pygobject in Ubuntu.
https://bugs.launchpad.net/bugs/905602

Title:
  software-properties-gtk crashed with AttributeError in
  _decode_value(): 'NoneType' object has no attribute 'decode'

Status in “pygobject” package in Ubuntu:
  Fix Released
Status in “pygobject” source package in Precise:
  Fix Released

Bug description:
  Tried to set the apt mirrir to other.

  TEST CASE:
  1. Launch software-properties-gtk from a console
  2. Switch to first tab 'Ubuntu Software' if not already selected
  3. On the combobox 'Download from' select 'Other ...'

  ACTUAL RESULT:
  Traceback (most recent call last):
File 
/usr/lib/python2.7/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py,
 line 477, in on_combobox_server_changed
  uri = server_store.get_value(iter, 1)
File /usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py, line 977, in 
get_value
  return self._decode_value(treeiter, column, value)
File /usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py, line 803, in 
_decode_value
  value = value.decode('UTF-8')
  AttributeError: 'NoneType' object has no attribute 'decode'

  EXPECTED RESULT
  The user can proceed with the selection of another mirror.

  ProblemType: Crash
  DistroRelease: Ubuntu 12.04
  Package: software-properties-gtk 0.82
  ProcVersionSignature: Ubuntu 3.2.0-5.11-generic 3.2.0-rc5
  Uname: Linux 3.2.0-5-generic x86_64
  NonfreeKernelModules: fglrx
  ApportVersion: 1.90-0ubuntu1
  Architecture: amd64
  Date: Sat Dec 17 00:02:57 2011
  EcryptfsInUse: Yes
  ExecutablePath: /usr/bin/software-properties-gtk
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Alpha amd64 
(20111216.1)
  InterpreterPath: /usr/bin/python2.7
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/bin/software-properties-gtk -n -t 0
  ProcEnviron:
   LANGUAGE=en_US:en
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  PythonArgs: ['/usr/bin/software-properties-gtk', '-n', '-t', '0']
  SourcePackage: software-properties
  Title: software-properties-gtk crashed with AttributeError in 
_decode_value(): 'NoneType' object has no attribute 'decode'
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 905602] Re: software-properties-gtk crashed with AttributeError in _decode_value(): 'NoneType' object has no attribute 'decode'

2012-03-06 Thread Sam_
Martin, I'm unable to file a new bug because apport always leads to dupe
bug 911834, which is mentioned in the report. I'll try to upload the
report manually.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pygobject in Ubuntu.
https://bugs.launchpad.net/bugs/905602

Title:
  software-properties-gtk crashed with AttributeError in
  _decode_value(): 'NoneType' object has no attribute 'decode'

Status in “pygobject” package in Ubuntu:
  Fix Released
Status in “pygobject” source package in Precise:
  Fix Released

Bug description:
  Tried to set the apt mirrir to other.

  TEST CASE:
  1. Launch software-properties-gtk from a console
  2. Switch to first tab 'Ubuntu Software' if not already selected
  3. On the combobox 'Download from' select 'Other ...'

  ACTUAL RESULT:
  Traceback (most recent call last):
File 
/usr/lib/python2.7/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py,
 line 477, in on_combobox_server_changed
  uri = server_store.get_value(iter, 1)
File /usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py, line 977, in 
get_value
  return self._decode_value(treeiter, column, value)
File /usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py, line 803, in 
_decode_value
  value = value.decode('UTF-8')
  AttributeError: 'NoneType' object has no attribute 'decode'

  EXPECTED RESULT
  The user can proceed with the selection of another mirror.

  ProblemType: Crash
  DistroRelease: Ubuntu 12.04
  Package: software-properties-gtk 0.82
  ProcVersionSignature: Ubuntu 3.2.0-5.11-generic 3.2.0-rc5
  Uname: Linux 3.2.0-5-generic x86_64
  NonfreeKernelModules: fglrx
  ApportVersion: 1.90-0ubuntu1
  Architecture: amd64
  Date: Sat Dec 17 00:02:57 2011
  EcryptfsInUse: Yes
  ExecutablePath: /usr/bin/software-properties-gtk
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Alpha amd64 
(20111216.1)
  InterpreterPath: /usr/bin/python2.7
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/bin/software-properties-gtk -n -t 0
  ProcEnviron:
   LANGUAGE=en_US:en
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  PythonArgs: ['/usr/bin/software-properties-gtk', '-n', '-t', '0']
  SourcePackage: software-properties
  Title: software-properties-gtk crashed with AttributeError in 
_decode_value(): 'NoneType' object has no attribute 'decode'
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 905602] Re: software-properties-gtk crashed with AttributeError in _decode_value(): 'NoneType' object has no attribute 'decode'

2012-03-06 Thread Sam_
Attach the .crash file manually. Add video where the bug is reproduced
incl. apport trace back. I could reproduce the bug by running software-
properties via dash, clicking on all tabs back and forth, close per
window button, wait 2-3 sec. until apport reports the crash.

** Attachment added: _usr_bin_software-properties-gtk.0.crash
   
https://bugs.launchpad.net/ubuntu/+source/pygobject/+bug/905602/+attachment/2825331/+files/_usr_bin_software-properties-gtk.0.crash

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pygobject in Ubuntu.
https://bugs.launchpad.net/bugs/905602

Title:
  software-properties-gtk crashed with AttributeError in
  _decode_value(): 'NoneType' object has no attribute 'decode'

Status in “pygobject” package in Ubuntu:
  Fix Released
Status in “pygobject” source package in Precise:
  Fix Released

Bug description:
  Tried to set the apt mirrir to other.

  TEST CASE:
  1. Launch software-properties-gtk from a console
  2. Switch to first tab 'Ubuntu Software' if not already selected
  3. On the combobox 'Download from' select 'Other ...'

  ACTUAL RESULT:
  Traceback (most recent call last):
File 
/usr/lib/python2.7/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py,
 line 477, in on_combobox_server_changed
  uri = server_store.get_value(iter, 1)
File /usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py, line 977, in 
get_value
  return self._decode_value(treeiter, column, value)
File /usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py, line 803, in 
_decode_value
  value = value.decode('UTF-8')
  AttributeError: 'NoneType' object has no attribute 'decode'

  EXPECTED RESULT
  The user can proceed with the selection of another mirror.

  ProblemType: Crash
  DistroRelease: Ubuntu 12.04
  Package: software-properties-gtk 0.82
  ProcVersionSignature: Ubuntu 3.2.0-5.11-generic 3.2.0-rc5
  Uname: Linux 3.2.0-5-generic x86_64
  NonfreeKernelModules: fglrx
  ApportVersion: 1.90-0ubuntu1
  Architecture: amd64
  Date: Sat Dec 17 00:02:57 2011
  EcryptfsInUse: Yes
  ExecutablePath: /usr/bin/software-properties-gtk
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Alpha amd64 
(20111216.1)
  InterpreterPath: /usr/bin/python2.7
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/bin/software-properties-gtk -n -t 0
  ProcEnviron:
   LANGUAGE=en_US:en
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  PythonArgs: ['/usr/bin/software-properties-gtk', '-n', '-t', '0']
  SourcePackage: software-properties
  Title: software-properties-gtk crashed with AttributeError in 
_decode_value(): 'NoneType' object has no attribute 'decode'
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 905602] Re: software-properties-gtk crashed with AttributeError in _decode_value(): 'NoneType' object has no attribute 'decode'

2012-03-06 Thread Sam_
** Attachment added: software-properties-pc.ogv
   
https://bugs.launchpad.net/ubuntu/+source/pygobject/+bug/905602/+attachment/2825365/+files/software-properties-pc.ogv

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pygobject in Ubuntu.
https://bugs.launchpad.net/bugs/905602

Title:
  software-properties-gtk crashed with AttributeError in
  _decode_value(): 'NoneType' object has no attribute 'decode'

Status in “pygobject” package in Ubuntu:
  Fix Released
Status in “pygobject” source package in Precise:
  Fix Released

Bug description:
  Tried to set the apt mirrir to other.

  TEST CASE:
  1. Launch software-properties-gtk from a console
  2. Switch to first tab 'Ubuntu Software' if not already selected
  3. On the combobox 'Download from' select 'Other ...'

  ACTUAL RESULT:
  Traceback (most recent call last):
File 
/usr/lib/python2.7/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py,
 line 477, in on_combobox_server_changed
  uri = server_store.get_value(iter, 1)
File /usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py, line 977, in 
get_value
  return self._decode_value(treeiter, column, value)
File /usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py, line 803, in 
_decode_value
  value = value.decode('UTF-8')
  AttributeError: 'NoneType' object has no attribute 'decode'

  EXPECTED RESULT
  The user can proceed with the selection of another mirror.

  ProblemType: Crash
  DistroRelease: Ubuntu 12.04
  Package: software-properties-gtk 0.82
  ProcVersionSignature: Ubuntu 3.2.0-5.11-generic 3.2.0-rc5
  Uname: Linux 3.2.0-5-generic x86_64
  NonfreeKernelModules: fglrx
  ApportVersion: 1.90-0ubuntu1
  Architecture: amd64
  Date: Sat Dec 17 00:02:57 2011
  EcryptfsInUse: Yes
  ExecutablePath: /usr/bin/software-properties-gtk
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Alpha amd64 
(20111216.1)
  InterpreterPath: /usr/bin/python2.7
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/bin/software-properties-gtk -n -t 0
  ProcEnviron:
   LANGUAGE=en_US:en
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  PythonArgs: ['/usr/bin/software-properties-gtk', '-n', '-t', '0']
  SourcePackage: software-properties
  Title: software-properties-gtk crashed with AttributeError in 
_decode_value(): 'NoneType' object has no attribute 'decode'
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 905602] Re: software-properties-gtk crashed with AttributeError in _decode_value(): 'NoneType' object has no attribute 'decode'

2012-03-06 Thread Martin Pitt
Thanks Sam_! This is actually a very different stack trace than this
bug, so bug 911834 was duplicated wrongly. I unduplicated it now, and
will follow up there.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pygobject in Ubuntu.
https://bugs.launchpad.net/bugs/905602

Title:
  software-properties-gtk crashed with AttributeError in
  _decode_value(): 'NoneType' object has no attribute 'decode'

Status in “pygobject” package in Ubuntu:
  Fix Released
Status in “pygobject” source package in Precise:
  Fix Released

Bug description:
  Tried to set the apt mirrir to other.

  TEST CASE:
  1. Launch software-properties-gtk from a console
  2. Switch to first tab 'Ubuntu Software' if not already selected
  3. On the combobox 'Download from' select 'Other ...'

  ACTUAL RESULT:
  Traceback (most recent call last):
File 
/usr/lib/python2.7/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py,
 line 477, in on_combobox_server_changed
  uri = server_store.get_value(iter, 1)
File /usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py, line 977, in 
get_value
  return self._decode_value(treeiter, column, value)
File /usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py, line 803, in 
_decode_value
  value = value.decode('UTF-8')
  AttributeError: 'NoneType' object has no attribute 'decode'

  EXPECTED RESULT
  The user can proceed with the selection of another mirror.

  ProblemType: Crash
  DistroRelease: Ubuntu 12.04
  Package: software-properties-gtk 0.82
  ProcVersionSignature: Ubuntu 3.2.0-5.11-generic 3.2.0-rc5
  Uname: Linux 3.2.0-5-generic x86_64
  NonfreeKernelModules: fglrx
  ApportVersion: 1.90-0ubuntu1
  Architecture: amd64
  Date: Sat Dec 17 00:02:57 2011
  EcryptfsInUse: Yes
  ExecutablePath: /usr/bin/software-properties-gtk
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Alpha amd64 
(20111216.1)
  InterpreterPath: /usr/bin/python2.7
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/bin/software-properties-gtk -n -t 0
  ProcEnviron:
   LANGUAGE=en_US:en
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  PythonArgs: ['/usr/bin/software-properties-gtk', '-n', '-t', '0']
  SourcePackage: software-properties
  Title: software-properties-gtk crashed with AttributeError in 
_decode_value(): 'NoneType' object has no attribute 'decode'
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 905602] Re: software-properties-gtk crashed with AttributeError in _decode_value(): 'NoneType' object has no attribute 'decode'

2012-03-05 Thread Ayke van Laethem
I didn't change anything in software-sources and when I closed the window this 
bug hit me.
That was when opening it from update-manager after installing updates.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pygobject in Ubuntu.
https://bugs.launchpad.net/bugs/905602

Title:
  software-properties-gtk crashed with AttributeError in
  _decode_value(): 'NoneType' object has no attribute 'decode'

Status in “pygobject” package in Ubuntu:
  Fix Released
Status in “pygobject” source package in Precise:
  Fix Released

Bug description:
  Tried to set the apt mirrir to other.

  TEST CASE:
  1. Launch software-properties-gtk from a console
  2. Switch to first tab 'Ubuntu Software' if not already selected
  3. On the combobox 'Download from' select 'Other ...'

  ACTUAL RESULT:
  Traceback (most recent call last):
File 
/usr/lib/python2.7/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py,
 line 477, in on_combobox_server_changed
  uri = server_store.get_value(iter, 1)
File /usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py, line 977, in 
get_value
  return self._decode_value(treeiter, column, value)
File /usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py, line 803, in 
_decode_value
  value = value.decode('UTF-8')
  AttributeError: 'NoneType' object has no attribute 'decode'

  EXPECTED RESULT
  The user can proceed with the selection of another mirror.

  ProblemType: Crash
  DistroRelease: Ubuntu 12.04
  Package: software-properties-gtk 0.82
  ProcVersionSignature: Ubuntu 3.2.0-5.11-generic 3.2.0-rc5
  Uname: Linux 3.2.0-5-generic x86_64
  NonfreeKernelModules: fglrx
  ApportVersion: 1.90-0ubuntu1
  Architecture: amd64
  Date: Sat Dec 17 00:02:57 2011
  EcryptfsInUse: Yes
  ExecutablePath: /usr/bin/software-properties-gtk
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Alpha amd64 
(20111216.1)
  InterpreterPath: /usr/bin/python2.7
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/bin/software-properties-gtk -n -t 0
  ProcEnviron:
   LANGUAGE=en_US:en
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  PythonArgs: ['/usr/bin/software-properties-gtk', '-n', '-t', '0']
  SourcePackage: software-properties
  Title: software-properties-gtk crashed with AttributeError in 
_decode_value(): 'NoneType' object has no attribute 'decode'
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 905602] Re: software-properties-gtk crashed with AttributeError in _decode_value(): 'NoneType' object has no attribute 'decode'

2012-03-04 Thread Sam_
Traceback dito #12 on laptop. This time open via Synaptic - software
sources, closing it results in a crash.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pygobject in Ubuntu.
https://bugs.launchpad.net/bugs/905602

Title:
  software-properties-gtk crashed with AttributeError in
  _decode_value(): 'NoneType' object has no attribute 'decode'

Status in “pygobject” package in Ubuntu:
  Fix Released
Status in “pygobject” source package in Precise:
  Fix Released

Bug description:
  Tried to set the apt mirrir to other.

  TEST CASE:
  1. Launch software-properties-gtk from a console
  2. Switch to first tab 'Ubuntu Software' if not already selected
  3. On the combobox 'Download from' select 'Other ...'

  ACTUAL RESULT:
  Traceback (most recent call last):
File 
/usr/lib/python2.7/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py,
 line 477, in on_combobox_server_changed
  uri = server_store.get_value(iter, 1)
File /usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py, line 977, in 
get_value
  return self._decode_value(treeiter, column, value)
File /usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py, line 803, in 
_decode_value
  value = value.decode('UTF-8')
  AttributeError: 'NoneType' object has no attribute 'decode'

  EXPECTED RESULT
  The user can proceed with the selection of another mirror.

  ProblemType: Crash
  DistroRelease: Ubuntu 12.04
  Package: software-properties-gtk 0.82
  ProcVersionSignature: Ubuntu 3.2.0-5.11-generic 3.2.0-rc5
  Uname: Linux 3.2.0-5-generic x86_64
  NonfreeKernelModules: fglrx
  ApportVersion: 1.90-0ubuntu1
  Architecture: amd64
  Date: Sat Dec 17 00:02:57 2011
  EcryptfsInUse: Yes
  ExecutablePath: /usr/bin/software-properties-gtk
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Alpha amd64 
(20111216.1)
  InterpreterPath: /usr/bin/python2.7
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/bin/software-properties-gtk -n -t 0
  ProcEnviron:
   LANGUAGE=en_US:en
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  PythonArgs: ['/usr/bin/software-properties-gtk', '-n', '-t', '0']
  SourcePackage: software-properties
  Title: software-properties-gtk crashed with AttributeError in 
_decode_value(): 'NoneType' object has no attribute 'decode'
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 905602] Re: software-properties-gtk crashed with AttributeError in _decode_value(): 'NoneType' object has no attribute 'decode'

2012-02-29 Thread Pat McGowan
Just experienced this,  edit the software sources,other software, close -  app 
crashed
 apt-cache policy python-gobject
python-gobject:
  Installed: 3.1.1-0ubuntu1
  Candidate: 3.1.1-0ubuntu1

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pygobject in Ubuntu.
https://bugs.launchpad.net/bugs/905602

Title:
  software-properties-gtk crashed with AttributeError in
  _decode_value(): 'NoneType' object has no attribute 'decode'

Status in “pygobject” package in Ubuntu:
  Fix Released
Status in “pygobject” source package in Precise:
  Fix Released

Bug description:
  Tried to set the apt mirrir to other.

  TEST CASE:
  1. Launch software-properties-gtk from a console
  2. Switch to first tab 'Ubuntu Software' if not already selected
  3. On the combobox 'Download from' select 'Other ...'

  ACTUAL RESULT:
  Traceback (most recent call last):
File 
/usr/lib/python2.7/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py,
 line 477, in on_combobox_server_changed
  uri = server_store.get_value(iter, 1)
File /usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py, line 977, in 
get_value
  return self._decode_value(treeiter, column, value)
File /usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py, line 803, in 
_decode_value
  value = value.decode('UTF-8')
  AttributeError: 'NoneType' object has no attribute 'decode'

  EXPECTED RESULT
  The user can proceed with the selection of another mirror.

  ProblemType: Crash
  DistroRelease: Ubuntu 12.04
  Package: software-properties-gtk 0.82
  ProcVersionSignature: Ubuntu 3.2.0-5.11-generic 3.2.0-rc5
  Uname: Linux 3.2.0-5-generic x86_64
  NonfreeKernelModules: fglrx
  ApportVersion: 1.90-0ubuntu1
  Architecture: amd64
  Date: Sat Dec 17 00:02:57 2011
  EcryptfsInUse: Yes
  ExecutablePath: /usr/bin/software-properties-gtk
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Alpha amd64 
(20111216.1)
  InterpreterPath: /usr/bin/python2.7
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/bin/software-properties-gtk -n -t 0
  ProcEnviron:
   LANGUAGE=en_US:en
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  PythonArgs: ['/usr/bin/software-properties-gtk', '-n', '-t', '0']
  SourcePackage: software-properties
  Title: software-properties-gtk crashed with AttributeError in 
_decode_value(): 'NoneType' object has no attribute 'decode'
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 905602] Re: software-properties-gtk crashed with AttributeError in _decode_value(): 'NoneType' object has no attribute 'decode'

2012-02-24 Thread Sam_
Just happened again after the app was closed and leads to dupe 911834. Since 
software-properties isn't opened daily by the user there is no daily report, 
but it certainly still crashes on two different machines after having it the 
first time open and then closing it.
Traceback:
 Traceback (most recent call last):
   File 
/usr/lib/python2.7/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py,
 line 820, in on_treeview_sources_cursor_changed
 (model, iter) = sel.get_selected()
 AttributeError: 'NoneType' object has no attribute 'get_selected'

python-gobject:
  Installed: 3.1.1-0ubuntu1
  Candidate: 3.1.1-0ubuntu1
  Version table:
 *** 3.1.1-0ubuntu1 0
500 http://archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
100 /var/lib/dpkg/status

Dependencies in crash file say:
python-gobject 3.1.1-0ubuntu1
python-gobject-2 2.28.6-9

## Besides there is still the odd behaviour that it requests
authentication on one of two machines although the versions are the
same. bug 930972

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pygobject in Ubuntu.
https://bugs.launchpad.net/bugs/905602

Title:
  software-properties-gtk crashed with AttributeError in
  _decode_value(): 'NoneType' object has no attribute 'decode'

Status in “pygobject” package in Ubuntu:
  Fix Released
Status in “pygobject” source package in Precise:
  Fix Released

Bug description:
  Tried to set the apt mirrir to other.

  TEST CASE:
  1. Launch software-properties-gtk from a console
  2. Switch to first tab 'Ubuntu Software' if not already selected
  3. On the combobox 'Download from' select 'Other ...'

  ACTUAL RESULT:
  Traceback (most recent call last):
File 
/usr/lib/python2.7/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py,
 line 477, in on_combobox_server_changed
  uri = server_store.get_value(iter, 1)
File /usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py, line 977, in 
get_value
  return self._decode_value(treeiter, column, value)
File /usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py, line 803, in 
_decode_value
  value = value.decode('UTF-8')
  AttributeError: 'NoneType' object has no attribute 'decode'

  EXPECTED RESULT
  The user can proceed with the selection of another mirror.

  ProblemType: Crash
  DistroRelease: Ubuntu 12.04
  Package: software-properties-gtk 0.82
  ProcVersionSignature: Ubuntu 3.2.0-5.11-generic 3.2.0-rc5
  Uname: Linux 3.2.0-5-generic x86_64
  NonfreeKernelModules: fglrx
  ApportVersion: 1.90-0ubuntu1
  Architecture: amd64
  Date: Sat Dec 17 00:02:57 2011
  EcryptfsInUse: Yes
  ExecutablePath: /usr/bin/software-properties-gtk
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Alpha amd64 
(20111216.1)
  InterpreterPath: /usr/bin/python2.7
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/bin/software-properties-gtk -n -t 0
  ProcEnviron:
   LANGUAGE=en_US:en
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  PythonArgs: ['/usr/bin/software-properties-gtk', '-n', '-t', '0']
  SourcePackage: software-properties
  Title: software-properties-gtk crashed with AttributeError in 
_decode_value(): 'NoneType' object has no attribute 'decode'
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 905602] Re: software-properties-gtk crashed with AttributeError in _decode_value(): 'NoneType' object has no attribute 'decode'

2012-01-23 Thread Sam_
Happened twice here. Call software-properties via alt+f2, view updates tab, 
close the GUI. Apport reports a crash, collects info and leads me to an already 
existing bug 911834 which is a dupe of this one.
~$ apt-cache policy python-gobject
python-gobject:
  Installed: 3.0.3-2
  Candidate: 3.0.3-2
  Version table:
 *** 3.0.3-2 0
500 http://archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
100 /var/lib/dpkg/status

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pygobject in Ubuntu.
https://bugs.launchpad.net/bugs/905602

Title:
  software-properties-gtk crashed with AttributeError in
  _decode_value(): 'NoneType' object has no attribute 'decode'

Status in “pygobject” package in Ubuntu:
  Fix Released
Status in “pygobject” source package in Precise:
  Fix Released

Bug description:
  Tried to set the apt mirrir to other.

  TEST CASE:
  1. Launch software-properties-gtk from a console
  2. Switch to first tab 'Ubuntu Software' if not already selected
  3. On the combobox 'Download from' select 'Other ...'

  ACTUAL RESULT:
  Traceback (most recent call last):
File 
/usr/lib/python2.7/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py,
 line 477, in on_combobox_server_changed
  uri = server_store.get_value(iter, 1)
File /usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py, line 977, in 
get_value
  return self._decode_value(treeiter, column, value)
File /usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py, line 803, in 
_decode_value
  value = value.decode('UTF-8')
  AttributeError: 'NoneType' object has no attribute 'decode'

  EXPECTED RESULT
  The user can proceed with the selection of another mirror.

  ProblemType: Crash
  DistroRelease: Ubuntu 12.04
  Package: software-properties-gtk 0.82
  ProcVersionSignature: Ubuntu 3.2.0-5.11-generic 3.2.0-rc5
  Uname: Linux 3.2.0-5-generic x86_64
  NonfreeKernelModules: fglrx
  ApportVersion: 1.90-0ubuntu1
  Architecture: amd64
  Date: Sat Dec 17 00:02:57 2011
  EcryptfsInUse: Yes
  ExecutablePath: /usr/bin/software-properties-gtk
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Alpha amd64 
(20111216.1)
  InterpreterPath: /usr/bin/python2.7
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/bin/software-properties-gtk -n -t 0
  ProcEnviron:
   LANGUAGE=en_US:en
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  PythonArgs: ['/usr/bin/software-properties-gtk', '-n', '-t', '0']
  SourcePackage: software-properties
  Title: software-properties-gtk crashed with AttributeError in 
_decode_value(): 'NoneType' object has no attribute 'decode'
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 905602] Re: software-properties-gtk crashed with AttributeError in _decode_value(): 'NoneType' object has no attribute 'decode'

2012-01-23 Thread Sam_
Not reproducable, happens rather randomly, tested a third time after the
crash and fourth, fifth time after reboot. Terminal output only says
trust-db generated.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pygobject in Ubuntu.
https://bugs.launchpad.net/bugs/905602

Title:
  software-properties-gtk crashed with AttributeError in
  _decode_value(): 'NoneType' object has no attribute 'decode'

Status in “pygobject” package in Ubuntu:
  Fix Released
Status in “pygobject” source package in Precise:
  Fix Released

Bug description:
  Tried to set the apt mirrir to other.

  TEST CASE:
  1. Launch software-properties-gtk from a console
  2. Switch to first tab 'Ubuntu Software' if not already selected
  3. On the combobox 'Download from' select 'Other ...'

  ACTUAL RESULT:
  Traceback (most recent call last):
File 
/usr/lib/python2.7/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py,
 line 477, in on_combobox_server_changed
  uri = server_store.get_value(iter, 1)
File /usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py, line 977, in 
get_value
  return self._decode_value(treeiter, column, value)
File /usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py, line 803, in 
_decode_value
  value = value.decode('UTF-8')
  AttributeError: 'NoneType' object has no attribute 'decode'

  EXPECTED RESULT
  The user can proceed with the selection of another mirror.

  ProblemType: Crash
  DistroRelease: Ubuntu 12.04
  Package: software-properties-gtk 0.82
  ProcVersionSignature: Ubuntu 3.2.0-5.11-generic 3.2.0-rc5
  Uname: Linux 3.2.0-5-generic x86_64
  NonfreeKernelModules: fglrx
  ApportVersion: 1.90-0ubuntu1
  Architecture: amd64
  Date: Sat Dec 17 00:02:57 2011
  EcryptfsInUse: Yes
  ExecutablePath: /usr/bin/software-properties-gtk
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Alpha amd64 
(20111216.1)
  InterpreterPath: /usr/bin/python2.7
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/bin/software-properties-gtk -n -t 0
  ProcEnviron:
   LANGUAGE=en_US:en
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  PythonArgs: ['/usr/bin/software-properties-gtk', '-n', '-t', '0']
  SourcePackage: software-properties
  Title: software-properties-gtk crashed with AttributeError in 
_decode_value(): 'NoneType' object has no attribute 'decode'
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 905602] Re: software-properties-gtk crashed with AttributeError in _decode_value(): 'NoneType' object has no attribute 'decode'

2012-01-16 Thread Martin Pitt
Works fine here. JG, please give me the output of

  dpkg -l python-gobject

and a recipe how to reproduce this, and the full output of the program
from a terminal (i. e. the stack trace).

Thanks!

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pygobject in Ubuntu.
https://bugs.launchpad.net/bugs/905602

Title:
  software-properties-gtk crashed with AttributeError in
  _decode_value(): 'NoneType' object has no attribute 'decode'

Status in “pygobject” package in Ubuntu:
  Fix Released
Status in “pygobject” source package in Precise:
  Fix Released

Bug description:
  Tried to set the apt mirrir to other.

  TEST CASE:
  1. Launch software-properties-gtk from a console
  2. Switch to first tab 'Ubuntu Software' if not already selected
  3. On the combobox 'Download from' select 'Other ...'

  ACTUAL RESULT:
  Traceback (most recent call last):
File 
/usr/lib/python2.7/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py,
 line 477, in on_combobox_server_changed
  uri = server_store.get_value(iter, 1)
File /usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py, line 977, in 
get_value
  return self._decode_value(treeiter, column, value)
File /usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py, line 803, in 
_decode_value
  value = value.decode('UTF-8')
  AttributeError: 'NoneType' object has no attribute 'decode'

  EXPECTED RESULT
  The user can proceed with the selection of another mirror.

  ProblemType: Crash
  DistroRelease: Ubuntu 12.04
  Package: software-properties-gtk 0.82
  ProcVersionSignature: Ubuntu 3.2.0-5.11-generic 3.2.0-rc5
  Uname: Linux 3.2.0-5-generic x86_64
  NonfreeKernelModules: fglrx
  ApportVersion: 1.90-0ubuntu1
  Architecture: amd64
  Date: Sat Dec 17 00:02:57 2011
  EcryptfsInUse: Yes
  ExecutablePath: /usr/bin/software-properties-gtk
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Alpha amd64 
(20111216.1)
  InterpreterPath: /usr/bin/python2.7
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/bin/software-properties-gtk -n -t 0
  ProcEnviron:
   LANGUAGE=en_US:en
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  PythonArgs: ['/usr/bin/software-properties-gtk', '-n', '-t', '0']
  SourcePackage: software-properties
  Title: software-properties-gtk crashed with AttributeError in 
_decode_value(): 'NoneType' object has no attribute 'decode'
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 905602] Re: software-properties-gtk crashed with AttributeError in _decode_value(): 'NoneType' object has no attribute 'decode'

2012-01-12 Thread JG
This hasn't been fixed. I just got the error right now and my computer
has been up to date since the day the fix was released.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pygobject in Ubuntu.
https://bugs.launchpad.net/bugs/905602

Title:
  software-properties-gtk crashed with AttributeError in
  _decode_value(): 'NoneType' object has no attribute 'decode'

Status in “pygobject” package in Ubuntu:
  Fix Released
Status in “pygobject” source package in Precise:
  Fix Released

Bug description:
  Tried to set the apt mirrir to other.

  TEST CASE:
  1. Launch software-properties-gtk from a console
  2. Switch to first tab 'Ubuntu Software' if not already selected
  3. On the combobox 'Download from' select 'Other ...'

  ACTUAL RESULT:
  Traceback (most recent call last):
File 
/usr/lib/python2.7/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py,
 line 477, in on_combobox_server_changed
  uri = server_store.get_value(iter, 1)
File /usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py, line 977, in 
get_value
  return self._decode_value(treeiter, column, value)
File /usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py, line 803, in 
_decode_value
  value = value.decode('UTF-8')
  AttributeError: 'NoneType' object has no attribute 'decode'

  EXPECTED RESULT
  The user can proceed with the selection of another mirror.

  ProblemType: Crash
  DistroRelease: Ubuntu 12.04
  Package: software-properties-gtk 0.82
  ProcVersionSignature: Ubuntu 3.2.0-5.11-generic 3.2.0-rc5
  Uname: Linux 3.2.0-5-generic x86_64
  NonfreeKernelModules: fglrx
  ApportVersion: 1.90-0ubuntu1
  Architecture: amd64
  Date: Sat Dec 17 00:02:57 2011
  EcryptfsInUse: Yes
  ExecutablePath: /usr/bin/software-properties-gtk
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Alpha amd64 
(20111216.1)
  InterpreterPath: /usr/bin/python2.7
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/bin/software-properties-gtk -n -t 0
  ProcEnviron:
   LANGUAGE=en_US:en
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  PythonArgs: ['/usr/bin/software-properties-gtk', '-n', '-t', '0']
  SourcePackage: software-properties
  Title: software-properties-gtk crashed with AttributeError in 
_decode_value(): 'NoneType' object has no attribute 'decode'
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 905602] Re: software-properties-gtk crashed with AttributeError in _decode_value(): 'NoneType' object has no attribute 'decode'

2012-01-06 Thread Martin Pitt
introduced in https://bugzilla.gnome.org/show_bug.cgi?id=663610

** Package changed: software-properties (Ubuntu Precise) = pygobject
(Ubuntu Precise)

** Changed in: pygobject (Ubuntu Precise)
   Status: Triaged = In Progress

** Changed in: pygobject (Ubuntu Precise)
 Assignee: Canonical Foundations Team (canonical-foundations) = Martin 
Pitt (pitti)

** Bug watch added: GNOME Bug Tracker #663610
   https://bugzilla.gnome.org/show_bug.cgi?id=663610

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pygobject in Ubuntu.
https://bugs.launchpad.net/bugs/905602

Title:
  software-properties-gtk crashed with AttributeError in
  _decode_value(): 'NoneType' object has no attribute 'decode'

Status in “pygobject” package in Ubuntu:
  In Progress
Status in “pygobject” source package in Precise:
  In Progress

Bug description:
  Tried to set the apt mirrir to other.

  TEST CASE:
  1. Launch software-properties-gtk from a console
  2. Switch to first tab 'Ubuntu Software' if not already selected
  3. On the combobox 'Download from' select 'Other ...'

  ACTUAL RESULT:
  Traceback (most recent call last):
File 
/usr/lib/python2.7/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py,
 line 477, in on_combobox_server_changed
  uri = server_store.get_value(iter, 1)
File /usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py, line 977, in 
get_value
  return self._decode_value(treeiter, column, value)
File /usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py, line 803, in 
_decode_value
  value = value.decode('UTF-8')
  AttributeError: 'NoneType' object has no attribute 'decode'

  EXPECTED RESULT
  The user can proceed with the selection of another mirror.

  ProblemType: Crash
  DistroRelease: Ubuntu 12.04
  Package: software-properties-gtk 0.82
  ProcVersionSignature: Ubuntu 3.2.0-5.11-generic 3.2.0-rc5
  Uname: Linux 3.2.0-5-generic x86_64
  NonfreeKernelModules: fglrx
  ApportVersion: 1.90-0ubuntu1
  Architecture: amd64
  Date: Sat Dec 17 00:02:57 2011
  EcryptfsInUse: Yes
  ExecutablePath: /usr/bin/software-properties-gtk
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Alpha amd64 
(20111216.1)
  InterpreterPath: /usr/bin/python2.7
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/bin/software-properties-gtk -n -t 0
  ProcEnviron:
   LANGUAGE=en_US:en
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  PythonArgs: ['/usr/bin/software-properties-gtk', '-n', '-t', '0']
  SourcePackage: software-properties
  Title: software-properties-gtk crashed with AttributeError in 
_decode_value(): 'NoneType' object has no attribute 'decode'
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 905602] Re: software-properties-gtk crashed with AttributeError in _decode_value(): 'NoneType' object has no attribute 'decode'

2012-01-06 Thread Launchpad Bug Tracker
This bug was fixed in the package pygobject - 3.0.3-2

---
pygobject (3.0.3-2) unstable; urgency=medium

  * Urgency medium as the previous release with the regression already made it
into testing and is causing quite a few unexpected breakages.
  * Add 01_revert_tree_model_unicode_conversion.patch: Revert Convert all
strings to utf-8 encoding when retrieving from TreeModel change from
previous release. This changes existing behaviour (model values being str
instead of unicode) and also makes tree model behaviour incompatible to
the rest of Gtk behaviour (which always returns UTF-8 encoded str objects,
not unicode). The original bug description was a bug in the test case
code, you cannot mix str and unicode objects in interpolation.
(LP: #905602)
 -- Martin Pitt martin.p...@ubuntu.com   Fri, 06 Jan 2012 16:38:51 +0100

** Changed in: pygobject (Ubuntu Precise)
   Status: In Progress = Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pygobject in Ubuntu.
https://bugs.launchpad.net/bugs/905602

Title:
  software-properties-gtk crashed with AttributeError in
  _decode_value(): 'NoneType' object has no attribute 'decode'

Status in “pygobject” package in Ubuntu:
  Fix Released
Status in “pygobject” source package in Precise:
  Fix Released

Bug description:
  Tried to set the apt mirrir to other.

  TEST CASE:
  1. Launch software-properties-gtk from a console
  2. Switch to first tab 'Ubuntu Software' if not already selected
  3. On the combobox 'Download from' select 'Other ...'

  ACTUAL RESULT:
  Traceback (most recent call last):
File 
/usr/lib/python2.7/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py,
 line 477, in on_combobox_server_changed
  uri = server_store.get_value(iter, 1)
File /usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py, line 977, in 
get_value
  return self._decode_value(treeiter, column, value)
File /usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py, line 803, in 
_decode_value
  value = value.decode('UTF-8')
  AttributeError: 'NoneType' object has no attribute 'decode'

  EXPECTED RESULT
  The user can proceed with the selection of another mirror.

  ProblemType: Crash
  DistroRelease: Ubuntu 12.04
  Package: software-properties-gtk 0.82
  ProcVersionSignature: Ubuntu 3.2.0-5.11-generic 3.2.0-rc5
  Uname: Linux 3.2.0-5-generic x86_64
  NonfreeKernelModules: fglrx
  ApportVersion: 1.90-0ubuntu1
  Architecture: amd64
  Date: Sat Dec 17 00:02:57 2011
  EcryptfsInUse: Yes
  ExecutablePath: /usr/bin/software-properties-gtk
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Alpha amd64 
(20111216.1)
  InterpreterPath: /usr/bin/python2.7
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/bin/software-properties-gtk -n -t 0
  ProcEnviron:
   LANGUAGE=en_US:en
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  PythonArgs: ['/usr/bin/software-properties-gtk', '-n', '-t', '0']
  SourcePackage: software-properties
  Title: software-properties-gtk crashed with AttributeError in 
_decode_value(): 'NoneType' object has no attribute 'decode'
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp