Closed
Bug 1012817
Opened 11 years ago
Closed 11 years ago
non ascii code support in manifest
Categories
(Marketplace Graveyard :: Validation, defect, P2)
Tracking
(Not tracked)
VERIFIED
FIXED
2014-06-03
People
(Reporter: nick, Assigned: mat)
Details
(Whiteboard: [repoman])
I'm not sure what there error is here, but a developer was reporting a validation error [0]. They reported the following line from a stack trace which looks suspect:
"/data/mkt.prod/www/marketplace.firefox.com/current/venv/lib64/python2.6/re.py", line 151, in sub return _compile(pattern, 0).sub(repl, string, count) UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 6: ordinal not in range(128)
Their manifest [1].
[0] https://marketplace.firefox.com/developers/upload/542ea04e42dc42a6b498b81dd1715883
[1] http://mozilla-albania.org/manifest.webapp
Reporter | ||
Updated•11 years ago
|
Summary: multi locale support → non ascii code support in manifest
Comment 1•11 years ago
|
||
Thank you Nick for the bug report.
I was working on our Mozilla Albania community page app when I encountered this error.
Seems this is not something from our end so we hope to get this fixed soon.
For any details regarding bug reports or tests let me know (I submitted the manifest specified by Nick)
Assignee | ||
Comment 2•11 years ago
|
||
That manifest includes a BOM (https://en.wikipedia.org/wiki/Byte_order_mark) at the beginning of the file, which I'm not sure is supported. Regardless, we certainly shouldn't expose tracebacks like that when validating.
Updated•11 years ago
|
Priority: -- → P2
Whiteboard: [repoman]
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → mpillard
Assignee | ||
Comment 3•11 years ago
|
||
As it turns out, the problem was not the manifest itself, but the validator choking on UTF-8 content on the launch_page, which it tries to parse. I've submitted https://github.com/mozilla/app-validator/pull/25 to fix this.
Status: NEW → ASSIGNED
Target Milestone: --- → 2014-05-27
Assignee | ||
Updated•11 years ago
|
Target Milestone: 2014-05-27 → 2014-06-03
Assignee | ||
Comment 4•11 years ago
|
||
Fixed in https://github.com/mozilla/app-validator/commit/50ae334d74ca2e52efcc98baeb1b7e283d6d2c6a and https://github.com/mozilla/zamboni/commit/8f8a6560e1c83db819b10194d5989e65efee4e68
STR:
- Validate & submit an hosted app with this manifest: http://mozilla-albania.org/manifest.webapp
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 5•11 years ago
|
||
Elio, can you give resubmission a shot and let us know how it goes?
Flags: needinfo?(helios)
Comment 6•11 years ago
|
||
(In reply to Nick Desaulniers [:\n] from comment #5)
> Elio, can you give resubmission a shot and let us know how it goes?
Note that this fix is not in production yet. Please try submitting after 06/03.
However, the issue is fixed in dev. Verified fixed at https://marketplace-dev.allizom.org/developers/upload/d35e00c149584cdda3da601777c05cab
Status: RESOLVED → VERIFIED
Comment 7•11 years ago
|
||
Yeah, it gave me the same error message now, so I will check again in a week.
Flags: needinfo?(helios)
You need to log in
before you can comment on or make changes to this bug.
Description
•