Closed Bug 556072 Opened 14 years ago Closed 13 years ago

rdf.py can't handle some RDF serializations

Categories

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

Tracking

(Not tracked)

RESOLVED WONTFIX
Future

People

(Reporter: asqueella, Unassigned)

Details

When attempting to use "cfx xpi -t <non-standard template>", you can get this exception when cfx tries to update install.rdf:

Traceback (most recent call last):
  File "/Users/nickolay/dev/jetpack-sdk/bin/cfx", line 6, in <module>
    cuddlefish.run()
  File "/Users/nickolay/dev/jetpack-sdk/python-lib/cuddlefish/__init__.py", line 400, in run
    update_url=options.update_url)
  File "/Users/nickolay/dev/jetpack-sdk/python-lib/cuddlefish/rdf.py", line 94, in gen_manifest
    target_cfg.get('version', '1.0'))
  File "/Users/nickolay/dev/jetpack-sdk/python-lib/cuddlefish/rdf.py", line 74, in set
    raise ValueError("Element with value not found: %s" % property)

With install.rdf like this: http://svn.doslash.org/asqueella/infolister/install.rdf

(i.e. when instead of an <em:id> element, I use an attribute on <RDF:Description>.)

I believe this is the format Mozilla's own RDF serializer uses.

I realize fixing this may not be worth the development effort, but I wanted to mention it in bugzilla link from the docs.
This does seem worth fixing, although it's not clear by when we should do so.  This might be a good first bug for someone looking to get involved in SDK development.
Target Milestone: -- → Future
The Add-on SDK is no longer a Mozilla Labs experiment and has become a big enough project to warrant its own Bugzilla product, so the "Add-on SDK" product has been created for it, and I am moving its bugs to that product.

To filter bugmail related to this change, filter on the word "looptid".
Component: Jetpack SDK → General
Product: Mozilla Labs → Add-on SDK
QA Contact: jetpack-sdk → general
Priority: -- → P3
This has been dead for forever. If you still think it's worth it, please reopen with justification. :)
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.