Flexget deluge error

Post Reply
tboy55
Member
Member
Posts: 5
Joined: November 19th, 2014, 8:08 pm

Flexget deluge error

Post by tboy55 »

hi hi

I cant seam to get my flexget config file to work?!

Im running ubuntu 14 on a headless server and followed the delgue and flexget install off a page like I have done before

the webui for deluge is running

heres my error:

sudo /usr/local/bin/flexget -c /home/BMS/Scripts/tv.yml execute
2014-11-19 14:26 CRITICAL manager [/] The keys `series`, `deluge`, `template` are not valid here.
2014-11-19 14:26 CRITICAL manager Failed to load config file: Config did not pass schema validation
Could not initialize manager: Config did not pass schema validation



and heres my config:

template:
series:
settings:
720p:
quality: 720p hdtv|webdl
set:
path: /home/BMS/testing/incomplete/
movedone: "/home/BMS/testing/TV/{{series_name}}/Season {{series_season}}/"
label: 720p
hdtv:
quality: hdtv <720p
set:
path: /home/BMS/testing/incomplete/
movedone: "/home/BMS/testing/TV/{{series_name}}/Season {{series_season}}/"
label: tv
720p:
- Supercars
- Sons of anarchy
hdtv:
- Tosh
- The Walking Dead
- Hotel hell

deluge: yes

tasks:
BT chat:
priority: 2
template: tv
rss: http://rss.bt-chat.com/?group=3

EZTV rss:
priority: 1
template: tv
rss: https://ezrss.it/feed/


------------------------------



I dont get it

any help would be great , thanks
User avatar
Ian
Moderator
Posts: 752
Joined: January 1st, 2011, 7:00 am

Re: Flexget deluge error

Post by Ian »

Yeah, what's happened is flexget has changed the way it works. I'm in the process of updating my guide. In the short term however this should get you up and running (but let me know either way cos more than this has changed) The indentation doesn't show properly on this forum but hopefully you'll work it out.

templates:
tv:
series:
settings:
720p:
quality: 720p hdtv|webdl
set:
path: /home/BMS/testing/incomplete/
movedone: "/home/BMS/testing/TV/{{series_name}}/Season {{series_season}}/"
label: 720p
hdtv:
quality: hdtv <720p
set:
path: /home/BMS/testing/incomplete/
movedone: "/home/BMS/testing/TV/{{series_name}}/Season {{series_season}}/"
label: tv
720p:
- Supercars
- Sons of anarchy
hdtv:
- Tosh
- The Walking Dead
- Hotel hell

deluge: yes

tasks:
BT chat:
priority: 2
template: tv
rss: http://rss.bt-chat.com/?group=3

EZTV rss:
priority: 1
template: tv
rss: https://ezrss.it/feed/
tboy55
Member
Member
Posts: 5
Joined: November 19th, 2014, 8:08 pm

Re: Flexget deluge error

Post by tboy55 »

Hi

Thanks for the replay / help

It got an error about the indentation now. or atleast thats its new problem

I am trying to fix it. But as you mentioned Flexget has changed

I just checked another server i have and its using a older ver of flexget likey part of my config issues

error:


sudo /usr/local/bin/flexget -c /home/BMS/Script s/tv.yml execute
2014-11-19 15:13 CRITICAL manager mapping values are not a llowed here in "<unicode string>", line 13, column 8: set: ^

-------------------------------------------------------------------------------
Malformed configuration file (check messages above). Common reasons:
-------------------------------------------------------------------------------

o Indentation error
o Missing : from end of the line
o Non ASCII characters (use UTF8)
o If text contains any of :[]{}% characters it must be single-quoted (eg. value {1} should be 'value{1}')

Reason: mapping values are not allowed here

----> MOST LIKELY REASON: Missing : from end of the line!

Check configuration near line 12, column 7

Fault is almost always in this or previous line

2014-11-19 15:13 CRITICAL manager Failed to load config fi le: Config file is not valid YAML
Could not initialize manager: Config file is not valid YAML
tboy55
Member
Member
Posts: 5
Joined: November 19th, 2014, 8:08 pm

Re: Flexget deluge error

Post by tboy55 »

I'll just attach the config file


I think I fixed the spacing but still errors:

russ@BMS-Serv:/home/BMS/Scripts$ sudo /usr/local/bin/flexget -c /home/BMS/Scripts/tv.yml execute
2014-11-19 15:50 CRITICAL manager [/] The keys `deluge`, `priority`, `BT chat`, `template`, `EZTV rss`, `rss` are not valid here.
2014-11-19 15:50 CRITICAL manager [/templates/tv/series/label] Got `tv`, expected: list
2014-11-19 15:50 CRITICAL manager [/templates/tv/series/settings/set] The key `movedone` is not valid here.
2014-11-19 15:50 CRITICAL manager [/templates/tv/series/settings/quality] Got `720p hdtv|webdl`, expected: dict
2014-11-19 15:50 CRITICAL manager [/templates/tv/series/settings/720p] Got `None`, expected: dict
2014-11-19 15:50 CRITICAL manager [/tasks] Got `None`, expected: dict
2014-11-19 15:50 CRITICAL manager Failed to load config file: Config did not pass schema validation
Could not initialize manager: Config did not pass schema validation
Attachments
tv.txt
flexget config for tv
(746 Bytes) Downloaded 589 times
User avatar
Ian
Moderator
Posts: 752
Joined: January 1st, 2011, 7:00 am

Re: Flexget deluge error

Post by Ian »

The line "BT chat:" needs indenting 2 spaces and the 3 lines beneath it need indenting 4 spaces. The same goes for the EZTV section.

The line "deluge: yes" needs indenting too (I think, I no longer use it in the new version).
Post Reply