This can be verified by someone with admin access, but I think the issue is that the application_screenshots view is 404'ing:
https://apps.ubuntu.com/cat/applications/screenshots/unity-lens-askubuntu/
because the package isn't marked as the latest package. I get the same 404 locally for the firefox package, and noticed this:
{{{ 235 def application_screenshots(request, package_name): 236 import pdb;pdb.set_trace() 237 -> app = get_object_or_404(Application, package_name=package_name, 238 is_latest=True) 239 screenshots = WebServices().get_screenshots_for_package(package_name) 240 return HttpResponse(json.dumps(screenshots), 241 mimetype='application/json') 242 (Pdb) Application.objects.get(package_name=package_name) <Application: Safe and easy web browser from Mozilla (firefox)> (Pdb) Application.objects.get(package_name=package_name, is_latest=True) *** DoesNotExist: Application matching query does not exist. }}}
This can be verified by someone with admin access, but I think the issue is that the application_ screenshots view is 404'ing:
https:/ /apps.ubuntu. com/cat/ applications/ screenshots/ unity-lens- askubuntu/
because the package isn't marked as the latest package. I get the same 404 locally for the firefox package, and noticed this:
{{{ screenshots( request, package_name): or_404( Application, package_ name=package_ name, ).get_screensho ts_for_ package( package_ name) json.dumps( screenshots) , 'application/ json') objects. get(package_ name=package_ name) objects. get(package_ name=package_ name, is_latest=True)
235 def application_
236 import pdb;pdb.set_trace()
237 -> app = get_object_
238 is_latest=True)
239 screenshots = WebServices(
240 return HttpResponse(
241 mimetype=
242
(Pdb) Application.
<Application: Safe and easy web browser from Mozilla (firefox)>
(Pdb) Application.
*** DoesNotExist: Application matching query does not exist.
}}}