butter-desktop-angular icon indicating copy to clipboard operation
butter-desktop-angular copied to clipboard

Black overlay covering whole screen if VLC is not installed

Open GauravButola opened this issue 10 years ago • 28 comments

If VLC is not already installed, then ptDetail directive crashes, due to which screen is covered with a black overlay making the app unusable from the start.

An error pops up in the console: libvlc.so.5: cannot open shared object file: No such file or directory

This issue goes away upon installing VLC which effectively makes liblvlc.so available.

GauravButola avatar Oct 25 '15 21:10 GauravButola

Well ptDetail is related to webchimera and for now this module is broken and not working. In the future it is planned for butter to use this https://github.com/BoLaMN/wcjs-angular (which is largely based on the webchimera inside this repo).

If you want to hack on the player, please talk to @BoLaMN.

hadim avatar Oct 25 '15 22:10 hadim

OS X or nix @GauravButola ?

BoLaMN avatar Oct 26 '15 00:10 BoLaMN

@BoLaMN Ubuntu 15.04.

GauravButola avatar Oct 26 '15 04:10 GauravButola

Same issue overhere, but i have VLC installed. Using Windows 10.

sinas06 avatar Oct 26 '15 09:10 sinas06

My only thoughts are the wcjs-prebuilt module isn't detecting correctly, might be time to switch over to my grunt-wcjs version I made here https://github.com/bolamn/grunt-wcjs example grunt config here https://github.com/BoLaMN/wcjs-angular-example/blob/master/Gruntfile.coffee would take extra work to modify electron-livereload as well to handle the location of the deps

BoLaMN avatar Oct 26 '15 11:10 BoLaMN

I also notive the overlay with packaged applications (using grunt package).

hadim avatar Oct 26 '15 12:10 hadim

this is what I'm seeing upon executing 'grunt start' from Git CMD or Git Bash. I just updated to the most recent version of VLC. Windows 8.1 x64. How do I access the console or log to provide better feedback?

butterbuilt

conductingchaos avatar Oct 26 '15 21:10 conductingchaos

never mind I opened ' ./scripts/menus/win32.coffee ' with Visual Studio and found the shortcut for enabling dev tools. Here's what I'm getting for errors: butterdevlog

I have a feeling that you're already aware of this, I'm going to try messing with it though. I haven't coded anything in Java since like 2006 and I've never written applications in Javascript. I saw there might be some python in here somewhere as well? So I'm not expecting to really be able to help much but I'm sick and bored so might as well do something.

conductingchaos avatar Oct 26 '15 22:10 conductingchaos

It's not python but Coffee. Coffee is a language that is converted to javascript. So basically is JS but with a python syntax :-)

Anyway I will try to reproduce the error.

hadim avatar Oct 26 '15 22:10 hadim

What version of node are you using (node --version) ?

hadim avatar Oct 26 '15 22:10 hadim

I installed node 4.2.1

conductingchaos avatar Oct 26 '15 22:10 conductingchaos

@BoLaMN I don't understand why webchimera.html is included in the detail page of a movie since the movie can be played with an external player... so the internal player should be loaded later isnt it ?

hadim avatar Oct 26 '15 22:10 hadim

@GauravButola since https://github.com/butterproject/butter-desktop-angular/commit/3aea7096782fb2df92dbbc0f6ff84fd76c9f2075, it should work even if vlc is not installed. Could you try please ?

hadim avatar Oct 26 '15 22:10 hadim

hi, got same pb here with win10

SamYStudiO avatar Oct 26 '15 22:10 SamYStudiO

WebChimera, Grunt, Electron, and Angular are all supporting packages that are prebuilt and we don't need to touch to make this work?

WebChimera Angular was written by BoLaMN, a PCT / butter developer. is that the files I should then be looking at?

conductingchaos avatar Oct 26 '15 22:10 conductingchaos

I don't know guys but for now angular repo is very ealry stage so maybe you should come back in a while and see if there is improvments on this.

hadim avatar Oct 26 '15 23:10 hadim

ok but this will be the new main fork? I can't clone the non angular butter folder from git due to remaining references to PCT.io servers.

conductingchaos avatar Oct 26 '15 23:10 conductingchaos

The main repo is butter and you should try. It'll work better than this one Le 27 oct. 2015 12:12 AM, "conductingchaos" [email protected] a écrit :

ok but this will be the new main fork? I can't clone the non angular butter folder from git due to remaining references to PCT.io servers.

— Reply to this email directly or view it on GitHub https://github.com/butterproject/butter-desktop-angular/issues/23#issuecomment-151310701 .

hadim avatar Oct 26 '15 23:10 hadim

I have the same issue.

Windows 10 Pro, 64 bit VLC v2.2.1 Node v4.0.0 Npm v2.14.2

Install log: http://pastebin.com/yhdE4XtG Error log: http://pastebin.com/NCMRi4R9

If you need any more info, please ask.

bartlangelaan avatar Oct 27 '15 04:10 bartlangelaan

@hadim Didn't seem to be working for me; I have the latest code from master. Attaching the console output screenshot if that helps.

Maybe for me it's not working because I was fiddling around with a lot of stuff, can someone else confirm if it works for them?

screenshot from 2015-10-27 11 29 23

GauravButola avatar Oct 27 '15 06:10 GauravButola

It has nothing to do with rather that vlc is installed or not..i assume you have a 64-bit windows installation. And if you look at the wcjs-prebuilt repo on github u will find out that this is a bug for 64-bit windows users. @BoLaMN is already looking into this

paularchive avatar Oct 27 '15 06:10 paularchive

Nice catch @paulhobbel . Issue seems to come from here https://github.com/Ivshti/wcjs-prebuilt/issues/10

You guys can try idea posted on the below issue and see wether it's work for you or not.

hadim avatar Oct 27 '15 07:10 hadim

@GauravButola I think you are facing an other issue. Are you running linux ?

hadim avatar Oct 27 '15 07:10 hadim

Yes @hadim, I'm running Linux, Ubuntu 15.04 to be specific. I don't face the issue after installing VLC though.

GauravButola avatar Oct 27 '15 07:10 GauravButola

@GauravButola I don't understand because your logs are saying that vlc is detected...

hadim avatar Oct 27 '15 07:10 hadim

@hadim Seems like I've broken VLC on my system, it won't open at all now. So, now there's something wrong in part as well. Initially it was not detecting VLC at all (because it was not there), so the logs above about VLC were not there for me when I reported the bug.

I guess if someone else isn't facing the same issue, we can close the issue.

GauravButola avatar Oct 27 '15 08:10 GauravButola

Well your system installed vlc shouldn't interfer with Butter and should not produce this bug I guess... But we are far from this kind of details for now.

Let it open for the other issue.

hadim avatar Oct 27 '15 08:10 hadim

I can confirm that on Windows 10, 64 bit this quickfix is working! Thank you!

Steps to quickfix:

  1. Download the 64bit version of VLC: http://get.videolan.org/vlc/2.2.1/win64/vlc-2.2.1-win64.zip
  2. In butter-desktop-angular\node_modules\wcjs-prebuilt\bin replace libvlc.ddl, libvlccore.ddl and the plugins folder with the 64 bit version of VLC.

bartlangelaan avatar Oct 27 '15 12:10 bartlangelaan