Closed
Bug 640364
Opened 14 years ago
Closed 14 years ago
Validation of language packs fails with 'TypeError: 'NoneType' object is not iterable'
Categories
(addons.mozilla.org Graveyard :: Public Pages, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
6.0.1
People
(Reporter: krupa.mozbugs, Assigned: basta)
References
Details
(Keywords: regression)
Attachments
(1 file)
139.14 KB,
application/x-xpinstall
|
Details |
steps to reproduce:
1. Validate the attached language pack
Validates fine in prod.
traceback details:
"Traceback (most recent call last):
File "/data/amo_python/www/preview/zamboni/apps/devhub/tasks.py", line 27, in validator
result = _validator(upload.path)
File "/data/amo_python/www/preview/zamboni/apps/devhub/tasks.py", line 70, in _validator
spidermonkey=settings.SPIDERMONKEY)
File "/data/amo_python/www/preview/zamboni/vendor/src/amo-validator/validator/validate.py", line 37, in validate
validator.submain.prepare_package(bundle, path, expectation)
File "/data/amo_python/www/preview/zamboni/vendor/src/amo-validator/validator/submain.py", line 52, in prepare_package
output = test_package(err, package, path, expectation)
File "/data/amo_python/www/preview/zamboni/vendor/src/amo-validator/validator/submain.py", line 137, in test_package
return test_inner_package(err, package_contents, package)
File "/data/amo_python/www/preview/zamboni/vendor/src/amo-validator/validator/submain.py", line 223, in test_inner_package
test_func(err, package_contents, xpi_package)
File "/data/amo_python/www/preview/zamboni/vendor/src/amo-validator/validator/testcases/l10ncompleteness.py", line 193, in test_lp_xpi
for ref_locale_name in ref_locales:
TypeError: 'NoneType' object is not iterable
Reporter | ||
Updated•14 years ago
|
Summary: Validation of language pack fails with 'TypeError: 'NoneType' object is not iterable' → Validation of language packs fails with 'TypeError: 'NoneType' object is not iterable'
Updated•14 years ago
|
Assignee: nobody → mbasta
Assignee | ||
Comment 1•14 years ago
|
||
This issue is corrected by the fixes made for bug 638624
Depends on: 638624
Comment 2•14 years ago
|
||
(In reply to comment #1)
> This issue is corrected by the fixes made for bug 638624
mm, I didn't know this was dependent on a bug in a future milestone. Bumping. :-/
Target Milestone: 6.0.0 → 6.0.1
Comment 3•14 years ago
|
||
Krupa points out that this s a regression. Matt, is this something that can be split out and fixed today?
Assignee | ||
Comment 4•14 years ago
|
||
Here's the patch for 638624, which will also fix this bug:
https://github.com/mozilla/amo-validator/pull/4
Assignee | ||
Comment 5•14 years ago
|
||
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Comment 6•14 years ago
|
||
validator is updated in https://github.com/jbalogh/zamboni-lib/commit/77cab0b2bf193ad7d587313a2a90be6a3acb0474
Reporter | ||
Comment 7•14 years ago
|
||
Filed bug Bug 640748. No tracebacks on validating language packs. Marking this as verified.
Status: RESOLVED → VERIFIED
Updated•9 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•