"Canonical does not provide updates for ." for non-apps

Bug #549011 reported by Matthew Paul Thomas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Fix Released
High
Zygmunt Krynicki

Bug Description

Binary package hint: software-center

Ubuntu Software Center 1.1.20, Ubuntu Lucid

1. Navigate to "Get Software" > "Fonts" > "Japanese OpenType font set, IPAfont".
2. Choose "More Info".
3. Scroll to the bottom.

What you see: "Canonical does not provide updates for . Some updates may be provided by the Ubuntu community."
What you should see: "Canonical does not provide updates for Japanese OpenType font set, IPAfont. Some updates may be provided by the Ubuntu community."

This string should be using the same title function as the fix for bug 537436 should use.

Changed in software-center (Ubuntu):
importance: Undecided → High
Changed in software-center (Ubuntu):
status: New → Confirmed
Michael Vogt (mvo)
summary: - "Canonical does not provide updates for ."
+ "Canonical does not provide updates for ." for non-apps
Michael Vogt (mvo)
Changed in software-center (Ubuntu):
assignee: nobody → Zygmunt Krynicki (zkrynicki)
Revision history for this message
Zygmunt Krynicki (zyga) wrote :

Backtrace that shows where Application objects are created with empty name.

Traceback (most recent call last):
  File "/home/zyga/Ubuntu/ubuntu-desktop/software-center.lp549011/softwarecenter/view/softwarepane.py", line 51, in <lambda>
    glib.timeout_add(500, lambda: wrapper(*args, **kwargs))
  File "/home/zyga/Ubuntu/ubuntu-desktop/software-center.lp549011/softwarecenter/view/softwarepane.py", line 56, in wrapper
    f(*args, **kwargs)
  File "/home/zyga/Ubuntu/ubuntu-desktop/software-center.lp549011/softwarecenter/view/availablepane.py", line 202, in _refresh_apps_with_apt_cache
    filter=self.apps_filter)
  File "/home/zyga/Ubuntu/ubuntu-desktop/software-center.lp549011/softwarecenter/view/appview.py", line 165, in __init__
    app = Application(appname, pkgname, popcon)
  File "/home/zyga/Ubuntu/ubuntu-desktop/software-center.lp549011/softwarecenter/__init__.py", line 30, in __init__
    raise ValueError("Application name cannot be empty")
ValueError: Application name cannot be empty

Revision history for this message
Zygmunt Krynicki (zyga) wrote :

Fixed by using package name when application name is not available.

Michael Vogt (mvo)
Changed in software-center (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package software-center - 1.1.25

---------------
software-center (1.1.25) lucid; urgency=low

  [ Gary Lasker ]
  * softwarecenter/view/viewswitcher.py:
    - fix intermittent AttributeError if a model doesn't
      exist when checking node expanded state (LP: #554388)
  * softwarecenter/view/viewswitcher.py:
    - fix nasty list view errors when disabling partner
      repository (LP: #556995)
  * softwarecenter/view/appview.py:
    - fix intermittent AttributeError in row selection
      (LP: #552224)
  * softwarecenter/view/availablepane.py:
    - fix double call to set_category method
  * softwarecenter/view/channelpane.py,
    softwarecenter/view/installedpane.py:
    - fix bug where clicking the "Search Results" navigation
      button in the "Installed View" or in a PPA/channel
      view has no effect (LP: #559732)
  * softwarecenter/view/channelpane.py:
    - fix bug where selecting a new PPA/channel while
      a search is in effect in the current PPA/channel
      does not display the new PPA/channel (LP: #559742)

  [ Michael Vogt ]
  * softwarecenter/apt/aptcache.py:
    - add file monitor to detect changes in the dpkg status
      when apt is run outside of software-center (LP: #432555)
  * softwarecenter/view/appdetailsview.py:
    - only show "needs updating" message if we have a component
      associated with the software-item (LP: #542892)
  * softwarecenter/db/database.py:
    - when we have no package and no information no how to get it,
      display unavailable message instead of a empty summary line
  * merged lp:~mmcg069/software-center/pathbar-atk
    - this makes the pathbar on top fully accessible with e.g.
      orca (LP: #526384). Also fixes intermittent TypeError bug
      (LP: #558895) and nav button visual artifact when selecting
      a channel (LP: #531724). Many thanks!
  * softwarecenter/view/appview.py:
    - avoid blocking if a operation takes long

  [ Zygmunt Krynicki ]
  * softwarecenter/view/appdetailsview.py:
    - use package name when application name is not available (LP: #549011)
 -- Michael Vogt <email address hidden> Sat, 10 Apr 2010 16:29:10 +0200

Changed in software-center (Ubuntu):
status: Fix Committed → Fix Released
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.