Quantcast
Channel: configuration - Forum - FlexGet
Viewing all articles
Browse latest Browse all 716

Simple config, mapping values are not allowed here

$
0
0

@TeenieBopper wrote:

Hello all,

I'm trying to get what I think is a pretty simple config file working. Here is my config file:

templates:
  tv:
    series:
      settings:
        720p:
          timeframe: 6 hours
          quality: 720p
          set:
            movedone: "/media/PublicMedia/Television/Current/%(series_name)s/Season %(series_season)s/"

        HDTV:
          quality: hdtv
          set:
            movedone: "/media/PublicMedia/Television/Current/%(series_name)s/Season %(series_season)s/"

      720p:
        -ShowOne
        -ShowTwo
        -ShowThree

      HDTV:
        -ShowFour
        -ShowFive
        -ShowSix

    deluge: yes
      path: /media/

tasks:
  CurrentTV:
    rss: https://eztv.ag/ezrss.xml
    priority: 1
    template: tv

When I try to test, I get the following output

 sudo -H -u deluge flexget --test execute -v
2016-02-03 22:03 INFO     manager                       Test mode, creating a copy from database ...
2016-02-03 22:03 INFO     manager                       Test database created
2016-02-03 22:03 CRITICAL manager                       mapping values are not allowed here in "<unicode string>", line 28, column 11: path: "/mediai/" ^

-------------------------------------------------------------------------------
 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 27, column 10

 Fault is almost always in this or previous line

2016-02-03 22:03 CRITICAL manager                       Failed to load config file: Config file is not valid YAML
Could not start manager: Config file is not valid YAML

Line 27, column ten is the path: /media/ line. I've checked the deluge plugin wiki, and my config file appears to match the example there. I've tried changing the like to /media, "/media" and "/media" with a colon after all of those. I've also tried googling and searching this forum for the mapping values not allowed here error with no luck. What am I doing wrong?

Posts: 7

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 716

Trending Articles