Page 1 of 1
VLSub crashes constantly
Posted: 27 Oct 2016 00:41
by mrelwood
I've had this issue for quite a long time now. Every now and then the VLsub 0.9.13 extension breaks, and only crashes when clicking either Search by hash or Search by name. Opensubtitles.org is up and running, and the subtitle in question can be found via a web browser or FlixTools.app.
Removing VLC.app and org.videolan.vlc from the ~/Library/Preferences and Application Support and reinstalling VLC does not solve the issue, still only crashes. I really don't know what happens that makes it work again, but eventually it will.
Issue has been going on atleast since about VLC 2.2.0 on OS X 10.11 El Capitan, still going on VLC 2.2.4 on MacOS 10.12.1 Sierra.
Re: VLSub crashes constantly
Posted: 27 Oct 2016 15:31
by ZzFDKzZ
VLSub was working fine for me until last night. It just hangs and crashes.
EDIT: I'm actually on Windows 10.
Re: VLSub crashes constantly
Posted: 27 Oct 2016 21:28
by Demins
Same story here! Since 1 or 2 days...
Re: VLSub crashes constantly
Posted: 28 Oct 2016 00:15
by xceno22
Same for me since 2 days. Also on Windows 10. Have re-installed, tried older versions as well, used 32 bit as well as 64 bit. Nothing helps.
Re: VLSub crashes constantly
Posted: 28 Oct 2016 18:56
by Tommasso
same problem here in The netherlands. Since 2 days the extension VLsub 0.9.13 crashes constantly.
MAC Sierra VLC 2.2.4
Re: VLSub crashes constantly
Posted: 28 Oct 2016 20:01
by xceno22
Sketches posted this in the thread that I started in the Windows section:
I found out by accident that if you wait about +/- 1 minute, after the "Extension VLsub 0.9.13 does not respond" message appears and you don't click to close vlsub, it will work and results of the search will appear (both by hash or name).
So technically it's still working but the long wait and error message are annoying.
Hope this helps.
So just let the error message be there and the subs will come up after about a minute.
I tried it and it worked for me (with Windows 10). Hope it works for you as well.
Still very annoying though...
Re: VLSub crashes constantly
Posted: 28 Oct 2016 20:44
by Tommasso
xceno, yes it works this way but takes a bit of time. For the time being it will do. A solution probably comes soon I hope. Thanks for your "accident"
MAC Sierra here
Re: VLSub crashes constantly
Posted: 29 Oct 2016 17:43
by xceno22
xceno, yes it works this way but takes a bit of time. For the time being it will do. A solution probably comes soon I hope. Thanks for your "accident"
MAC Sierra here
Tommasso, go to the thread that I started in the Windows-section, there are now further instructions from a developer:
https://forum.videolan.org/viewtopic.php?f=14&t=136182
Don't know if this works for Mac as well otherwise you could perhaps pm him?
Re: VLSub crashes constantly
Posted: 30 Oct 2016 00:45
by mrelwood
Thank you xceno22! The process explained by Rami does indeed work for Mac too.
From RĂ©mi Denis-Courmont at the Windows side of this forum:
https://forum.videolan.org/viewtopic.ph ... 82#p449717:
OpenSubtitles.org has apparently updated their servers. That uncovered latent bugs in the very dumb HTTP support of the VLSub extension.
To work around the problem (you might need administrator privileges):
Go to the VLC installation directory.
Look for the file named lua/extensions/VLSub.luac.
Open that file in a binary or hexadecimal editor. (DO NOT USE a text editor.)
Look for the character sequence "HTTP/1.1" (without quotes).
Replace the last one by a zero: "HTTP/1.0".
Repeat the procedure; there should be a second occurence in the file.
Save the file.
(Re)start VLC.
"iHex" is a free hex editor suitable for the job, available in the Mac App Store.
Re: VLSub crashes constantly
Posted: 30 Oct 2016 00:51
by mrelwood
For those who are overwhelmed by the process, here is the patched VLSub.luac (I made it version 9.9.13 to differentiate it from official versions):
EDIT: Unsafe link removed. The file can be downloaded from the VLC bug report here:
https://trac.videolan.org/vlc/ticket/17566
Re: VLSub crashes constantly
Posted: 30 Oct 2016 12:13
by A7ibaba
For those who are overwhelmed by the process, here is the patched VLSub.luac (I made it version 9.9.13 to differentiate it from official versions):
http://ge.tt/5zF41wf2
Web site is unsafe and safari doesn't allow downloads nor visits
Re: VLSub crashes constantly
Posted: 30 Oct 2016 12:36
by Mystik
This has been discussed in VLSub GitHub.
Opensubtitles says this is due to CloudFlare.
They also provided a temporary hosts file fix once a new version of VLSub is live.
https://github.com/exebetche/vlsub/issu ... -256975577
Used this one and it worked for me.
Re: VLSub crashes constantly
Posted: 30 Oct 2016 14:50
by xceno22
Thank you xceno22! The process explained by Rami does indeed work for Mac too.
Great
Re: VLSub crashes constantly
Posted: 30 Oct 2016 16:29
by mrelwood
For those who are overwhelmed by the process, here is the patched VLSub.luac (I made it version 9.9.13 to differentiate it from official versions):
Link removed
Web site is unsafe and safari doesn't allow downloads nor visits
Not a surprise there, it was just the first found by Google...
Edit:
You can download the modified VLSub.luac from the VLC bug report here:
https://trac.videolan.org/vlc/ticket/17566
Another temporary fix is to edit Operating System's hosts file as described here:
https://github.com/exebetche/vlsub/issu ... -256975577
Re: VLSub crashes constantly
Posted: 30 Oct 2016 19:58
by ZzFDKzZ
Re: VLSub crashes constantly
Posted: 30 Oct 2016 23:56
by mrelwood
I got asked about this in a private message. The point is to help everybody, so I answer here.
In a Mac the "installation directory" referred to in the Windows forums, is Applications/VLC.app. To see the contents, right click (ctrl click) VLC.app and select "Show Package Contents". The path to the VLSub.luac is:
VLC.app/Contents/MacOS/share/lua/extensions/
Regarding the hex editor, the free iHex from the Mac App Store works fine. It has a search function, so you can just search for "HTTP/1.1".
Re: VLSub crashes constantly
Posted: 31 Oct 2016 20:09
by Tommasso
well, thanks everybody, but it was a lot of abracadabra for me.
There was no search function for HTTP/1.1 but after endless scrolling I found and changed it.
I found the HTTP/1.1 and even could change it in HTTP/1.0
Did not have to restart VLC, it worked right away, also after restarting.
And it works. MAC SIERRA again
BUT DO I HAVE TO RECHANGE IN TIME?
I mean back to HTTP/1.1 ????
And when?
Or wil some kind of automatical update follow?
Tom