Closed Bug 1023855 Opened 11 years ago Closed 11 years ago

Traceback (most recent call last): UTF-8

Categories

(Marketplace Graveyard :: Validation, defect)

Avenir
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1023490

People

(Reporter: thomas.pellegrin, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0 (Beta/Release) Build ID: 20140506152807 Steps to reproduce: I try to submit my webapp for validation, and I receive an error that I can understand... My application is minified with angularjs and some other js api. You can access it on : http://www.tpgen.com/ I am quite sure the problem is from my side, but the error message doesn't help me a lot. I will try to git app-validator to see If I can't understand the problem. Other question what's the version of the market place current used ? I said Avenir but don't really know the version. Thanks for your help. Thomas Actual results: Traceback (most recent call last): File "/data/mkt.prod/www/marketplace.firefox.com/deploy-zamboni-prod-20140610203737-395cf771de/zamboni/mkt/developers/tasks.py", line 66, in validator validation_result = run_validator(upload.path, url=kw.get('url')) File "/data/mkt.prod/www/marketplace.firefox.com/deploy-zamboni-prod-20140610203737-395cf771de/zamboni/mkt/developers/tasks.py", line 131, in run_validator url=url) File "/data/mkt.prod/www/marketplace.firefox.com/current/venv/src/app-validator/appvalidator/validate.py", line 38, in validate_app submain.test_inner_package(bundle, None) File "/data/mkt.prod/www/marketplace.firefox.com/current/venv/src/app-validator/appvalidator/submain.py", line 119, in test_inner_package test(err, package) File "/data/mkt.prod/www/marketplace.firefox.com/current/venv/src/app-validator/appvalidator/testcases/webappbase.py", line 372, in test_app_resources resource_type="launch_path", max_size=False) File "/data/mkt.prod/www/marketplace.firefox.com/current/venv/src/app-validator/appvalidator/testcases/webappbase.py", line 202, in try_get_resource data = data.decode(request.encoding) File "/data/mkt.prod/www/marketplace.firefox.com/current/venv/lib64/python2.6/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0x8b in position 1: invalid start byte Expected results: can't submit my application
we should have a fix for this soon
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
As a temporary workaround you could disable gzip compression when serving your manifest (if possible)
Correction: you'd have to serve your app (at its launch path) without gzip compression to work around the bug. The fix should be live within the week though.
You need to log in before you can comment on or make changes to this bug.