[FIXED] Pale Moon and new NS update channel

General discussion about the NoScript extension for Firefox
Post Reply
barbaz
Senior Member
Posts: 10841
Joined: Sat Aug 03, 2013 5:45 pm

[FIXED] Pale Moon and new NS update channel

Post by barbaz »

In Pale Moon when checking for addon updates I now get this -

Code: Select all

XML Parsing Error: not well-formed
Location: https://secure.informaction.com/download/classic/?v=5.1.8.5rc2
Line Number 1, Column 1: classic:1:1

addons.update-checker	WARN	Update manifest was not valid XML
From the error messages, it looks like Pale Moon expects a XML format update manifest. But NoScript's update manifest isn't XML. It's JSON.

Waterfox 56.0.4 has no problem with the JSON.


I realise Pale Moon isn't an officially supported browser, so this is mostly just FYI. No big deal to me, since I'll know through other means when NS gets updated and I do addon updates manually anyway.
*Always* check the changelogs BEFORE updating that important software!
-
User avatar
Giorgio Maone
Site Admin
Posts: 9454
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Pale Moon and new NS update channel

Post by Giorgio Maone »

Geez, you're right, thanks for the heads up.
I'm gonna fix it in time for the 1st actual update.
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0
barbaz
Senior Member
Posts: 10841
Joined: Sat Aug 03, 2013 5:45 pm

Re: Pale Moon and new NS update channel

Post by barbaz »

It's fixed now. Thanks Giorgio! Image
*Always* check the changelogs BEFORE updating that important software!
-
barbaz
Senior Member
Posts: 10841
Joined: Sat Aug 03, 2013 5:45 pm

Re: Pale Moon and new NS update channel

Post by barbaz »

Actually, maybe not 100% fixed? Pale Moon is not receiving the 5.1.8.5rc3 update.
(Waterfox 56.0.4.1 did get the update.)

EDIT
This is likely because of missing Pale Moon as a target application for NoScript Classic. At a guess, adding this to the NoScript Classic section might fix it -

Code: Select all

   <em:targetApplication>
     <RDF:Description>
     <em:id>{8de7fcbb-c55c-4fbe-bfc5-fc555c87dbc4}</em:id>
     <em:minVersion>27.0.2</em:minVersion>
     <em:maxVersion>*</em:maxVersion>
     <em:updateLink>https://secure.informaction.com/download/betas/noscript-5.1.8.5rc3.xpi</em:updateLink>
     </RDF:Description>
   </em:targetApplication>
*Always* check the changelogs BEFORE updating that important software!
-
User avatar
therube
Ambassador
Posts: 7924
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Pale Moon and new NS update channel

Post by therube »

missing Pale Moon as a target application for NoScript Classic
Did this change (silently)?
As I'm seeing a PM section in noscript-5.1.8.5rc3.xpi.

Code: Select all

MD5: noscript-5.1.8.5rc3.xpi   be7d130a6ca5291f2f389329cd736e20
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 5.1; rv:52.0) Gecko/20100101 SeaMonkey/2.49.2
barbaz
Senior Member
Posts: 10841
Joined: Sat Aug 03, 2013 5:45 pm

Re: Pale Moon and new NS update channel

Post by barbaz »

therube wrote:Did this change (silently)?
No, the XPIs are good. I'm referring to the update manifest.
*Always* check the changelogs BEFORE updating that important software!
-
User avatar
Giorgio Maone
Site Admin
Posts: 9454
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Pale Moon and new NS update channel

Post by Giorgio Maone »

Changed the update manifest, does it work now?
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0
barbaz
Senior Member
Posts: 10841
Joined: Sat Aug 03, 2013 5:45 pm

Re: Pale Moon and new NS update channel

Post by barbaz »

Still doesnt work, sorry. The current update manifest looks to be just updating a second extension with an ID matching Pale Moon's GUID.
*Always* check the changelogs BEFORE updating that important software!
-
User avatar
therube
Ambassador
Posts: 7924
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Pale Moon and new NS update channel

