chrisbenincasa / tunarr

Spiritual successor to dizqueTV
https://tunarr.com/
zlib License
88 stars 9 forks source link

[Bug] RangeError: Invalid time value #511

Open jl94x4 opened 3 weeks ago

jl94x4 commented 3 weeks ago

Contact Details

No response

What happened?

A bug happened!

Version

0.1.0

What browser did you experience the the problem on?

Microsoft Edge (125.0.0.0)

What operating system are you using?

Windows (NT 10.0)

Relevant log output

RangeError: Invalid time value
    at nHe (http://192.168.1.22:3333/web/assets/index-9ade4abc.js:363:88917)
    at nA (http://192.168.1.22:3333/web/assets/index-9ade4abc.js:62:19550)
    at nU (http://192.168.1.22:3333/web/assets/index-9ade4abc.js:64:44096)
    at J5 (http://192.168.1.22:3333/web/assets/index-9ade4abc.js:64:39817)
    at Mee (http://192.168.1.22:3333/web/assets/index-9ade4abc.js:64:39744)
    at cb (http://192.168.1.22:3333/web/assets/index-9ade4abc.js:64:39595)
    at _P (http://192.168.1.22:3333/web/assets/index-9ade4abc.js:64:35958)
    at X5 (http://192.168.1.22:3333/web/assets/index-9ade4abc.js:64:34905)
    at E (http://192.168.1.22:3333/web/assets/index-9ade4abc.js:49:1558)
    at MessagePort._ (http://192.168.1.22:3333/web/assets/index-9ade4abc.js:49:1920)
chrisbenincasa commented 3 weeks ago

Are you able to provide any other details? Were you adding a ton of programs? What sort of program tools, if any, were you using? Any details would be very helpful here!

jl94x4 commented 3 weeks ago

This is just me adding one TV Show, when saving I get

Error saving programs. Zodios: Invalid Body parameter 'body'

chrisbenincasa commented 3 weeks ago

Hmm ok, that's tough to debug without additional context. There should be more details in that log, too, which is weird.

I don't think this feature is completely broken since some others and I have been testing 1000s of shows at once...so we have to find a way to get more error details from your situation

chrisbenincasa commented 2 weeks ago

The initial error "invalid time value" is different from the second error on the save request. Have you tried pulling more recent builds and retrying?

jl94x4 commented 2 weeks ago

The initial error "invalid time value" is different from the second error on the save request. Have you tried pulling more recent builds and retrying?

I updated tonight.

It only gives the Zodios error when I include some shows in the programming.

chrisbenincasa commented 2 weeks ago

For the Zodios error, there should be some more details in the developer tools console that would be helpful to paste in here.

jl94x4 commented 2 weeks ago

ChannelProgrammingConfig.tsx:101 Error: Zodios: Invalid Body parameter 'body' at MVe.request (index.mjs:4:2592) at async tB.interceptRequest (index.mjs:9:782) at async OVe.request (index.mjs:9:6099)Caused by: ZodError at get error (index.mjs:538:31) at MVe.request (index.mjs:4:2644) at async tB.interceptRequest (index.mjs:9:782) at async OVe.request (index.mjs:9:6099) ZodError at get error (index.mjs:538:31) at MVe.request (index.mjs:4:2644) at async tB.interceptRequest (index.mjs:9:782) at async OVe.request (index.mjs:9:6099) onError @ ChannelProgrammingConfig.tsx:101 execute @ mutation.js:127 Show 1 more frame Show less [NEW] Explain Console errors by using Copilot in Edge: click

     to explain an error. 
    Learn more

      Don't show again

Error: Zodios: Invalid Body parameter 'body' at MVe.request (index.mjs:4:2592) at async tB.interceptRequest (index.mjs:9:782) at async OVe.request (index.mjs:9:6099)Caused by: ZodError at get error (index.mjs:538:31) at MVe.request (index.mjs:4:2644) at async tB.interceptRequest (index.mjs:9:782) at async OVe.request (index.mjs:9:6099)

chrisbenincasa commented 2 weeks ago

I see. Im still surprised by the lack of error details: that line should print a bunch of info: https://github.com/chrisbenincasa/tunarr/blob/dev/web/src/components/channel_config/ChannelProgrammingConfig.tsx#L99-L102

chrisbenincasa commented 2 weeks ago

I'm going to push a change that hopefully will get more details printed.

chrisbenincasa commented 2 weeks ago

OK once e486db84abc1e6ea1050edb14f1a30355d610f2a lands in the edge build we should get the actual type error