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 ...
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): SCREENSHOT_ LARGE_URL % self.app.pkgname
url = self.distro.
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 ...