config file doesn't work on windows #69

Open
opened 1 month ago by x8r · 7 comments
x8r commented 1 month ago

launching the latest, and previous versios version avaliable for windows creates a config.json but shows the following error:
"Reading config.json failed. Starting with builtin defaults."
I thought of using the config.json mentioned here but that didnt work since it can't read it

launching the latest, and previous versios version avaliable for windows creates a config.json but shows the following error: "Reading config.json failed. Starting with builtin defaults." I thought of using the config.json mentioned [here](https://git.mills.io/prologic/tube/src/branch/master/config.json) but that didnt work since it can't read it
Owner

"Reading config.json failed. Starting with builtin defaults."

Hmmm that's a pretty useless error 😅 We might have to improve the error there and actually spit out what the actual error was/is. Do you have any capacity to modify the code and build/test on your Windows machine?

> "Reading config.json failed. Starting with builtin defaults." Hmmm that's a pretty useless error 😅 We might have to improve the error there and actually spit out what the actual error was/is. Do you have any capacity to modify the code and build/test on your Windows machine?
x8r commented 1 month ago
Poster

I honestly have no clue how to do that 😭 i randomly stumbled across this project from a reddit post made a few years ago and thought it'd work for my specific use case but all the files I want to upload are in the gigabytes and the default is wayy too small for that.

I honestly have no clue how to do that 😭 i randomly stumbled across this project from a reddit post made a few years ago and thought it'd work for my specific use case but all the files I want to upload are in the gigabytes and the default is wayy too small for that.
Owner

@x8r Are you able to post your config file here as an attachment? I'd like to take a look at the file exactly... And maybe see if I can repro. 🤞

@x8r Are you able to post your config file here as an attachment? I'd like to take a look at the file exactly... And maybe see if I can repro. 🤞
Collaborator

@x8r what format are your video files in? If they already are mp4, then you might not need to upload/transcode them.
Also, I've recently fixed a bug that would force tube to allocate huge chunks of memory on uploading big files. That fix is not yet in the latest release.

@x8r what format are your video files in? If they already are mp4, then you might not need to upload/transcode them. Also, I've recently fixed a bug that would force tube to allocate huge chunks of memory on uploading big files. That fix is not yet in the latest release.
x8r commented 1 month ago
Poster

@prologic this is the config that gets generated when running 1.2.0

and to @gumbo2000 they're in mp4, I just thought uploading needed to be done through the website for whatever reason, will check out how it works now

@prologic this is the config that gets generated when running 1.2.0 and to @gumbo2000 they're in mp4, I just thought uploading needed to be done through the website for whatever reason, will check out how it works now
Owner

@x8r I think you forgot to attach it 😅

@x8r I think you forgot to attach it 😅
x8r commented 1 month ago
Poster

@prologic
Oh yeah, I can't attatch .json files for some reason. Noticed this when I retired just now. I've renamed it to .txt

@prologic Oh yeah, I can't attatch .json files for some reason. Noticed this when I retired just now. I've renamed it to .txt
Sign in to join this conversation.
No Milestone
No Assignees
3 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: prologic/tube#69
Loading…
There is no content yet.