Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the WebService-RTMAgent CPAN distribution.

Report information
The Basics
Id: 50061
Status: resolved
Priority: 0/
Queue: WebService-RTMAgent

People
Owner: Nobody in particular
Requestors: david.sitsky [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.5
Fixed in: 0.5



Subject: Truncated results for large results
I see the same behaviour with either using the command-line rtm tool, or using the WebService::RTMAgent library. If I am executing a query which is large, I seem to be getting a truncated XML response back. I see this on Win32 and Linux and is 100% reproduceable. Just try getting a list with say 40 items to reproduce. I've seen a bunch of similar reports with RTM with other languages, but the issues seem to be mis-handling of the response which comes down in chunks. The perl code looks very simple, as we just use the content method on Http::Response. This link worries me somewhat though: http://code.google.com/support/bin/answer.py?hl=en&answer=15141. Since the RTM response is on one massive line, if the above is true, I can see why this might failing. Is Perl at fault here? Any ideas? Thanks for releasing this library. Cheers, David
I think after all this, it was RTM's fault. They now restrict API calls to 1/sec, and with the authentication calls that occur in this module, a large result set seems to get cut-off abruptly. If I put in sleep calls in the appropriate place, all works fine.
Okay, let's assume for now it was RTM's fault. Thanks! -- rjbs