comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Problem with IDLnetURL Callback Function
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Problem with IDLnetURL Callback Function [message #88545] Mon, 12 May 2014 04:50 Go to next message
Matthew Argall is currently offline  Matthew Argall
Messages: 286
Registered: October 2011
Senior Member
I am using IDLnetURL to download data. I have setup the callback function to update a status bar with progress information. However, whenever an error occurs in the callback function, any attempt at a Get thereafter results in one of the the following errors:

% IDLNETURL::GET: CCurlException: Error: Http Get Request Failed. Error = easy handled already used in multi handle, Curl Error Code = 2

% IDLNETURL::GET: CCurlException: Error: Http Get Request Failed. Error = , Curl Error Code = 2..


and I have to exit IDL in order for the error to stop appearing (-> CloseConnections does not resolve the issue). Code = 2 indicates some problem while initializing CCurl. Is there a way to fix this like, say, in a CATCH block?
Re: Problem with IDLnetURL Callback Function [message #88546 is a reply to message #88545] Mon, 12 May 2014 07:10 Go to previous message
Matthew Argall is currently offline  Matthew Argall
Messages: 286
Registered: October 2011
Senior Member
Well, I cannot seem to create a simple program that will reproduce the error. I have subsequently fixed the error in the callback function, so I guess I can ignore this until I screw things up again...
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Contour labels not aligned with contours
Next Topic: Re: How to erase a (function graphics) plot.

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 13:29:47 PDT 2025

Total time taken to generate the page: 0.01963 seconds