Thanks to bzr branch lp:ubuntu/software-version, I think I found the
bug.

./view/appdetailsview_webkit.py, lines 306-307:

    def on_screenshot_thumbnail_clicked(self):
        url = self.distro.SCREENSHOT_LARGE_URL % self.app.pkgname

SCREENSHOT_LARGE_URL is "http://screenshots.ubuntu.com/screenshot-with-
version/%(pkgname)s/%(version)s" and interpolating just the package
name, instead of a dictionary with all the data, results in a

    TypeError: format requires a mapping

I think the right fix is to change that function to

    def on_screenshot_thumbnail_clicked(self):
        url = self.app.screenshot

but I cannot test it myself, since apparently I got natty's version
which build-depends on python-scour which doesn't exist in maverick ...

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

Title:
  Software-center does not show screenshots

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

Reply via email to