#IMDB Lists Error Every Time!
1 messages · Page 2 of 1
for the longest time ive been running 2 metadata files for overlays, and i have 1 fail and the other not on more occassions than I can count
A timeout is you calling your friend and the call going to voice mail. What you're claiming is that your friend picking up the phone or not depends on whether you're calling from your house or your garage.
Put all your overlays in one file or not, that's up to you, but it's not going to affect whether or not a server responds to any given request inside the timeout.
im not saying it going to affect that, what im sayign is it's going to affect your run times
Still, no.
If you have logs showing any significant difference I'd be very interested in them.
longer run times with more runs = more time not sure how that isn't true
longer run time + extra run (for server timeout) = more time
shorter run time + extra run (for server timeout) = less time
On another note, do you happen to know what the transparency percentage is for the lozenges?
A server timeout happening or not has nothing to do with whether you have the overlays in more than one file.
Let's say that your five overlays take ten minutes each plus ten minutes to apply them.
A successful run takes one hour.
It's going to take an hour whether you have one file or five.
If you suffer an error of some sort in there, like a server timeout, you're going to have to rerun the overlays, but that server timeout was not in any way related to your having 1 file or five.
The successful run will still take an hour.
The failed runs will take some amount of time, which is "wasted time", but whether a run fails or not is not related to how many metadata files the overlays are split into.
If it fails on the first overlay in file four, it still took 30 minutes to process the first three files, just the same as if it failed on the fourth overlay in the one file.
thats exactly what i been saying!
But that has nothing to do with the number of files.
im not saying failed runs have anything to do with number of files
Failing on overly four of five in one file takes just as long as failing on overlay four of five in five files.
im ONLY saying that if you have a failed run with more than 1 file compared to all in 1 file, you have longer run times (when added consecutively)
that is it, nothing more
That's not true.
omg
we are just going to have to agree to disagree
i dont know how this can be when you said it yourself.
The failed runs will take some amount of time, which is "wasted time"
That wasted time has nothing to do with multiple files. It will be wasted whether or not those overlays were defined in one file or two or five.
I edited this, makes sense now?
when you add all the time together from both the runs, not a single run
the time is longer
I don't disagree with that.
Sure, if a run fails you have to run it again and the first run time is wasted making the entire process take longer, yes.
The number of metadata files involved doesn't affect that.
The error occurs or it doesn't. If it occurs, you have to run the whole process again, if it doesn't, you don't have to. External factors like timeouts are not any more or less likely when overlays are defined in 1 or more files.
I welcome logs showing this to not be the case.
3 overlays = 1 Hour Run Time
1 File with 3 Overlays
1 File = 1hr
Run #1 (0 Minutes was spent on this run)
1 File = Fail
Run #2 - To apply the failed overlays (1hr was spent on this run)
1 File = Success
Total Run Time = 1hr
3 Files with 1 Overlay Each
1st File = 20min
2nd File = 20min
3rd File = 20min
Run #1 (40 Minutes was spent on this run)
1st File = Fail
2nd File = Success
3rd File = Success
Run #2 - To apply the failed overlays (1hr was spent on this run)
1st File = Success
2nd File = Success
3rd File = Success
Total Run Time = 1hr 40min
Run #1 (0 Minutes was spent on this run)
1 File = Fail
This is the disconnect. That file won't fail in 0 minutes.
it's an example give me a break, if i didn't add 2 min
If that file contains five overlay definitions, it's going to process them serially:
however in this example there is only 3 overlays
where each overlay = 20 min
these are just simple figures being made, to give a simple example of how the time is longer
the idea is the more overlays files that you have the more wasted run time you have in a situation like this.
On another note, do you happen to know what the transparency percentage is for the lozenges for the default pmm overlays?
Assumption:
three overlays, each taking ten minutes to process.
applying overlays on the library takes ten minutes
one file:
file-1.yml; overlay 1: 1 minute [fails with default timeout]
file-1.yml; overlay 2: 10 minutes
file-1.yml; overlay 3: 10 minutes
Applying overlays:
all overlays: 10 minutes
Total runtime 30 minutes
Oh dang there was an error. have to run it again.
one file:
file-1.yml; overlay 1: 10 minutes
file-1.yml; overlay 2: 10 minutes
file-1.yml; overlay 3: 10 minutes
Applying overlays:
all overlays: 10 minutes
Total runtime 40 minutes
Hooray it worked and took 70 minutes all together
three files:
file-1.yml; overlay 1: 1 minute [fails with default timeout]
file-2.yml; overlay 2: 10 minutes
file-3.yml; overlay 3: 10 minutes
Applying overlays:
all overlays: 10 minutes
Total runtime 30 minutes
Oh dang there was an error. have to run it again.
three files:
file-1.yml; overlay 1: 10 minutes
file-2.yml; overlay 2: 10 minutes
file-3.yml; overlay 3: 10 minutes
Applying overlays:
all overlays: 10 minutes
Total runtime 40 minutes
Hooray it worked and took 70 minutes all together
so let me clarify something about how pmm loads overlay files and metadata files.
All files are loaded at the beginning of the run and the items found are all stored in the same list no matter if its one file with 5 overlays or 5 files with 1 overlay each. before any overlays or collections are processed both of the stated situations are all loaded into a list in memory with 5 items in it
your representing 3 files as a single file in the first example. that's the only way your getting that.
remove the extra two file-1.yml from first example then it would be accurate
Isn't that your claim? one file containing three overlays fails faster than three files each containing one?
Your first case appears to be assuming that a single failure skips the entire file, which isn't true in the case of a timeout.
if the file has a yaml error it will skip the whole file
but thats a different issue
Looks like a timeout does stop further things in that same file from being processed; still went through all the preceding ones, though, so the time saved depends on where the failing overlay happens to be in the list, I suppose.
it's posiition is going to be fairly random. but it does stop everything, and it has happened for numerous collections/overlays in a single run
unexpected errors are going to kill the whole library from being run
its got nothing to do with the different files
im not saying it does
im only saying the more files being used the longer your run times are going to be cumulative.
timeouts are a fairly normal occurence to happen on larger libraries as well.
I would say that whenever you have errors, run times are unpredictable...
and trying to predict the unpredictable is futile
also try upping your timeout from 120 to 360
tried didn't make a difference
in the end, i wanted to answer a question you asked above: On another note, do you happen to know what the transparency percentage is for the lozenges for the default pmm overlays?
60%.
whoa
We use teh RGBA standard to determine this number
what's this mean?
can i just make a black box and set it to 60% and it be the same?
font_color: "#FFFFFF"
back_color: "#00000099"
notice the difference here?
think i actually set it to 300 be exact , not 360, which is 5 minutes kinda long for a timeout.
one is longer than the other?
more characters
i thought that is hex not rgb?
the first 6 characters are the RGB values the last 2 characters are the Alpha value which controls transparency
#RRGGBBAA
So like this?
only lets me enter one "0" value
just a gentle reminder that nobody here gets paid to spend their free time with supporting and improving PMM, if you want to support the project consider a donation at https://github.com/sponsors/meisnate12 or by contributing code on the GitHub
yup
and the transparency is 60%
which as you see is ".60" which is 60% opacity
if you want it at 80%... then the site allows you to edit the alpha value
and you may want to consider making a new seperate support thread for each issue, the other guys here are too nice to say it but i will play the bad guy and do it, at 1000+ messages this is far from being about "imdb lists error every time" now, try to keep things tidy and easy to follow, this will only help to get the problem solved quicker.
it's got a 25 degree corner radius that much i know
I did try, this one just eneded up getting picked up instead, and contnued on from yesterday since it had context from what we were doing yesterday with yozora with overlays
#1019166045409382420 message