Skip to content
This repository has been archived by the owner on Jan 2, 2021. It is now read-only.

can't start mylar after update in dev branch #500

Closed
doneagle opened this issue Aug 5, 2013 · 2 comments
Closed

can't start mylar after update in dev branch #500

doneagle opened this issue Aug 5, 2013 · 2 comments
Assignees
Labels

Comments

@doneagle
Copy link

doneagle commented Aug 5, 2013

I pressed the update in the mylar website and it didn't reload. I checked the logs and see the following on startup :

Starting Mylar ...
Traceback (most recent call last):
File "/usr/local/mylar/share/mylar/Mylar.py", line 156, in
main()
File "/usr/local/mylar/share/mylar/Mylar.py", line 110, in main
mylar.initialize()
File "/volume1/@appstore/mylar/share/mylar/mylar/init.py", line 554, in initialize
ENABS.append((en[0], en[0], en[2], en[3]))
IndexError: tuple index out of range

Any idea how to fix this ( I was 8 commits behind if that can help )

@evilhero
Copy link
Owner

evilhero commented Aug 5, 2013

Off hand it's probably because within the last 8 commits the newznab structure changed twice. Can you look in your config.Ini and see what config_version you're at? (it's the very first line)

@ghost ghost assigned evilhero Aug 5, 2013
@evilhero
Copy link
Owner

evilhero commented Aug 6, 2013

You can manually edit the line that's giving you the error - so shutdown Mylar and on line 554 in mylar/init.py find :

line 553                else:
line 554                    ENABS.append((en[0], en[0], en[2], en[3])) 

change line 554 to :

                    ENABS.append((en[0], en[0], en[1], '1', en[2])) 

Startup Mylar and you should be ok. Next commit will have this fix, but it doesn't look like you can even get to that point to check for updates.

evilhero added a commit that referenced this issue Aug 6, 2013
… IMP:(#499) Annuals will now filecheck, Alphanumeric Issues should work now, IMP:Added nzblog wipe button to History page - will Wipe the nzblog table for those having problems with post-processing and the .1 folders.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants