install.rdf fails validation during upload

VERIFIED FIXED in 2012-06-21


7 years ago
3 years ago


(Reporter: kinger, Unassigned)





(1 attachment)



7 years ago
I'm trying to upload a new version of one of my add-ons. install.rdf fails to validation, thus it fails. Nothing has changed in install.rdf except the version number, since the last successful upload. It installs and works fine.

Message is:

Your add-on failed validation with 1 error.
Could not parse install.rdf

Here is the XPI:

Comment 1

7 years ago
This runs fine locally, so it leads me to believe that it's being unpacked wrong on the Zamboni side.
This is happening for many different add-ons, so it's most likely a server problem.

Comment 3

7 years ago
I suspect this to be the cause:

Can we get a look at the logs?
The exception is:

files.utils:ERROR XPI parse error :/data/www/ (most recent call last):#012  File "/data/www/", line 389, in parse_xpi#012    rdf = Extractor.parse(path)#012  File "/data/www/", line 86, in parse#012    return cls(install_rdf).data#012  File "/data/www/", line 70, in __init__#012    'install.rdf')))#012  File "/data/www/", line 757, in parse#012    parser.parse(source, self, **args)#012  File "/data/www/", line 562, in parse#012    self._parser = create_parser(source, sink)#012  File "/data/www/", line 540, in create_parser#012    parser = make_parser()#012  File "/usr/lib64/python2.6/xml/sax/", line 93, in make_parser#012    raise SAXReaderNotAvailable("No parsers found", None)#012SAXReaderNotAvailable: No parsers found

who knows what it's trying to import though. Seems like some standard module is missing.
Looks like we had an unexpected Python upgrade on some servers. Jason is downgrading which should fix it.
Downgraded python on addons nodes to previous version python-2.6.6-29.el6.x86_64. Pinned puppet configuration to this version.
Brian, Jorge, did that fix it?

Comment 8

7 years ago
Working for me now.
Thanks, reopen if anyone runs into something
Last Resolved: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2012-06-21

Comment 10

7 years ago
WFM now as well.

Comment 11

7 years ago
I'm getting the same problem.

"Your add-on failed validation with 1 error.
Add-on missing install.rdf."

The only thing I changed since my last upload is the version number.  Here is my rdf file if you'd like to see it:
Have you tried uploading recently?

Comment 13

7 years ago
I tried a few minutes ago.  That was when I got the error with the rdf file.

Comment 14

7 years ago
Can you attach the XPI?

Comment 15

7 years ago
Created attachment 635008 [details]
better cdcs xpi file
That add-on has no install.rdf
(In reply to harryledley from comment #11)
> "Your add-on failed validation with 1 error.
> Add-on missing install.rdf."

Hello. This message is not the same as the message originally reported in this bug. "Add-on missing install.rdf" means exactly what it says. I looked at the add-on you attached and indeed it does not have the install.rdf in the right place. It is in a subdirectory but you need to put it in the main directory of the zipped xpi because that's where Firefox looks for it.

If you still have trouble with it after fixing your XPI please open another bug since it is a separate issue.

Comment 18

7 years ago
Ah, yes.  Thanks.  That fixed the problem.  Sorry for bothering for such a small thing.


3 years ago
Product: → Graveyard
You need to log in before you can comment on or make changes to this bug.