Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Program terminated with exit(4) #60

Closed
1c7 opened this issue Jan 16, 2020 · 8 comments
Closed

Program terminated with exit(4) #60

1c7 opened this issue Jan 16, 2020 · 8 comments

Comments

@1c7
Copy link

1c7 commented Jan 16, 2020

Environment

in Electron.js 6.1.5 Desktop app,
I was trying to use JavascriptSubtitlesOctopus

Error

image

Zoom in picture

image

Reproducible code

https://github.com/1c7/Electron-JavascriptSubtitlesOctopus

git clone https://github.com/1c7/Electron-JavascriptSubtitlesOctopus.git
cd Electron-JavascriptSubtitlesOctopus/
npm install
npm run dev

Thank you!

@Dador
@TFSThiagoBR98

@TFSThiagoBR98
Copy link
Collaborator

TFSThiagoBR98 commented Jan 20, 2020

Is very simple, the track was not found, because the sub_url parameter is absolute and not relative.
change this subUrl: './1.ass' to subUrl: './js/1.ass'

@1c7
Copy link
Author

1c7 commented Jan 20, 2020

Thank you for the reply!
I would try that solution and come back with result, Thanks!

@1c7
Copy link
Author

1c7 commented Jan 20, 2020

not working. would you mind to help me again? @TFSThiagoBR98

@1c7
Copy link
Author

1c7 commented Jan 20, 2020

it's working now, subUrl: 'http://localhost:8080/js/1.ass

image

The rest is a font issue. I can handle it myself.

@1c7
Copy link
Author

1c7 commented Jan 20, 2020

let me close this issue for now.

@1c7 1c7 closed this as completed Jan 20, 2020
@1c7
Copy link
Author

1c7 commented Jan 20, 2020

This work too, subUrl: '/js/1.ass'

image

@1c7
Copy link
Author

1c7 commented Jan 20, 2020

font issue is fixed!

image

@1c7
Copy link
Author

1c7 commented Jan 20, 2020

Thanks, all problem solved :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants