Hello Jake Am Samstag, 5. Oktober 2013 00:01:54 UTC+2 schrieb Jacob Peck: > > On 10/4/2013 5:18 PM, Edward K. Ream wrote: > > On Thu, Oct 3, 2013 at 9:47 AM, Jacob Peck <gates...@gmail.com<javascript:> > > wrote: > >> >> Rev 6095 pushes a new plugin that I hacked together over the past few >> hours, adding primitive RSS reader behavior to Leo. It requires the >> 'feedparser' module to be installed. >> > > Cool! Thanks for this work. I've put it on the list of things to look > at asap. > > Edward > > Thanks! After using it for a few days, it actually works quite well. I > have a few enhancements planned, but the basic functionality is there. >
I tried to use this plugin in my environment and get the following traceback: <TB> C:\Users\Viktor\Documents\Leo-asap>leo test-plugin-rss.leo ** isPython3: True Leo 4.11a3, build 6127, 2013-10-10 10:02:15 Python 3.3.2, qt version 4.8.5 Windows 6, 2, 9200, 2, leoID=VR20130923 (in C:\Users\Viktor\.leo) load dir: C:\Repositories\bzr\leo-editor\leo\core global config dir: C:\Repositories\bzr\leo-editor\leo\config home dir: C:\Users\Viktor reading settings in C:\Repositories\bzr\leo-editor\leo\config\leoSettings.leo reading settings in C:\Users\Viktor\.leo\myLeoSettings.leo reading settings in C:\Users\Viktor\Documents\Leo-asap\test-plugin-rss.leo Abbreviations off Traceback (most recent call last): File "C:\Python33\lib\site-packages\feedparser.py", line 414, in __getattr__ return self.__getitem__(key) File "C:\Python33\lib\site-packages\feedparser.py", line 375, in __getitem__ return dict.__getitem__(self, key) KeyError: 'published_parsed' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Repositories\bzr\leo-editor\leo\plugins\qtGui.py", line 8710, in eventFilter k.masterKeyHandler(event) File "C:\Repositories\bzr\leo-editor\leo\core\leoKeys.py", line 2894, in masterKeyHandler done = k.doMode(event,state,stroke) File "C:\Repositories\bzr\leo-editor\leo\core\leoKeys.py", line 2975, in doMode val = k.callStateFunction(event) # Calls end-command. File "C:\Repositories\bzr\leo-editor\leo\core\leoKeys.py", line 2947, in callStateFunction val = k.state.handler(event) File "C:\Repositories\bzr\leo-editor\leo\core\leoKeys.py", line 2051, in fullCommand k.callAltXFunction(k.mb_event) File "C:\Repositories\bzr\leo-editor\leo\core\leoKeys.py", line 2095, in callAltXFunction func(event) File "C:\Repositories\bzr\leo-editor\leo\core\leoCommands.py", line 1222, in minibufferCallback retval = function(keywords) File "C:\Repositories\bzr\leo-editor\leo\plugins\rss.py", line 227, in parse_selected_feed self.parse_feed(feed) File "C:\Repositories\bzr\leo-editor\leo\plugins\rss.py", line 168, in parse_feed stories = sorted(data.entries, key=lambda entry: entry.published_parsed) File "C:\Repositories\bzr\leo-editor\leo\plugins\rss.py", line 168, in <lambda> stories = sorted(data.entries, key=lambda entry: entry.published_parsed) File "C:\Python33\lib\site-packages\feedparser.py", line 416, in __getattr__ raise AttributeError("object has no attribute '%s'" % key) AttributeError: object has no attribute 'published_parsed' </TB> Any idea what is going wrong? With kind regards, Viktor -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To post to this group, send email to leo-editor@googlegroups.com. Visit this group at http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/groups/opt_out.