Closed Bug 852160 Opened 13 years ago Closed 13 years ago

[traceback] OSError: [Errno 2] No such file or directory / genericpath in getsize - minifest broken

Categories

(Marketplace Graveyard :: Consumer Pages, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: eviljeff, Assigned: andy+bugzilla)

References

()

Details

I was going to file this under Reviewer Tools but the same error occurs on the details page so its not Reviewer Tools specific (the consumer page gives a slightly more descriptive error that the manifest can't be found). https://marketplace.firefox.com/reviewers/apps/review/rain or https://marketplace.firefox.com/app/rain its a packaged app; where I can view both the mini-manifest, and the internal zip package. I don't think its a signing issue as its a marketplace error dialog and is shown before the OS install confirmation and download.
https://marketplace.firefox.com/app/91be9e11-c34c-4dda-933b-fa0a6645e046/manifest.webapp returns a 500 http://sentry.dmz.phx1.mozilla.com/addons/marketplace/group/12267/ OSError: [Errno 2] No such file or directory: '/mnt/netapp_amo/addons.mozilla.org/shared_storage/signed_apps/423008/rain-1.0.signed.zip' Stacktrace (most recent call last): File "django/core/handlers/base.py", line 111, in get_response response = callback(request, *callback_args, **callback_kwargs) File "mkt/detail/views.py", line 80, in manifest manifest_content = addon.get_cached_manifest() File "mkt/webapps/models.py", line 627, in get_cached_manifest 'size': storage.size(file_obj.signed_file_path), File "django/core/files/storage.py", line 250, in size return os.path.getsize(self.path(name)) File "python2.6/genericpath.py", line 49, in getsize return os.stat(filename).st_size
Summary: Rain App gives an 'install failed' error message → [traceback] OSError: [Errno 2] No such file or directory / genericpath in getsize - minifest broken
Mar 18 08:35:44 web28.addons.phx1.mozilla.com: [fea901d0-8a68-11e1-bf36-441ea15c3000][2.103.88.26] z.crypto:INFO Receipt contents: {"product": {"url": "https://marketplace.firefox.com", "storedata": "id=423008", "type": "reviewer"}, "iss": "https://marketplace.firefox.com", "verify": "https://marketplace.firefox.com/reviewers/receipt/verify/91be9e11-c34c-4dda-933b-fa0a6645e046", "detail": "https://marketplace.firefox.com/purchases/423008", "reissue": "https://marketplace.firefox.com/app/rain/purchase/reissue", "user": {"type": "directed-identifier", "value": "38828-9d50f375-3d07-42d7-a5d0-fd42e018f258"}, "exp": 1363707344, "iat": 1363620944, "typ": "purchase-receipt", "nbf": 1363620944} :/data/www/addons.mozilla.org/zamboni/lib/crypto/receipt.py:34 Mar 18 08:36:25 web25.addons.phx1.mozilla.com: [fea901d0-8a68-11e1-bf36-441ea15c3000][2.103.88.26] z.crypto:INFO Signing version: 1424596 of app: 423008: Rain! :/data/www/addons.mozilla.org/zamboni/lib/crypto/packaged.py:112 Mar 18 08:36:25 web25.addons.phx1.mozilla.com: [fea901d0-8a68-11e1-bf36-441ea15c3000][2.103.88.26] z.reviewers:INFO Returning signed package addon: 423008, version: 1424596, path: /mnt/netapp_amo/addons.mozilla.org/shared_storage/signed_apps_reviewer/423008/rain-1.0.signed.zip :/data/www/addons.mozilla.org/zamboni/mkt/reviewers/views.py:957 Mar 18 08:45:51 web15.addons.phx1.mozilla.com: [fea901d0-8a68-11e1-bf36-441ea15c3000][2.103.88.26] z.crypto:INFO Receipt contents: {"product": {"url": "https://marketplace.firefox.com", "storedata": "id=423008"}, "iss": "https://marketplace.firefox.com", "verify": "https://receiptcheck.marketplace.firefox.com/verify/", "detail": "https://marketplace.firefox.com/purchases/423008", "reissue": "https://marketplace.firefox.com/app/rain/purchase/reissue", "user": {"type": "directed-identifier", "value": "39714-a9d99036-549f-407c-9405-1d5081405f0b"}, "exp": 1379346351, "iat": 1363621551, "typ": "purchase-receipt", "nbf": 1363621551} :/data/www/addons.mozilla.org/zamboni/lib/crypto/receipt.py:34 Mar 18 08:45:51 web15.addons.phx1.mozilla.com: [fea901d0-8a68-11e1-bf36-441ea15c3000][2.103.88.26] z.metrics:INFO 7591ab4c-956c-4cab-9af1-f46e7a3b6d70|install|{"src": "mkt-detail", "app-id": 423008, "app-domain": "https://marketplace.firefox.com", "user-agent": "Mozilla/5.0 (Mobile; rv:18.0) Gecko/18.0 Firefox/18.0", "locale": "en-US", "anonymous": false} :/data/www/addons.mozilla.org/zamboni/lib/metrics/__init__.py:25 Mar 18 08:45:54 web23.addons.phx1.mozilla.com: [][] django.request:ERROR /app/91be9e11-c34c-4dda-933b-fa0a6645e046/manifest.webapp Internal Server Error: /app/91be9e11-c34c-4dda-933b-fa0a6645e046/manifest.webapp :/data/www/addons.mozilla.org/venv/lib/python2.6/site-packages/django/core/handlers/base.py:215#012Traceback (most recent call last):#012 File "/data/www/addons.mozilla.org/venv/lib/python2.6/site-packages/django/core/handlers/base.py", line 111, in get_response#012 response = callback(request, *callback_args, **callback_kwargs)#012 File "/data/www/addons.mozilla.org/zamboni/mkt/detail/views.py", line 80, in manifest#012 manifest_content = addon.get_cached_manifest()#012 File "/data/www/addons.mozilla.org/zamboni/mkt/webapps/models.py", line 627, in get_cached_manifest#012 'size': storage.size(file_obj.signed_file_path),#012 File "/data/www/addons.mozilla.org/venv/lib/python2.6/site-packages/django/core/files/storage.py", line 250, in size#012 return os.path.getsize(self.path(name))#012 File "/usr/lib64/python2.6/genericpath.py", line 49, in getsize#012 return os.stat(filename).st_size#012OSError: [Errno 2] No such file or directory: '/mnt/netapp_amo/addons.mozilla.org/shared_storage/signed_apps/423008/rain-1.0.signed.zip'
Assignee: nobody → amckay
Is this happening for every minifest?
It was only that one app and it worked a few days later.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.