{"action":"created","issue":{"url":"https://api.github.com/repos/mvantellingen/localshop/issues/138","labels_url":"https://api.github.com/repos/mvantellingen/localshop/issues/138/labels{/name}","comments_url":"https://api.github.com/repos/mvantellingen/localshop/issues/138/comments","events_url":"https://api.github.com/repos/mvantellingen/localshop/issues/138/events","html_url":"https://github.com/mvantellingen/localshop/issues/138","id":70501247,"number":138,"title":"wheels break localshop","user":{"login":"fly","id":744549,"avatar_url":"https://avatars.githubusercontent.com/u/744549?v=3","gravatar_id":"","url":"https://api.github.com/users/fly","html_url":"https://github.com/fly","followers_url":"https://api.github.com/users/fly/followers","following_url":"https://api.github.com/users/fly/following{/other_user}","gists_url":"https://api.github.com/users/fly/gists{/gist_id}","starred_url":"https://api.github.com/users/fly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fly/subscriptions","organizations_url":"https://api.github.com/users/fly/orgs","repos_url":"https://api.github.com/users/fly/repos","events_url":"https://api.github.com/users/fly/events{/privacy}","received_events_url":"https://api.github.com/users/fly/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-23T20:08:30Z","updated_at":"2015-04-23T22:49:26Z","closed_at":null,"body":"from localshop log:\r\n```\r\nERROR 2015-04-23 19:59:36,099 base 10245 140388478600960 Internal Server Error: /packages/a_pkg/download/6920/a_pkg-1.5.0.tar.gz\r\nTraceback (most recent call last):\r\n  File \"/opt/virtualenvs/localshop/local/lib/python2.7/site-packages/django/core/handlers/base.py\", line 111, in get_response\r\n    response = wrapped_callback(request, *callback_args, **callback_kwargs)\r\n  File \"/opt/virtualenvs/localshop/local/lib/python2.7/site-packages/localshop/apps/permissions/utils.py\", line 61, in decorator\r\n    return view_func(request, *args, **kwargs)\r\n  File \"/opt/virtualenvs/localshop/local/lib/python2.7/site-packages/localshop/apps/packages/views.py\", line 159, in download_file\r\n    release_file = models.ReleaseFile.objects.get(pk=pk)\r\n  File \"/opt/virtualenvs/localshop/local/lib/python2.7/site-packages/django/db/models/manager.py\", line 92, in manager_method\r\n    return getattr(self.get_queryset(), name)(*args, **kwargs)\r\n  File \"/opt/virtualenvs/localshop/local/lib/python2.7/site-packages/django/db/models/query.py\", line 357, in get\r\n    self.model._meta.object_name)\r\nDoesNotExist: ReleaseFile matching query does not exist.\r\n```\r\n\r\n`pip install a_pkg` output:\r\n```\r\nCollecting a_pkg\r\n  HTTP error 500 while getting https://pypi/packages/a_pkg/download/6920/a_pkg-1.5.0.tar.gz#md5=d5556c6e1dd9c1df2b3d59acb90278f1 (from https://pypi/simple/a_pkg/)\r\n  Could not install requirement a_pkg from https://pypi/packages/a_pkg/download/6920/a_pkg-1.5.0.tar.gz#md5=d5556c6e1dd9c1df2b3d59acb90278f1 because of error 500 Server Error: INTERNAL SERVER ERROR\r\n  Could not install requirement a_pkg from https://pypi/packages/a_pkg/download/6920/a_pkg-1.5.0.tar.gz#md5=d5556c6e1dd9c1df2b3d59acb90278f1 because of HTTP error 500 Server Error: INTERNAL SERVER ERROR for URL https://pypi/packages/a_pkg/download/6920/a_pkg-1.5.0.tar.gz#md5=d5556c6e1dd9c1df2b3d59acb90278f1 (from https://pypi/simple/a_pkg/)\r\n```\r\n\r\nSo it looks like pip asks localshop for releases, and localshop sees the release but tries to serve an sdist that doesn't exist?"},"comment":{"url":"https://api.github.com/repos/mvantellingen/localshop/issues/comments/95738830","html_url":"https://github.com/mvantellingen/localshop/issues/138#issuecomment-95738830","issue_url":"https://api.github.com/repos/mvantellingen/localshop/issues/138","id":95738830,"user":{"login":"canassa","id":288227,"avatar_url":"https://avatars.githubusercontent.com/u/288227?v=3","gravatar_id":"","url":"https://api.github.com/users/canassa","html_url":"https://github.com/canassa","followers_url":"https://api.github.com/users/canassa/followers","following_url":"https://api.github.com/users/canassa/following{/other_user}","gists_url":"https://api.github.com/users/canassa/gists{/gist_id}","starred_url":"https://api.github.com/users/canassa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/canassa/subscriptions","organizations_url":"https://api.github.com/users/canassa/orgs","repos_url":"https://api.github.com/users/canassa/repos","events_url":"https://api.github.com/users/canassa/events{/privacy}","received_events_url":"https://api.github.com/users/canassa/received_events","type":"User","site_admin":false},"created_at":"2015-04-23T22:49:26Z","updated_at":"2015-04-23T22:49:26Z","body":"I've testes uploading/download wheels and it seems to be working fine.\r\n\r\nCould you please provide more detailed steps on how to reproduce this error?\r\n\r\nThanks"}}