08-10-2010 01:49 PM
I seem to be getting an error when I try and sync my LV2010 Icon Editor's glyphs with ni.com. I have tried removing all of my old glyphs, etc, to no avail.
Every time I attempt to sync, the downloading dialog appears for a short while, and then gets replaced with this error... any ideas?
08-10-2010 01:52 PM
After a bit of poking around in Download iconlibrary files.vi, the error seems to be stemming from the code to get the zip file. The Get HTTP request vi has www.ni.com as it's server and "/zip/idnet/library/us/Icon_Library.zip" as it's relative file path but instead of getting back zip data (which then gets saved to a file, and decompressed etc) it gets the following result:
<HTML><HEAD>
<TITLE>Invalid URL</TITLE>
</HEAD><BODY>
<H1>Invalid URL</H1>
The requested URL "/zip/idnet/library/us/Icon_Library.zip", is invalid.<p>
Reference #9.bec28f18.1281466153.cd3a662
</BODY></HTML>
Obviously this then generates an error from the read ZIP file VI.. and things snowball from there.
08-27-2010 05:45 AM
Yeah, I got the same thing on 2009. I think at the time I just worked around it by manually updating the file.
Thomas, any idea about this?
08-27-2010 07:11 AM
My interim hack was to replace the "get file from http" VIs with those from the internet toolkit... now it's working again for me at least.
08-27-2010 09:45 AM
The URL of the ZIP file is requested from ni.com with a unique code. I am gonna take a look at it asap.
08-27-2010 09:51 AM
Hi Thomas,
Here's a snippet of my hacked-and-now-working version:
note: the get url function seems to be working correctly, it looks like it's just the way in which the GET HTTP.vi is resolving it
08-27-2010 09:53 AM
Thanks Shaun!
The question is though, why doesn't it work any more? It used to work in the past, right?
08-27-2010 09:55 AM
I cant remember… It never worked in 2010 for me before the fix, I’ll have a look at ’09 when I get the chance.
08-27-2010 10:03 AM
I just run it in 2010 and it works perfectly fine on my side.
Is there any proxy servers configured? If so, that might be the reason why the HTTP request fails. I'll file a CAR to myself.
08-27-2010 10:05 AM
There’s no proxy server here – just a wireless network to a Verizon DSL connection.