Import Library Error

New to XMOS and XCore? Get started here.
Post Reply
Apricity_Luke
Newbie
Posts: 1
Joined: Wed Nov 28, 2018 1:59 am

Import Library Error

Post by Apricity_Luke »

Hello,
I am having an issue trying download the libraries into a project/workspace in xTimeComposer. Whenever I attempt to import any of the libraries, I am greeted with a "Software package: <package-name> download failed message.

Additionally, if I restart xTimeComposer, I no longer can see the list of the libraries, and instead see a "Connection to http://www.xmos.com failed". I had that issue for a while, but found that if I deleted the 'com.xmos.cdt.ui.product_1.0.0_1295910307_win32_win32_x86' folder that was created in "C:\Users\Luke\.eclipse", it would re-prompt me for my xmos login, and then show the libraries again. I tried logging in both with user/pw and with the tools key.

I ran xTimeComposer in debug mode and see the following error message in the console when attempting to import any given library.

DownloadManager: documentation file XM-007176-PC(4.0.0rc3).zip not found, attempting to download ...
WebServices: opening connection (timeout = 100000): https://www.xmos.com/api/get_documentat ... MEcomposer
Link: https://www.xmos.com/doc/XM-007176-PC/4.0.0rc3[SQUASHED]
Link: https://www.xmos.com/doc/XM-007176-PC/4 ... MEcomposer
DownloadManager: software version info file XM-007006-SM.xml not found, attempting to download ...
WebServices: opening connection (timeout = 100000): https://www.xmos.com/api/get_software_c ... MEcomposer
WebServices: ERROR: No data returned
DownloadManager: Failed to download documentation file: success: false, message: No data returned
ERROR: ComponentBrowserView: Cannot find required documentation
WebServices: ERROR: No data returned
XdeImportWizardPage: ERROR: File 'C:\Users\Luke\.xmos\cache\XM-007006-SM.xml' does not exist


Any help would be greatly appreciated. I've tried the usual of restarting and reinstalling to no avail. I can download the libraries manually off the website or github page but then am unsure on how to place the files in the workspace so my #include's will find them correctly, so any help/example of placing the libraries in manually would also be helpful.

Thanks!


User avatar
CousinItt
Respected Member
Posts: 360
Joined: Wed May 31, 2017 6:55 pm

Post by CousinItt »

In the libraries window, check that it's in online mode (the "button" will look pushed in) and click refresh, then try downloading a library. Does it make any difference?
Post Reply