This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Problems Updating

Other Parts Discussed in Thread: CCSTUDIO

Hi,

When I try and update CCSv5.2 I get the following message:

Unable to read repository at file:/C:/ti/ccsv5/eclipse/p2/org.eclipse.equinox.p2.repository/cache/content-1830679833.jar.
An invalid XML character (Unicode: 0x0) was found in the element content of the document.

Could I get some advise on what to do? 

I already uninstalled/re-installed ccs once.

Thanks, 


Derek 

  • Hi Derek,

    the update is not really intended to check locally as indicated by the "file:/C:/....".

    Please go to Window->Preferences->Install/Update->List of Available Software Sites and remove all from the checklist that have a file to start and try again.

    Please keep us informed.

    Best Regards,
    Lisa

  • Hi Lisa,

    I'm not Derek but I encountered the same problem. It was a clean install and there are no file://-type links present in this list.

    The exported list is attached:

    <?xml version="1.0" encoding="UTF-8"?>
    <bookmarks>
       <site url="http://software-dl.ti.com/dsps/dsps_public_sw/sdo_ccstudio/CCSv5/Updates" selected="true" name="Code Composer Studio v5 Updates"/>
       <site url="http://software-dl.ti.com/dsps/dsps_public_sw/sdo_ccstudio/codegen/Updates/p2win32" selected="true" name="Code Generation Tools Updates"/>
       <site url="http://software-dl.ti.com/dsps/dsps_public_sw/sdo_ccstudio/DVT/CCS5.2" selected="true" name="DVT Updates"/>
       <site url="http://download.eclipse.org/technology/linuxtools/update" selected="false" name="Linux Tools"/>
       <site url="http://download.eclipse.org/eclipse/updates/3.7" selected="true" name="The Eclipse Project Updates"/>
       <site url="http://software-dl.ti.com/dsps/dsps_public_sw/sdo_ccstudio/CCSv5.1/Updates/Emulation/win32/full" selected="true" name="TI Emulation"/>
       <site url="http://software-dl.ti.com/dsps/dsps_public_sw/sdo_ccstudio/CCSv5/Updates/simulation/p2win32" selected="true" name="TI Simulators"/>
       <site url="http://software-dl.ti.com/dsps/dsps_public_sw/sdo_ccstudio/stellaris/p2win32" selected="true" name="TI Stellaris Device Support"/>
       <site url="http://download.eclipse.org/eclipse/updates/3.5" selected="false" name=""/>
       <site url="http://download.eclipse.org/eclipse/updates/3.6" selected="false" name=""/>
       <site url="http://download.eclipse.org/egit/updates" selected="false" name=""/>
       <site url="http://download.eclipse.org/mylyn/releases/3.6" selected="false" name=""/>
       <site url="http://download.eclipse.org/releases/helios" selected="false" name=""/>
       <site url="http://download.eclipse.org/releases/indigo/" selected="false" name=""/>
       <site url="http://download.eclipse.org/technology/epp/updates/udc/" selected="false" name=""/>
       <site url="http://download.eclipse.org/tm/updates/3.3" selected="false" name=""/>
       <site url="http://download.eclipse.org/tools/cdt/releases/indigo" selected="false" name=""/>
       <site url="http://download.eclipse.org/tools/gef/updates/releases/site.xml" selected="false" name=""/>
    </bookmarks>
    

    Edit: Upon further investigation I noticed that the mentioned file is indeed in this location, it's being cached there.
    The error message doesn't show up if I disable the second entry of this list, 'Code Generation Tools Updates' (http://software-dl.ti.com/dsps/dsps_public_sw/sdo_ccstudio/codegen/Updates/p2win32). So it seems one of your packages is in fact corrupt.

    Edit2: Solution (at least for me): After renaming the problematic file from .jar to .bak and running the update mechanism again it seems to work flawlessly. So maybe the file was corrupted and already got fixed.

  • I just started to see something similar. I get the following error when I try to update:

    Unable to read repository at file:/C:/ti/ccsv5/eclipse/p2/org.eclipse.equinox.p2.repository/cache/content-1830679833.jar.
    The character reference must end with the ';' delimiter.

    I tried deleting the file content-1830679833.jar but it seems that it is downloaded from one of the update sites.

    -Brian

  • Something might be broken again with this file.

    As this file seems to be changing constantly, I'd just wait some time, delete it and try it again. Still no official comment on this?

    md5 of the good content-1830679833.jar (changed 2012-09-07) file is 3e2054b3f53e3252552c127b363c57c0

    If I knew I was allowed to do this, I'd upload the file here, but I don't. Sorry.

  • This problem has been tracked down to a corrupted file on the 3rd party network that serves this particular set of files. It should be corrected as of last evening. Whether you received the corrupted or good copy would have depended on where you are located.

    If anyone is still seeing problems, it could be that Eclipse has cached a copy of the corrupted file. This could be corrected by renaming the file mentioned above (the whole cache folder could be renamed if you prefer) to some temporary name. The folder is <install-dir)/ccsv5/eclipse/p2/org.eclipse.equinox.p2.repository/cache.

  • It's working for me now. Thanks!

  • Works great now. Thanks Lisa and Andy!

    Derek 

  • Sorry,
    doesn't work for me.

    It keeps downloading the corrupted file no matter how may times I delete it.

    Either there is still a copy of the corrupted file somwhere in the 3rd party network.
    Or somethins is corrupting it again and again

    Regards.