[Pkg-mozext-maintainers] Bug#746699: xpi-pack complains about multiple localizations
Daniel Pocock
daniel at pocock.pro
Fri May 2 16:25:43 UTC 2014
Package: mozilla-devscripts
Version: 0.32
Severity: important
I'm trying to use install-xpi with tbdialout 1.7.2
I copied debian/rules from another package, dispmua, which I am using as
an example. I have:
%:
dh $@ --with xul-ext
override_dh_auto_build:
xpi-pack . xul-ext-tbdialout.xpi
override_dh_auto_install:
install-xpi -x build.sh -x config_build.sh -x README
xul-ext-tbdialout.xpi
It fails with the errors below. I can work around it be commenting out
the non-English localizations inside install.rdf but this is not ideal.
librdf error - property element 'localized' has multiple object node
elements, skipping.
librdf error - property element 'localized' has multiple object node
elements, skipping.
librdf error - property element 'localized' has multiple object node
elements, skipping.
librdf error - property element 'localized' has multiple object node
elements, skipping.
librdf error - property element 'localized' has multiple object node
elements, skipping.
librdf error - property element 'localized' has multiple object node
elements, skipping.
librdf error - property element 'localized' has multiple object node
elements, skipping.
Caught error "property element 'localized' has multiple object node
elements, skipping."
Traceback (most recent call last):
File "/usr/bin/install-xpi", line 274, in <module>
main()
File "/usr/bin/install-xpi", line 271, in main
options.system_prefs, options.verbose)
File "/usr/bin/install-xpi", line 199, in install_xpi
extension_id = get_extension_id(os.path.join(copy_dir, "install.rdf"))
File "/usr/bin/install-xpi", line 71, in get_extension_id
"SELECT ?id WHERE {?x em:targetApplication [] . ?x em:id ?id }"))
File "/usr/bin/install-xpi", line 56, in get_query_field_id_as_list
parser.parse_into_model(model, "file:" + rdf_path)
File "/usr/lib/python2.7/dist-packages/RDF.py", line 1801, in
parse_into_model
raise err
RDF.RedlandError: "property element 'localized' has multiple object node
elements, skipping."
make[1]: *** [override_dh_auto_install] Error 1
More information about the Pkg-mozext-maintainers
mailing list