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

Black overlay covering whole screen if VLC is not installed #23

Open
GauravButola opened this issue Oct 25, 2015 · 28 comments
Open

Black overlay covering whole screen if VLC is not installed #23

GauravButola opened this issue Oct 25, 2015 · 28 comments
Labels
Milestone

Comments

@GauravButola
Copy link
Contributor

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.

@hadim
Copy link
Contributor

hadim commented Oct 25, 2015

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.

@BoLaMN
Copy link

BoLaMN commented Oct 26, 2015

OS X or nix @GauravButola ?

@GauravButola
Copy link
Contributor Author

@BoLaMN Ubuntu 15.04.

@sinas06
Copy link

sinas06 commented Oct 26, 2015

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

@BoLaMN
Copy link

BoLaMN commented Oct 26, 2015

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

@hadim
Copy link
Contributor

hadim commented Oct 26, 2015

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

@hadim hadim modified the milestone: 0.4 Oct 26, 2015
@hadim hadim added the bug label Oct 26, 2015
@conductingchaos
Copy link

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
Copy link

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.

@hadim
Copy link
Contributor

hadim commented Oct 26, 2015

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
Copy link
Contributor

hadim commented Oct 26, 2015

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

@conductingchaos
Copy link

I installed node 4.2.1

@hadim
Copy link
Contributor

hadim commented Oct 26, 2015

@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
Copy link
Contributor

hadim commented Oct 26, 2015

@GauravButola since 3aea709, it should work even if vlc is not installed. Could you try please ?

@SamYStudiO
Copy link

hi, got same pb here with win10

@conductingchaos
Copy link

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?

@hadim
Copy link
Contributor

hadim commented Oct 26, 2015

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.

@conductingchaos
Copy link

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.

@hadim
Copy link
Contributor

hadim commented Oct 26, 2015

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
#23 (comment)
.

@bartlangelaan
Copy link
Contributor

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.

@GauravButola
Copy link
Contributor Author

@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

@paularchive
Copy link

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

@hadim
Copy link
Contributor

hadim commented Oct 27, 2015

Nice catch @paulhobbel . Issue seems to come from here Ivshti/wcjs-prebuilt#10

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

@hadim
Copy link
Contributor

hadim commented Oct 27, 2015

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

@GauravButola
Copy link
Contributor Author

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

@hadim
Copy link
Contributor

hadim commented Oct 27, 2015

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

@GauravButola
Copy link
Contributor Author

@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.

@hadim
Copy link
Contributor

hadim commented Oct 27, 2015

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.

@bartlangelaan
Copy link
Contributor

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.

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

No branches or pull requests

8 participants