Hi Daniel, Am Freitag, den 02.05.2014, 18:25 +0200 schrieb Daniel Pocock: > I'm trying to use install-xpi with tbdialout 1.7.2 >[...] > 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
I modified install-xpi to print an error message instead of creating a stack trace, but this won't solve your issue. Your install.xpi file is malformed as you can verify on [1]. I have attached a patch for your install.rdf file that fixes this error without removing the localization. Please forward this patch upstream. [1] http://www.w3.org/RDF/Validator/rdfval -- Benjamin Drung Debian & Ubuntu Developer
--- a/install.rdf 2012-01-04 18:10:22.000000000 +0100 +++ b/install.rdf 2014-05-10 00:04:57.776533116 +0200 @@ -9,48 +9,64 @@ <em:name>TBDialOut</em:name> <em:description>Place phone calls directly from Thunderbird's address book</em:description> </Description> + </em:localized> + <em:localized> <Description> <em:locale>de</em:locale> <em:name>TBDialOut</em:name> <em:description>Telefonieren direkt aus dem Thunderbird Adressbuch</em:description> <em:translator>Rainer Piper</em:translator> </Description> + </em:localized> + <em:localized> <Description> <em:locale>es</em:locale> <em:name>TBDialOut</em:name> <em:description>Efectuar llamadas directamente desde la lista de contactos de Thunderbird</em:description> <em:translator>Eduardo de Mier</em:translator> </Description> + </em:localized> + <em:localized> <Description> <em:locale>zh-CN</em:locale> <em:name>TBDialOut</em:name> <em:description>直接从 Thunderbird 的通讯录拨打电话。</em:description> <em:translator>yfdyh000 (yfdyh...@gmail.com)</em:translator> </Description> + </em:localized> + <em:localized> <Description> <em:locale>nl</em:locale> <em:name>TBDialOut</em:name> <em:description>Voer rechtstreeks vanuit het adresboek in Thunderbird telefoongesprekken</em:description> <em:translator>markh van BabelZilla.org</em:translator> </Description> + </em:localized> + <em:localized> <Description> <em:locale>fr</em:locale> <em:name>TBDialOut</em:name> <em:description>Permet de placer des appels à partir du carnet d'adresses de Thunderbird</em:description> <em:translator>Olivier H. Beauchesne http://olihb.com</em:translator> </Description> + </em:localized> + <em:localized> <Description> <em:locale>sv</em:locale> <em:name>TBDialOut</em:name> <em:description>Ring telefonsamtal direkt från Thunderbirds adressbok</em:description> <em:translator>Mikael Hiort af Ornäs</em:translator> </Description> + </em:localized> + <em:localized> <Description> <em:locale>it</em:locale> <em:name>TBDialOut</em:name> <em:description>Permette di effettuare chiamate direttamente dalla rubrica di Thunderbird</em:description> <em:translator>Luana Di Muzio - BabelZilla</em:translator> </Description> + </em:localized> + <em:localized> <Description> <em:locale>ru</em:locale> <em:name>TBDialOut</em:name>
_______________________________________________ Pkg-mozext-maintainers mailing list Pkg-mozext-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-mozext-maintainers