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

Can't open app from the top bar #28

Closed
EsenbekAliev opened this issue Jun 15, 2019 · 9 comments
Closed

Can't open app from the top bar #28

EsenbekAliev opened this issue Jun 15, 2019 · 9 comments
Labels

Comments

@EsenbekAliev
Copy link

@EsenbekAliev EsenbekAliev commented Jun 15, 2019

I own 2014 Model S , logged in but app won't launch at all, clicking the icon - nothing happens. Does it work only with new M3s?

@EsenbekAliev
Copy link
Author

@EsenbekAliev EsenbekAliev commented Jun 15, 2019

Killing the app from Activity Monitor doesn't help after relaunch app still won't work

@geraldoramos
Copy link
Owner

@geraldoramos geraldoramos commented Jun 15, 2019

Which version are you using?

There is an issue with the main window not loading that only happens in some circumstances I could not identify the reason yet. If you have any extra information that could be helpful, let me know.

Can you try to start the app from the terminal by going to the application folder, then 'Nikola.app/Contents/MacOS, then run ./Nikola and see if there is any error being logged as the app starts and get stuck?

It happened to me a few times and no error was raised, so I'm kinda stuck on this issue since it's intermittent. I will keep trying to identify the root cause.

@geraldoramos
Copy link
Owner

@geraldoramos geraldoramos commented Jun 19, 2019

Opened an issue with Electron team about this.
electron/electron#18877

@traviscollins
Copy link

@traviscollins traviscollins commented Jun 19, 2019

I believe I'm running into the same issue. New download today - never used before. Open the app, login, then get a waiting icon and nothing happens. Ran from Terminal and here's the output...

valcore:MacOS wildag$ ./Nikola
13:01:51.057 › Nikola App starting...
2019-06-19 13:01:51.149 Nikola[6942:958748] *** WARNING: Textured window <AtomNSWindow: 0x7fbfefc2c9a0> is getting an implicitly transparent titlebar. This will break when linking against newer SDKs. Use NSWindow's -titlebarAppearsTransparent=YES instead.
13:01:51.671 › Checking for update
13:01:51.717 › Hitting Tesla API on Wed Jun 19 2019 13:01:51 GMT-0400 (Eastern Daylight Time)
13:01:52.720 › Update for version 0.3.0 is not available (latest version: 0.3.0, downgrade is disallowed).
13:01:52.721 › checkForUpdatesAndNotify called, downloadPromise is null
13:02:03.054 › Error response: 408
13:02:03.055 › Error response: 408

Perhaps related to "downloadPromise is null"?

I'm running Mac OSX 10.14.5 (18F132)

UPDATE: added the two "Error response: 408" lines

UPDATE 2: Waited a few more minutes, and then the app popuped up. I have two vehicles, and it picked the one I really want to monitor (though both would be great). Seems to be working correctly.

@geraldoramos
Copy link
Owner

@geraldoramos geraldoramos commented Jun 19, 2019

Hi @traviscollins, thanks for the report. The error 408 is a Tesla API "busy" error that happens if we do requests too close to each other (if open/close the tray too fast, this can happen) or if you are using another Tesla app (especially the mobile app). If this happens before any data is gathered, it will be loading for a long time trying until it gets the first data from the API. So, I think this is not related to the issue here.

Regarding the issue of sometimes the window becoming invisible (after you log in and the app is running normally), I can't figure out what is going on and what causes it. I reported it in details to the Electron team here. If it happens to you, the window seems to be still alive, it just gets invisible, if you get to the very top you will see that you can still right click and quit the APP. It's a weird one, I'm trying my best to find a solution asap. It happens suddenly and when it happens, an app restart is required to restore.

The download promise thing is not an issue, it just means you are in the last version and will not attempt to download/update the app. I believe this is the normal behavior for the electron-builder update tool.

here is a demo of the issue:

error

@EsenbekAliev
Copy link
Author

@EsenbekAliev EsenbekAliev commented Jun 19, 2019

UPDATE: I just reinstalled the app and seems to be no issues, top bar icon always opens the info, not sure what changed, same version as before

@geraldoramos
Copy link
Owner

@geraldoramos geraldoramos commented Jun 19, 2019

UPDATE: I just reinstalled the app and seems to be no issues, top bar icon always opens the info, not sure what changed, same version as before

It eventually happened again with me, it just took a while and happened without any apparent pattern. This issue is pretty tricky, I will continue to investigate and see if Electron guys can give me a hand. Thanks for reporting it.

@geraldoramos
Copy link
Owner

@geraldoramos geraldoramos commented Jun 20, 2019

This issue has been fixed. Please update to the last release when possible!

@EsenbekAliev
Copy link
Author

@EsenbekAliev EsenbekAliev commented Jun 20, 2019

thanks, seems to be working now

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

Successfully merging a pull request may close this issue.

None yet
3 participants