Post by therube »

I'm referring to the update manifest.
Just where do you look to see that?
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 5.1; rv:52.0) Gecko/20100101 SeaMonkey/2.49.2
barbaz
Senior Member
Posts: 10841
Joined: Sat Aug 03, 2013 5:45 pm

Re: Pale Moon and new NS update channel

Post by barbaz »

therube wrote:Just where do you look to see that?
https://secure.informaction.com/downloa ... 5.1.8.5rc2
*Always* check the changelogs BEFORE updating that important software!
-
User avatar
therube
Ambassador
Posts: 7924
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Pale Moon and new NS update channel

Post by therube »

Are
<RDF:Description about="urn:mozilla:extension:{73a6fe31-595d-460b-a920-fcc0f8843232}">
and
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
"backwards"?


Should (n't) RDF be ...3232, which is NoScript
&
em:id be ... 7384, (which is presumably, Pale Moon - yes it is).

And in that respect, I'll suppose that the "2nd" RDF:Description shouldn't even be there?


Likewise, wouldn't there need to be an <em:id> in there for SeaMonkey too?
<em:id>{92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a}</em:id>


(I know nothing of this stuff.)

Code: Select all

<?xml version="1.0" encoding="UTF-8"?><RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:em="http://www.mozilla.org/2004/em-rdf#">

  <RDF:Description about="urn:mozilla:extension:{73a6fe31-595d-460b-a920-fcc0f8843232}">
    <em:updates>
      <RDF:Seq>
          <RDF:li>
          <RDF:Description>
            <em:version>5.1.8.5rc3</em:version>
            <em:targetApplication>
              <RDF:Description>
              <em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
              <em:minVersion>45</em:minVersion>
              <em:maxVersion>56</em:maxVersion>
              <em:updateLink>https://secure.informaction.com/download/betas/noscript-5.1.8.5rc3.xpi</em:updateLink>
              </RDF:Description>
            </em:targetApplication>


            <em:targetApplication>
              <RDF:Description>
              <em:id>{92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a}</em:id>
              <em:minVersion>2.42</em:minVersion>
              <em:maxVersion>*</em:maxVersion>
              <em:updateLink>https://secure.informaction.com/download/betas/noscript-5.1.8.5rc3.xpi</em:updateLink>
              </RDF:Description>
            </em:targetApplication>


            <em:targetApplication>
              <RDF:Description>
              <em:id>{8de7fcbb-c55c-4fbe-bfc5-fc555c87dbc4}</em:id>
              <em:minVersion>27.0.2</em:minVersion>
              <em:maxVersion>*</em:maxVersion>
              <em:updateLink>https://secure.informaction.com/download/betas/noscript-5.1.8.5rc3.xpi</em:updateLink>
              </RDF:Description>
            </em:targetApplication>


          </RDF:Description>
        </RDF:li>
                <RDF:li>
          <RDF:Description>
            <em:version>10.1.7rc4</em:version>
            <em:targetApplication>
              <RDF:Description>
              <em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
              <em:minVersion>57</em:minVersion>
              <em:maxVersion>*</em:maxVersion>
              <em:updateLink>https://secure.informaction.com/download/betas/noscript-10.1.7rc4.xpi</em:updateLink>
              </RDF:Description>
            </em:targetApplication>
          </RDF:Description>
        </RDF:li>
              </RDF:Seq>
    </em:updates>
  </RDF:Description>
</RDF:RDF>
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 5.1; rv:52.0) Gecko/20100101 SeaMonkey/2.49.2
User avatar
Giorgio Maone
Site Admin
Posts: 9454
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Pale Moon and new NS update channel

Post by Giorgio Maone »

Please check now, thanks.
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0
barbaz
Senior Member
Posts: 10841
Joined: Sat Aug 03, 2013 5:45 pm

Re: Pale Moon and new NS update channel

Post by barbaz »

Success! Thank you Giorgio! :D
*Always* check the changelogs BEFORE updating that important software!
-
Post Reply