-
Notifications
You must be signed in to change notification settings - Fork 397
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
A Java script error occured in the main process #35
Comments
does anybody else face the same issue ?? please help me out if you fixed this error !!! |
@Whiteshadow-hacker Well, I cannot reproduce this error. Also, to be honest, I have no idea what happened there. So, it might be a problem from electron's side. Anyway, I will probably add a commit for verbose logging in the console/file which could provide some idea where exactly error occurs. Until then, if you can clone this repo and run/build it, let me know if the error occurs again... |
@Melvin-Abraham dude thank you very much!!! . i am really glad that you responded to my issue. |
if you still want a clear idea of what's happening please see this video which I have screen recorded:: https://drive.google.com/file/d/1jmrBnHnA7ocWEgHo9vdrRuk2nvd2kQlB/view?usp=sharing |
I tried the .exe in windows and it works just awesome !!!! after testing it in windows, now i feel even more curious to have it on my main computer in which i run ubuntu. i am really impressed by your program. please help to get this on my linux !!!! |
@Whiteshadow-hacker Did you try cloning this repo and executing |
if you want the log file of the error, i can provide it !! |
@Whiteshadow-hacker Can you try deleting the |
dude, can you please tell me how to execute npm run with the --no-sandbox flag ??, when i removed the package-lock.json it installed well but i dont know how to run it in root |
dude, I figured out the problem !!! the error is neither with electron nor with your code !!! the problem is that it is not running in root !!! when I try running it as a normal user it works good. but not as root ........ can you please tell me how to run it in root??, because i am a guy who always use root account !!!! anyways thank you very much for you support..... i became a fan of yours 👍 |
if you can please tell me how to run it on root!! |
or else if possible can you please release a .deb of the code ?? so it'll be easy for Debian users to install. |
@Whiteshadow-hacker I think you are already a root user. You might notice a |
Also, just out of curiosity, can you explain how you figured out what the problem was? |
After deleting the Can you let me know if this causes any issues? |
dude, i would really really love to use your google-assistant on my computer i have been searching a google-assistant setup for my linux for months. please help me run it on root !!! |
Try changing |
@Whiteshadow-hacker Sorry for the delay. I have added a new commit for verbose logging which might give an idea at which point the error occurs. You can run the assistant with verbose logging in the console by executing the following line:
PS: Be sure to pull the latest changes from this repo beforehand. |
Hello there @Melvin-Abraham . I had the same error for some time, so I took the time to debug. It seems that the problem is that in some case, the window size is not what has been defined in onAppReady function (ie. 1000x420). If I output window size as fetched in line 369 of app.js If I force window size, for example: I don't know, maybe it's a problem with the current theme maybe. I'm on Ubuntu. If you want more information on my setup, please let me know. |
@jfretin Thanks a lot for taking time to figure that out 🥳. I totally missed the information that |
I confirm it now launches without error! Thanks! @Whiteshadow-hacker can you try this fix please? |
@jfretin @Melvin-Abraham thank you very much for your efforts guys !!! i really appreciate that 😃 but can you please be clear on what i have to do now to get it working ?, i am not a javascript programmer !!! |
@Whiteshadow-hacker There's nothing that can be done about this as it is a bug within the app itself. This will be patched in the future release. For the time being you can pull all the latest changes from this repo (using Hope that will work :) |
@Melvin-Abraham thank you very much dude, I've become a fan of your application. i hope it'll come soon !!!! 😃 |
I installed the google assistant (unofficial client) from the ubuntu software store. the installation was smooth, but when i try to launch the application from my applications menu, it opens a pop up saying that a java error occured in the main process i have attached a screen shot of the pop-up down here. and about my system specificaion, i use ubuntu 20.04.1
![Screenshot from 2020-11-02 19-49-58](https://user-images.githubusercontent.com/56890843/97878430-a4839300-1d44-11eb-9a4a-9075165bf8de.png)
The text was updated successfully, but these errors were encountered: