On Tue, Aug 19, 2008 at 1:41 AM, krismachowski <krismachowski@...> wrote:
> Hi.
>
> I am using the search function to find photos with certain tags, and
> then download them. However, occasionally the search function gives an
> error like: "flickr API is currently unavailable" and other errors.
>
> I have tried to find a way to identify when this happens, but i am at
> a loss. It is annoying as this always causes a segmentation fault in
> my program when i try and download the image.
>
> Could someone give me an idea of how to check for these errors in
> flickcurl. I saw a function called flickcurl_set_error_handler(), but
> it is sparsely documented, and I havn't been able to get it to work.
>
> Thanks in advance.
I can't think how to debug this remotely since I've never had that message.
Maybe you could try compiling flickcurl with --enable-capture which will
save all web service results in files in directory xml/ (relative to
where you run it)
The flickcurl_set_error_handler usage is demonstrated in the flickcurl
utility which you can find in utils/flickcurl.c - it lets you save
error messages
that happened during a function call.
Dave