← Back to team overview

desktop-packages team mailing list archive

[Bug 835066] [NEW] "Installed" screen doesn't work (AttributeError: 'NoneType' object has no attribute 'query')

 

Public bug reported:

software-center-gtk3 trunk r2217, Ubuntu Ocelot

1. Launch USC.
2. Click "Installed".

What happens:
* The main pane goes blank.
* A traceback:
------------
Traceback (most recent call last):
  File "/home/mpt/hacking/software-center/softwarecenter/ui/gtk3/panes/viewswitcher.py", line 148, in config_view
    state = pane.state.copy()
  File "/home/mpt/hacking/software-center/softwarecenter/ui/gtk3/panes/softwarepane.py", line 145, in copy
    state.filter = self.filter.copy()
AttributeError: 'NoneType' object has no attribute 'copy'
Traceback (most recent call last):
  File "/home/mpt/hacking/software-center/softwarecenter/ui/gtk3/panes/installedpane.py", line 197, in rebuild_categorised_view
    enq.set_query(self.state.channel.query,
AttributeError: 'NoneType' object has no attribute 'query'
------------

What should happen: The "Installed" list appears.

Workaround: Click "All Software", then click "Installed" again.

** Affects: software-center (Ubuntu)
     Importance: High
         Status: New

** Changed in: software-center (Ubuntu)
   Importance: Undecided => High

** Description changed:

  software-center-gtk3 trunk r2217, Ubuntu Ocelot
  
  1. Launch USC.
  2. Click "Installed".
  
  What happens:
  * The main pane goes blank.
  * A traceback:
  ------------
  Traceback (most recent call last):
-   File "/home/mpt/hacking/software-center/softwarecenter/ui/gtk3/panes/viewswitcher.py", line 148, in config_view
-     state = pane.state.copy()
-   File "/home/mpt/hacking/software-center/softwarecenter/ui/gtk3/panes/softwarepane.py", line 145, in copy
-     state.filter = self.filter.copy()
+   File "/home/mpt/hacking/software-center/softwarecenter/ui/gtk3/panes/viewswitcher.py", line 148, in config_view
+     state = pane.state.copy()
+   File "/home/mpt/hacking/software-center/softwarecenter/ui/gtk3/panes/softwarepane.py", line 145, in copy
+     state.filter = self.filter.copy()
  AttributeError: 'NoneType' object has no attribute 'copy'
  Traceback (most recent call last):
-   File "/home/mpt/hacking/software-center/softwarecenter/ui/gtk3/panes/installedpane.py", line 197, in rebuild_categorised_view
-     enq.set_query(self.state.channel.query,
+   File "/home/mpt/hacking/software-center/softwarecenter/ui/gtk3/panes/installedpane.py", line 197, in rebuild_categorised_view
+     enq.set_query(self.state.channel.query,
  AttributeError: 'NoneType' object has no attribute 'query'
  ------------
+ 
+ What should happen: The "Installed" list appears.
+ 
+ Workaround: Click "All Software", then click "Installed" again.

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

Title:
  "Installed" screen doesn't work (AttributeError: 'NoneType' object has
  no attribute 'query')

Status in “software-center” package in Ubuntu:
  New

Bug description:
  software-center-gtk3 trunk r2217, Ubuntu Ocelot

  1. Launch USC.
  2. Click "Installed".

  What happens:
  * The main pane goes blank.
  * A traceback:
  ------------
  Traceback (most recent call last):
    File "/home/mpt/hacking/software-center/softwarecenter/ui/gtk3/panes/viewswitcher.py", line 148, in config_view
      state = pane.state.copy()
    File "/home/mpt/hacking/software-center/softwarecenter/ui/gtk3/panes/softwarepane.py", line 145, in copy
      state.filter = self.filter.copy()
  AttributeError: 'NoneType' object has no attribute 'copy'
  Traceback (most recent call last):
    File "/home/mpt/hacking/software-center/softwarecenter/ui/gtk3/panes/installedpane.py", line 197, in rebuild_categorised_view
      enq.set_query(self.state.channel.query,
  AttributeError: 'NoneType' object has no attribute 'query'
  ------------

  What should happen: The "Installed" list appears.

  Workaround: Click "All Software", then click "Installed" again.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/835066/+subscriptions


Follow ups

References