maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   FeedingIt - RSS Reader (https://talk.maemo.org/showthread.php?t=39276)

Slocan 2011-11-15 17:36

Re: FeedingIt - RSS Reader
 
Quote:

Originally Posted by petur (Post 1123885)
feedingit: Depends: qt4-declarative-qmlviewer but is not going to be installed
E: Broken packages

Hmm, sounds like another package is conflicting with this (maybe the latest CSSU Qt update?). Try from the command line:
apt-get -f install
And that should tell you which package it is conflicting with.
qt4-declarative-qmlviewer is only there for the "preview" qml interface (which I don't recommend using anyway), so you could force the upgrade if you're so inclined (I'll push an update to remove the dependency).

@jer006: as Neal mentions, the N9 version is coming. It's still got a few odds and ends I'd like to tweak before releasing a beta version.

jer006 2011-11-15 17:59

Re: FeedingIt - RSS Reader
 
Awesome, great news. Thanks.

Slocan 2011-11-16 05:55

Re: FeedingIt - RSS Reader
 
0.9.1-2 soon in Extras-devel. It removes the qmlviewer dependency, and fixes an issue with updating feeds containing old articles.

handaxe 2011-11-16 14:07

Re: FeedingIt - RSS Reader
 
0.9.1-2 feeds load faster than in 0.8. Very nice. Individual feeds update fine but collectively "update feeds" does not work. Anyone else see this?

neal 2011-11-16 14:25

Re: FeedingIt - RSS Reader
 
Quote:

Originally Posted by handaxe (Post 1124393)
0.9.1-2 feeds load faster than in 0.8. Very nice. Individual feeds update fine but collectively "update feeds" does not work. Anyone else see this?

Can you do a big update and then post the output of

~/.feedingit/logging/update_feeds-*.log


Note: Starting with version 0.9, FeedingIt is Woodchuck enabled! If you install the murmeltier server, it will cause FeedingIt to automatically update its feeds in the background when it is convenient (based on e.g. power, WiFi accessibility, user activity). As Woodchuck is only a soft dependency, you need to install it explicitly to profit from it.

Rob1n 2011-11-16 14:38

Re: FeedingIt - RSS Reader
 
Quote:

Originally Posted by handaxe (Post 1124393)
0.9.1-2 feeds load faster than in 0.8. Very nice. Individual feeds update fine but collectively "update feeds" does not work. Anyone else see this?

The last "Update All" I ran (via 3G) didn't update anything, no. There may have been some network issues then though (the Skype connection had dropped as well). It did update fine over WLAN afterwards though (using Woodchuck).

neal 2011-11-16 14:43

Re: FeedingIt - RSS Reader
 
Quote:

Originally Posted by Rob1n (Post 1124410)
The last "Update All" I ran (via 3G) didn't update anything, no. There may have been some network issues then though (the Skype connection had dropped as well). It did update fine over WLAN afterwards though (using Woodchuck).

It would be great to see the logs around the time that you tried to update over 3G.

~/.feedingit/logging/*.log

Thanks

Rob1n 2011-11-16 15:08

Re: FeedingIt - RSS Reader
 
Quote:

Originally Posted by neal (Post 1124417)
It would be great to see the logs around the time that you tried to update over 3G.

~/.feedingit/logging/*.log

Thanks

Looks like it was just timeouts & name resolution failures. I've just rerun an "Update all" over 3G and that worked without any issues.

handaxe 2011-11-16 16:14

Re: FeedingIt - RSS Reader
 
1 Attachment(s)
Here is the error log. There is not an update log of any sort generated. In my case both wifi and gsm fail to update.

neal 2011-11-16 16:30

Re: FeedingIt - RSS Reader
 
Quote:

Originally Posted by handaxe (Post 1124477)
Here is the error log. There is not an update log of any sort generated. In my case both wifi and gsm fail to update.

When you say that there is no update log generated, do you mean that the directory .feedingit/logging is empty? Can you please post the output of dpkg -l feedingit.

Looking at the error message: could it be that the error occurs when updating the archived articles, but not when updating other feeds?

handaxe 2011-11-16 18:26

Re: FeedingIt - RSS Reader
 
Quote:

Originally Posted by neal (Post 1124487)
When you say that there is no update log generated, do you mean that the directory .feedingit/logging is empty? Can you please post the output of dpkg -l feedingit.

Looking at the error message: could it be that the error occurs when updating the archived articles, but not when updating other feeds?

There are logs titled feedingit* in the log dir but none labelled update *, until that is, I do an individual feed update.

Code:

~ $ dpkg -l feedingit
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name          Version        Description
+++-==============-==============-============================================
ii  feedingit      0.9.1-2        A RSS feed reader with portrait mode support

It appears not to update any feed when a general update is run.

Slocan 2011-11-16 19:42

Re: FeedingIt - RSS Reader
 
Thanks handaxe. It does indeed fail when updating the Archived Articles. It looks like this is the first feed in the list of updates for you, so it fails right then, and does not update any others.

It should work if you change the function definition near line 890 of /opt/FeedingIt/rss_sqlite.py (in the ArchivedArticles class) from
Code:

def updateFeed(self, configdir, url, etag, modified, expiryTime=24, proxy=None, imageCache=False):
to
Code:

def updateFeed(self, configdir, url, etag, modified, expiryTime=24, proxy=None, imageCache=False, priority=0, postFeedUpdateFunc=None, *postFeedUpdateFuncArgs):
I'll test some more tonight, and probably push an update.

handaxe 2011-11-16 19:54

Re: FeedingIt - RSS Reader
 
Quote:

Originally Posted by Slocan (Post 1124592)
Thanks handaxe. It does indeed fail when updating the Archived Articles. It looks like this is the first feed in the list of updates for you, so it fails right then, and does not update any others.

Yes, spot on.... it was first in the actual list (seen under manage subscriptions) but of course (Doh! on my behalf) it did not show that way given my sorting preferences. I simply shifted the archived "feed" to last and away we are.....

Seems overall snappier.

Thanks to you and Neal....

neal 2011-11-25 22:29

Re: FeedingIt - RSS Reader
 
The latest version of FeedingIt has support for Woodchuck (woot!). FeedingIt, however, does not depend on Woodchuck. Thus, to profit from Woodchuck, the user must explicitly install it. Yves argued that some existing users have likely established a work flow and might not want Woodchuck. Okay, I can understand that even if I find it hard to believe :). I think the more common case will be that users don't know that FeedingIt could use Woodchuck or even what Woodchuck is.

What do people here think?

- Should FeedingIt depend on Woodchuck?
- Should there be an option to disable Woodchuck in the settings dialog?
- If FeedingIt detects that Woodchuck is not installed, should it prompt the user to install it (e.g., "FeedingIt can use Woodchuck to automatically schedule downloads when there is good connectivity. Do you want to install it?" yes => open .install file.)?

Thanks for your feedback.

handaxe 2011-11-25 23:08

Re: FeedingIt - RSS Reader
 
I think choice is the best stance, so no to alternative #1. No. 3 strikes me as good. I for eg. only use FeedingIt on wifi and so Woodchuck would be wasted storage if No. 1 was in play.

neal 2011-11-25 23:13

Re: FeedingIt - RSS Reader
 
Quote:

Originally Posted by handaxe (Post 1129034)
I think choice is the best stance, so no to alternative #1. No. 3 strikes me as good. I for eg. only use FeedingIt on wifi and so Woodchuck would be wasted storage if No. 1 was in play.

Interesting! I most often use FeedingIt when WiFi is not available (if WiFi is available, I use my laptop or computer).

Out of curiosity: how to you update feeds? Do you manually update feeds when you decide to read something? Don't you find waiting annoying and that it slows down your N900? (Woodchuck would largely fix these problems.)

Thanks.

handaxe 2011-11-25 23:29

Re: FeedingIt - RSS Reader
 
I tend to read whilst relaxing and so seek out a couch, chair where using the n900 is comfortable. I tend to run auto updates on a 2 hour schedule and manual update just before going to read precisely because of the wait or otherwise do the individual feeds. So Woodchuck would speed up the update even on wifi?

neal 2011-11-25 23:33

Re: FeedingIt - RSS Reader
 
Quote:

Originally Posted by handaxe (Post 1129042)
I tend to read whilst relaxing and so seek out a couch, chair where using the n900 is comfortable. I tend to run auto updates on a 2 hour schedule and manual update just before going to read precisely because of the wait or otherwise do the individual feeds. So Woodchuck would speed up the update even on wifi?

Woodchuck tries to schedule updates in the background (approx when the display is off). It schedules more aggressively when the device is connected to power.

Slocan 2011-11-26 03:05

Re: FeedingIt - RSS Reader
 
Quote:

Originally Posted by neal (Post 1129046)
Woodchuck tries to schedule updates in the background (approx when the display is off). It schedules more aggressively when the device is connected to power.

If I understand correctly how it works, the default setting is that it'd try to keep the feeds at most 6 hours old, and would do its updates when detecting the system is idle (and connected on wifi). The big advantage is that it is much less likely to skip updates (for example, with the widget, if you do not have internet connection at the exact second it tries to update, it'll skip until the next scheduled update, hours later).

So, although I think it's quite an awesome piece of software, I'm just a bit reticent in making it a hard requirement (just like i ship feedparser with it, rather than depending on the package available in extras), especially since it can not at this time be turned off, change the update frequency, or force it to update on 3G.

petur 2011-11-26 09:24

Re: FeedingIt - RSS Reader
 
Regardless of habits, I think it should detect Woodchuck and ask the user if he wants to use it, and if Woodchuck isn't present it should ask if the user wants to install. Or in the latter case, informing the user of the possibility is fine too.

neal 2011-11-27 18:53

Re: FeedingIt - RSS Reader
 
Thanks for your suggestions regarding integrating Woodchuck into FeedingIt!

I've sent some patches to Yves to:

- Not hard-code the update interval, but to respect the configuration setting.
- To add an option in the settings dialog to enable/disable Woodchuck.
- To prompt the user the first time he/she starts FeedingIt whether they'd like to install Woodchuck, if Woodchuck is not detected.

Changing Woodchuck to perform updates over 3G is a bit more tricky: lots of users have low data caps. I have a plan, which is to introduce per-connection policies to Woodchuck. Users would then briefly describe the data plan the first time they connect (unlimited, 100 MB/month, .24 per MB, etc.) and Woodchuck would use this to decide whether to schedule updates over the connection.

Slocan 2011-12-17 03:09

Re: FeedingIt - RSS Reader
 
FeedingIt is now available in the Ovi Store for Meego Harmattan (N9/N950).
http://store.ovi.com/content/227782

Neal's changes for the N900 version will be pushed in the next few days as well.

neal 2011-12-27 09:55

Re: FeedingIt - RSS Reader
 
Quote:

Originally Posted by neal (Post 1129671)
Thanks for your suggestions regarding integrating Woodchuck into FeedingIt!

I've sent some patches to Yves to:

- Not hard-code the update interval, but to respect the configuration setting.
- To add an option in the settings dialog to enable/disable Woodchuck.
- To prompt the user the first time he/she starts FeedingIt whether they'd like to install Woodchuck, if Woodchuck is not detected.

Yves has committed these changes (thanks!) and uploaded a new package to extras-devel (0.9.1-4). It would be great if people could test these packages and report whether there are problems. Thanks!

jameshunt 2011-12-28 07:41

Re: FeedingIt - RSS Reader
 
I think the 1058th line of file '/opt/FeedingIt/rss_sqlite.py' should be changed from 'w.stream_unregister (id)' to 'wc().stream_unregister (id)'. Or else, it can not update itself automatically.

jameshunt 2011-12-28 07:53

Re: FeedingIt - RSS Reader
 
One more bug.
The auto-update interval can not be set as '0.5', when woodchuck is used, because of the 'int' problem.

ejasmudar 2011-12-28 08:27

Re: FeedingIt - RSS Reader
 
Regd the haramttan version of Feedingit, it does not have autoupdate in the background? Is this a limitation of the platform (set by aegis) or is it in your to do list?
BTW, on the N900, this is a great app and one of the first things I install after a flash!

neal 2011-12-28 08:41

Re: FeedingIt - RSS Reader
 
Quote:

Originally Posted by jameshunt (Post 1142611)
I think the 1058th line of file '/opt/FeedingIt/rss_sqlite.py' should be changed from 'w.stream_unregister (id)' to 'wc().stream_unregister (id)'. Or else, it can not update itself automatically.

Good catch, thanks! I've come up with a patch and pushed it to Yves.

neal 2011-12-28 08:47

Re: FeedingIt - RSS Reader
 
Quote:

Originally Posted by jameshunt (Post 1142617)
One more bug.
The auto-update interval can not be set as '0.5', when woodchuck is used, because of the 'int' problem.

I fixed this as well. Thanks!

neal 2011-12-28 09:22

Re: FeedingIt - RSS Reader
 
Quote:

Originally Posted by ejasmudar (Post 1142625)
Regd the haramttan version of Feedingit, it does not have autoupdate in the background? Is this a limitation of the platform (set by aegis) or is it in your to do list?
BTW, on the N900, this is a great app and one of the first things I install after a flash!

Time-based auto-update relies on the widget, which is not available on the N9.

Slocan 2011-12-28 15:10

Re: FeedingIt - RSS Reader
 
Quote:

Originally Posted by ejasmudar (Post 1142625)
Regd the haramttan version of Feedingit, it does not have autoupdate in the background? Is this a limitation of the platform (set by aegis) or is it in your to do list?
BTW, on the N900, this is a great app and one of the first things I install after a flash!

The N9 version should also be compatible with Woodchuck (Neal made a harmattan version, but I have to admit I haven't really tested it recently). I think this will be the recommended update mechanism for now.
The alternative for now is to leave the app running in the background as it used to be on the N900 before the widget came along.

ejasmudar 2011-12-28 16:28

Re: FeedingIt - RSS Reader
 
Quote:

Originally Posted by Slocan (Post 1142746)
The N9 version should also be compatible with Woodchuck (Neal made a harmattan version, but I have to admit I haven't really tested it recently). I think this will be the recommended update mechanism for now.
The alternative for now is to leave the app running in the background as it used to be on the N900 before the widget came along.

So, if i follow this (http://hssl.cs.jhu.edu/~neal/woodchu...orted_to_N950/) and install all 4 packages, the harmattan feedingit will update in the background?

neal 2011-12-28 16:34

Re: FeedingIt - RSS Reader
 
Quote:

Originally Posted by ejasmudar (Post 1142770)
So, if i follow this (http://hssl.cs.jhu.edu/~neal/woodchu...orted_to_N950/) and install all 4 packages, the harmattan feedingit will update in the background?

If it doesn't, there are bugs :-)

Slocan 2011-12-29 04:30

Re: FeedingIt - RSS Reader
 
Quote:

Originally Posted by neal (Post 1142631)
Good catch, thanks! I've come up with a patch and pushed it to Yves.

0.9.1-5 is in Extras-devel now.

Today is also the 2 year anniversary of the project creation in the Maemo garage. Yay!

jameshunt 2011-12-29 07:10

Re: FeedingIt - RSS Reader
 
I find a problem today.
FeedingIt can not feed this source "http://rss.sina.com.cn/news/marquee/ddt.xml".
I try to catch why this happens, but can not spot it exactly.
Only know maybe because of the special time format of the xml file of this source.

ejasmudar 2011-12-29 07:50

Re: FeedingIt - RSS Reader
 
Okay, I had installed murmeltier pywoodchuck and libgwoodchuck along with feedingit and have been waiting for 12 hours now. No updates so far. Is there something else that I ve to do like starting woodchuck or something?

neal 2011-12-29 08:29

Re: FeedingIt - RSS Reader
 
Quote:

Originally Posted by ejasmudar (Post 1143026)
Okay, I had installed murmeltier pywoodchuck and libgwoodchuck along with feedingit and have been waiting for 12 hours now. No updates so far. Is there something else that I ve to do like starting woodchuck or something?

You can check whether murmeltier is running (using ps). If not, that is likely the problem.

Otherwise, send me:

.murmeltier/logs/debug-output.db
.feedingit/logging/update_feeds-*

Thanks

ejasmudar 2011-12-29 09:08

Re: FeedingIt - RSS Reader
 
Quote:

Originally Posted by neal (Post 1143037)
You can check whether murmeltier is running (using ps). If not, that is likely the problem.

Otherwise, send me:

.murmeltier/logs/debug-output.db
.feedingit/logging/update_feeds-*

Thanks

Hmm it was not running. I ran it by tryping murmeltier. I suppose after a reboot it will run automatically?

I will check and reply after a few more hours if feedingit is getting updated.

neal 2011-12-29 09:12

Re: FeedingIt - RSS Reader
 
Quote:

Originally Posted by ejasmudar (Post 1143053)
Hmm it was not running. I ran it by tryping murmeltier. I suppose after a reboot it will run automatically?

I will check and reply after a few more hours if feedingit is getting updated.

It should start automatically. (It might be that aegis prevents the autostart script from running.)

ejasmudar 2011-12-29 09:14

Re: FeedingIt - RSS Reader
 
Quote:

Originally Posted by neal (Post 1143054)
It should start automatically. (It might be that aegis prevents the autostart script from running.)

But after installing, I had not rebooted, so maybe that is why it did not start automatically...

neal 2011-12-29 09:28

Re: FeedingIt - RSS Reader
 
Quote:

Originally Posted by jameshunt (Post 1143017)
I find a problem today.
FeedingIt can not feed this source "http://rss.sina.com.cn/news/marquee/ddt.xml".
I try to catch why this happens, but can not spot it exactly.
Only know maybe because of the special time format of the xml file of this source.

Thanks for catching this!

This seems to fix the problem:

http://hssl.cs.jhu.edu/~neal/woodchu...6e1/index.html


All times are GMT. The time now is 21:53.

vBulletin® Version 3.8.8