Closed Bug 616844 Opened 14 years ago Closed 13 years ago

cfx error if 'name' value in package.json has caps

Categories

(Add-on SDK Graveyard :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 568131

People

(Reporter: dietrich, Unassigned)

Details

The summary says it all. Error:

Traceback (most recent call last):
  File "/home/dietrich/moz/addon-sdk/bin/cfx", line 29, in <module>
    cuddlefish.run()
  File "/home/dietrich/moz/addon-sdk/python-lib/cuddlefish/__init__.py", line 572, in run
    include_dep_tests=options.dep_tests
  File "/home/dietrich/moz/addon-sdk/python-lib/cuddlefish/packaging.py", line 266, in generate_build_for_target
    add_section_to_build(target_cfg, "tests", is_code=True)
  File "/home/dietrich/moz/addon-sdk/python-lib/cuddlefish/packaging.py", line 233, in add_section_to_build
    validate_resource_hostname(name)
  File "/home/dietrich/moz/addon-sdk/python-lib/cuddlefish/packaging.py", line 68, in validate_resource_hostname
    raise ValueError('invalid resource hostname: %s' % name)
ValueError: invalid resource hostname: jid0-lzanqywqtbj8y0mslytt3pmausy-AddonEditor-tests
Fixed in bug 568131.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.