#unknown issue with collection_files

1 messages · Page 1 of 1 (latest)

open driftBOT
#

❌ YAML validation failed! YAML checked and is NOT valid.

Error message:

while parsing a block collection
  in "<unicode string>", line 41, column 7:
          - file: config/collections/anime ... 
          ^
expected <block end>, but found '<block sequence start>'
  in "<unicode string>", line 57, column 8:
           - file: config/collections/anime ... 
           ^
#

📝 If you want to review this again, t0x1c4674:
:one: Right-click (or long press with phone) on the message that contains the log
:two: Select: Copy Message Link
:three: Use the command: /logscan <message_link> or !logscan <message_link> and paste the value copied from the previous step where you see <message_link> 📝

#

Welcome @mint marten!

Someone from <@&938443185347244033> will assist when they're available.

Including meta.log from the beginning is a huge help. Type !logs for more information.

After attaching your log, do not forget to hit the green check boxes when prompted by our bot.

#

You can press the "Close Post" button above or type /close at any time to close this post.

open driftBOT
#

I'm still pretty “new” to the whole thing, and I'm trying to transfer things from another config I found, but no matter what I've tried so far, it fails with "Filme" and the collection_files.

deft geyser
#

There's a formatting error around line 41 to 57 in the config.yml:

| YAML Error: while parsing a block collection                                                       |
|         in "/config/config.yml", line 41, column 7                                                 |
|       expected <block end>, but found '<block sequence start>'                                     |
|         in "/config/config.yml", line 57, column 8                                                 |

But overall this config is a mess.

#

This:

    metadata_file:

Should be:

    metadata_files:

everywhere it appears

#

This:

    collections:
      - Neue Serien:
          sync_mode: sync
          collection_order: release.desc
          builder_level: show
          plex_all: true
          filters:
            tmdb_status:
              - returning
              - planned
              - production
            first_episode_aired: 45
      - Trending Anime:
          anilist_trending: 10
          collection_order: custom
          sync_mode: sync
      - Popular Anime:
          anilist_popular: 10
          collection_order: custom
          sync_mode: sync
      - Top Rated Anime:
          anilist_top_rated: 30
          collection_order: custom
          sync_mode: sync

And the other two collections sections under other libraries do not belong in the config.yml; it goes in an external YAML file.

Just like:

      - file: config/collections/anime/010_suggested.yml
#

The error you are seeing is because line 58 is indented one space too many; compare the indentation between line 51 and line 58:

#

at line 117 this doesn't go in the middle of the collection_files and is indented too far:

      operations:
        - schedule: daily
          delete_unmanaged_collections: false
        - schedule: weekly(thursday)
          mass_audience_rating_update: mdb_average
          mass_critic_rating_update: mdb_metacritic
          mass_user_rating_update: imdb
          mass_content_rating_update: mdb
          mass_genre_update: imdb
        - schedule: weekly(thursday)
          mass_poster_update:
            source: tmdb
            seasons: false
            episodes: false

operations should be at the same level as collection_files.

open driftBOT
#

❌ YAML validation failed! YAML checked and is NOT valid.

Error message:

while parsing a block mapping
  in "<unicode string>", line 68, column 5:
        remove_overlays: false
        ^
expected <block end>, but found '<block sequence start>'
  in "<unicode string>", line 94, column 7:
          - file: config/collections/movie ... 
          ^
#

📝 If you want to review this again, t0x1c4674:
:one: Right-click (or long press with phone) on the message that contains the log
:two: Select: Copy Message Link
:three: Use the command: /logscan <message_link> or !logscan <message_link> and paste the value copied from the previous step where you see <message_link> 📝

#

i have removed the collection's that should lead to an external file, and have corrected the expression of operations, but still get an error ..

mint marten
#

looks like it was just a formatting error, if I may ask something else, the collection that I have now removed “Neue Serien” can I just copy this into a new yaml, or is there a part missing? sorry for the stupid question ..

#

i mean this here: collections: - Neue Serien: sync_mode: sync collection_order: release.desc builder_level: show plex_all: true filters: tmdb_status: - returning - planned - production first_episode_aired: 45 - Trending Anime: anilist_trending: 10 collection_order: custom sync_mode: sync - Popular Anime: anilist_popular: 10 collection_order: custom sync_mode: sync - Top Rated Anime: anilist_top_rated: 30 collection_order: custom sync_mode: sync

deft geyser
#

Yes, that goes in an external file, just like all the others you have, and gets linked in the config in the same way.

mint marten
#

thanks

ionic ploverBOT
#

antwanchild used !afnh

@mint marten, anything further needed here? If not, please type /close and hit enter. Please respond within 24 hours of this message or it will be archived.