You are not logged in.

#1 2012-02-25 13:45:31

anitac
Member
Registered: 2011-06-15
Posts: 25

Syntax error installing rssdler

Following the instructions here http://code.google.com/p/rssdler/wiki/I … structions

When I python setup.py install as root I get

Traceback (most recent call last):
  File "setup.py", line 6, in <module>
    import rssdler
  File "/home/anita/Downloads/rssdler042/rssdler.py", line 8
    __version__ = u"0.4.2"
                         ^
SyntaxError: invalid syntax

Offline

#2 2012-02-25 14:15:53

toringe
Member
Registered: 2011-09-05
Posts: 49

Re: Syntax error installing rssdler

Have you tried the PKGBUILD in the AUR?

Offline

#3 2012-02-25 14:33:19

anitac
Member
Registered: 2011-06-15
Posts: 25

Re: Syntax error installing rssdler

I installed it from there and then started following that page. Do I need to "python setup.py install" if I installed it from AUR?

With config.txt in ~/.rssdler and running rssdler -r I get which is why i started following that page

Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/rssdler.py", line 1707, in setDebug
    if getConfig()['global']['debug'] and _action !='daemon' and sys.stderr.isatty():
  File "/usr/lib/python2.7/site-packages/rssdler.py", line 1448, in getConfig
    if not _configInstance: _configInstance = Config(filename)
  File "/usr/lib/python2.7/site-packages/rssdler.py", line 1494, in __init__
    self.parse()
  File "/usr/lib/python2.7/site-packages/rssdler.py", line 1538, in parse
    self._ifnone( self.get(thread, i) ) )
IndexError: list index out of range

Original exception was:
Traceback (most recent call last):
  File "/usr/bin/rssdler", line 13, in <module>
    rssdler._main(sys.argv)
  File "/usr/lib/python2.7/site-packages/rssdler.py", line 2307, in _main
    getConfig(filename=configFile, reload=True)
  File "/usr/lib/python2.7/site-packages/rssdler.py", line 1448, in getConfig
    if not _configInstance: _configInstance = Config(filename)
  File "/usr/lib/python2.7/site-packages/rssdler.py", line 1494, in __init__
    self.parse()
  File "/usr/lib/python2.7/site-packages/rssdler.py", line 1538, in parse
    self._ifnone( self.get(thread, i) ) )
IndexError: list index out of range

Last edited by anitac (2012-02-25 14:34:39)

Offline

#4 2012-02-25 15:04:57

toringe
Member
Registered: 2011-09-05
Posts: 49

Re: Syntax error installing rssdler

With the AUR package you don't need to run setup.py
It does the installing for you

Offline

#5 2012-02-25 16:59:44

anitac
Member
Registered: 2011-06-15
Posts: 25

Re: Syntax error installing rssdler

OK but running rssdler -r still shows the errors in the previous post.

Offline

#6 2012-03-07 14:33:22

toringe
Member
Registered: 2011-09-05
Posts: 49

Re: Syntax error installing rssdler

I know it's a long time since you posted this, but have you resolved the issue?
If not, could you try to post your config.txt here?

Last edited by toringe (2012-03-07 14:33:37)

Offline

#7 2012-03-14 22:41:12

anitac
Member
Registered: 2011-06-15
Posts: 25

Re: Syntax error installing rssdler

Thank you for the help. I am using flexget instead, though.

Offline

Board footer

Powered by FluxBB