Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

It's not a valid GUP xml

2. Help
Gerald
2011-08-22
2015-03-25
  • Gerald
    Gerald
    2011-08-22

    When I try to launch NPP updater, I get an error message telling me "Xml Exception: It's not a valid GUP.xml"

    When I invoke manually the NPP Url : http://notepad-plus.sourceforge.net/commun/update/getDownLoadUrl.php, the HTTP response is:

    <!--
        This file is part of GUP.
        GUP is free software: you can redistribute it and/or modify
        it under the terms of the GNU Lesser General Public License as published by
        the Free Software Foundation, either version 3 of the License, or
        (at your option) any later version.
        GUP is distributed in the hope that it will be useful,
        but WITHOUT ANY WARRANTY; without even the implied warranty of
        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
        GNU Lesser General Public License for more details.
        You should have received a copy of the GNU Lesser General Public License
        along with GUP.  If not, see <http://www.gnu.org/licenses/>.
    -->
    <?xml version="1.0"?>
    <GUP>
        <NeedToBeUpdated>yes</NeedToBeUpdated>
        <Version>5.9.3</Version>
        <Location>http://download.tuxfamily.org/notepadplus/5.9.3/npp.5.9.3.Installer.exe</Location>
    </GUP>
    

    which is not a valid XML document: "<?xml version="1.0"?>" should be at the beginning of anything, even before any comment.

    The HTTP response should be:

    <?xml version="1.0"?>
    <!--
        This file is part of GUP.
        GUP is free software: you can redistribute it and/or modify
        it under the terms of the GNU Lesser General Public License as published by
        the Free Software Foundation, either version 3 of the License, or
        (at your option) any later version.
        GUP is distributed in the hope that it will be useful,
        but WITHOUT ANY WARRANTY; without even the implied warranty of
        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
        GNU Lesser General Public License for more details.
        You should have received a copy of the GNU Lesser General Public License
        along with GUP.  If not, see <http://www.gnu.org/licenses/>.
    -->
    <GUP>
        <NeedToBeUpdated>yes</NeedToBeUpdated>
        <Version>5.9.3</Version>
        <Location>http://download.tuxfamily.org/notepadplus/5.9.3/npp.5.9.3.Installer.exe</Location>
    </GUP>
    
     
  • AndyFTW
    AndyFTW
    2012-12-17

    I got the solution.

    Attention: You need admin rights and it only works if you are connected to the internet with a proxy!

    Go to the folder where the GUP.exe lies, for me it's:
    "C:\Program Files (x86)\Notepad++\updater"

    Right Click "GUP.exe" and say "Send to" -> "Desktop (create shortcut)".

    After doing it, go to the Properties of your new Desktop Shortcut. Add to "Destination" at the end of the line -options. At the absolute end, behind the quotation marks. Apply and click OK. Now Right Click on the Shortcut and "Run as Administrator". Now set your Proxy Settings.

    You are able to update Notepad++ now.

     
  • swmatisa
    swmatisa
    2015-03-25

    Hello,
    If you have a proxy with password like me, set proxy as user:password@proxyIP

    Hope this help