Messages - RobFreundlich [ switch to compact view ]

Pages: prev1 2 3 [4] 5next
I got an error message "Unsupported protocol":

and a new entry in pluginlog.txt:
08:43 AM, Tuesday, July 12, 2016
 Error initializing plugin do_init function
C:\Program Files (x86)\FindAndRunRobot\Plugins\FarrMilk\libcurl.dll

I am using the ID of the smart list, which does not seem to work. Can you try your query in 3. with only the list_id, but without the filter? And maybe also the list_id with an empty filter? Using only the filter seems to work though, I found this as a solution in the dev forum (and according your test also the filter and the list_id together). I did not keep track of the filter, so I assume the introduction of the filter and the respective change to rtm.tasks.getList is when the functionality broke in FarrMilk.

When I first tried it, I used only the list_id, and got back both complete and incomplete tasks that meet the list's criteria.  So that definitely works.  I just added the status:incomplete filter so that I'd only get the incompletes.

I've been playing around with the RTM API, and I found that if you use a Smart List's ID with the rtm.tasks.getList method, it works great.  For example, I made this series of calls:

1. The authentication sequence, leading to an auth_token of 12345

2. right sig

Code: Text [Select]
  1. <rsp state="ok">
  2. <lists>
  3. ... a bunch of list tags
  4.   <list id="39989832" name="Today's agenda" deleted="0" locked="0" archived="0" position="0" smart="1" sort_order="0">
  5.     <filter>(due:today OR dueBefore:today OR (NOT start:never AND NOT startAfter:today)) AND NOT list:Groceries AND NOT location:brain</filter>
  6.   </list>
  7. ... a bunch of other list tags
  8. </lists>
  9. </rsp>

3. right sig

Result: XML containing the incomplete tasks in my "Today's agenda" Smart List

I didn't try putting the name of the Smart List into the filters since they provide the list_id parameter.  But this seems to work properly, so I imagine it ought to be pretty easy to work into the plug-in, assuming you're keeping track of list ID's.

Well, I'm not sure they consider it a bug.

Ok, I will have a look. It's been such a long time since I have last worked on this plugin though, it will take me some time just to build it again.

Thanks!  Sorry to resurrect something from the, uh, Farr past :-)

I went and got myself a non-commercial API license yesterday so I can play around with smart lists and see what's up with them.  If I have some time at work today (in between mentoring my intern, coding my own stuff, and being the weekly liaison from my dev group to support.  /sigh) I'll see if I can get a listing of my main SL.  If not, I'll hit it tonight.  Either way, I'll post back here with my results.

Thanks for the quick response!

It bums me out, though, that smart lists don't work, since I tend to work almost exclusively off of a single Smart List which contains everything that's due today, everything that's overdue, and everything that has a start date on or before today (regardless of due date).  In other words, everything I ought to be thinking about doing today.  None of the built-in lists covers that.


Time for me to head over to RTM and file a bug report against their API's on your behalf  ;)

Pages: prev1 2 3 [4] 5next
Go to full version