toxinu / leselys

I'm Leselys, your very elegant RSS reader.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feeds Being Renamed To None

jimmybrancaccio opened this issue · comments

Good morning, just spotted another issue. My feeds seem to be getting renamed to "None". I just woke up and the page seems to automatically refresh and I'm seeing "None". I suck at coding, but I'm technical enough to poke my way around things. If there's anything I can provide you with log wise, or anything that could hep troubleshoot, let me know. My instance is running on Heroku.

screen shot 2013-06-13 at 11 26 42 am

Thanks 😄

They are renamed when you run refresh or retention task ? Or when you add it ?

I think I experience the same behaviour:
When the machine running leselys is off-line the names of the feeds in the feed list are substituted with 'none'. I let both worker and serve run in the background. Feeds name get refreshed when the machine is back on-line. It would be nice to keep a trace of feed name when losing internet connectivity (ie: when reading feeds on the train without Internet access :) )

Oh yes, nice analyze @johnchristopher :)

I'll check it as soon as possible.

I don't really understand this bug. I've discover another one but I'm not sure if it's yours.
If you can try master branch or give me more information guys.. Sorry about that.

I stopped worker and serve, updated the virtualenv with pip leselys -U, restarted worker and serve and then went offline.

Names are still being change to 'none'.

That might be relevant:

[2013-06-15 20:31:29,645: WARNING/PoolWorker-3] Exception in thread Thread-16:
Traceback (most recent call last):
    File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner self.run()
    File "/home/johnchristopher/tmp/leselys/local/lib/python2.7/site-packages/leselys/reader.py", line 143, in run print('!! %s is outdated.' % self.feed_title.encode('utf-8'))
    AttributeError: 'NoneType' object has no attribute 'encode'

Did you use the git repository ? Cause I haven't updated the pypi package.
You can follow this install manual for developper: https://gist.github.com/socketubs/5789124

And thank you for your time 😄

I installed the devel version in a new env, copied over my leselys.ini (so it fetches from the same DB) and went offline for 20 minutes.

Feed names seems to stick in the devel-version.

Good news!

Confirm bug fixed ?

In the devel version, it seems to.

Did you update the main branch with the fix?
It would be nice to have a notification to upgrade, or maybe a default RSS feed linked to github or something.

No I don't have pushed any new release. I have to.
And yes it would be nice to have a upgrade notification, I'll think about it.

I have open an issue about your upgrade notification idea.