#PMM errors out on run

1 messages · Page 1 of 1 (latest)

worthy cipher
#

I noticed my PMM script didn't run and see that there is errors. Full log enclosed.

errant citrusBOT
#

Please complete #938455615741775902 and someone from the community or one of our <@&938443185347244033> members will respond when they're available.

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

low prawn
#

i ahve a feeling it might somethign that you redacted for obsious reasons

#

found character '\t' that cannot start any token
| in "//config/config.yml", line 14, column 1

#

see anything like that?

#

in your config, look near your trakt config

knotty rock
#

you have a tab character in the file

#

yaml only supports spaces

#

\t is the tab character

low prawn
worthy cipher
#

Line 14? I don't see it there

#

Ohhh, as in, I can't tab when formatting the code?

low prawn
#

i dont think your looking for \t i think your looking for a large space, you hit the tab button but it only works on space

worthy cipher
#

I definitely have tabs in there then. Interesting. Thank you! I'll take them out and try again

#

Can I see that more easily in VS Code?

low prawn
#

i think notepad++ will show you, thats what i use

#

go to view show whitespace and tab

worthy cipher
#

I'm on Mac, is the only thing

low prawn
#

try the yaml validator

worthy cipher
#

Damn, I didn't realize YML was this picky about formatting

#

I can't say exclude more than once?

low prawn
#

i think the "e" in exclude should be level with the t in data

floral pumice
#

So that's not how you do it

#

exclude:

  • thing1
  • thing2
  • thing3
low prawn
#

data:
exclude:

worthy cipher
#

Ah, gotcha. Thank you! Does that work the same for include? Is include in the streaming function? I didn't see it. I know it's in network

floral pumice
#

Yes

#

It's also worth noting that include and exclude will overwrite the existing include and excludes

#

You want to use include_append and exclude_append if you want to keep the default ones too

worthy cipher
#

Basically, I want only a few of the networks like netflix, Amazon, and Hulu

knotty rock
#

using exclude is fine

#

it doesnt have a default exclude so your fine overwriting it

#

and it doesnt go under data either

worthy cipher
#

Take out the data line?

floral pumice
#

Yes

worthy cipher
#

What about when I use include?

knotty rock
#

why are you trying to use include

#

include is not a support template variable for streaming

worthy cipher
#

Oh, I didn't realize that. I was trying to do the opposite of exclude so I wrote less code

knotty rock
#

the page for each default shows you what you can use with each file

#

you can make an inline list for prettier formatting

worthy cipher
#

I could have sworn an include was there. Maybe I was getting my overlays and collections mixed up

knotty rock
#

include is an option in many defaults

#

but not streaming\

#

network for example

worthy cipher
#

Ok, think I fixed it. Gonna run it and see

#

Looks good now. Thank you!

#

I tried to mark as resolved and it said "This interaction failed" here on Discord