-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
Spotifylyrics.exe opens and closes immediately on Windows 10 #21
Comments
Do you tried to install Visual C++ Redistributable for Visual Studio 2015 as mentioned in the readme? |
Yeah, I have it installed. |
Then I have no clue why it doesn't work. By doing a quick research I couldn't find any problems with pyinstaller on windows. |
Now I've tried the 1.40 version and it opened normally... But when I try to open the 1.50, happens what I said before... |
Hmm, the only difference is that I generated 1.40 on my own computer with Windows 1909 and 1.50 on travis which is a Windows Server, version 1809 |
I would create one ticket but my problem is similar to EvilLink, except that mine doesn't even start the .exe file in version 1.50, though it executes the 1.40 version normally (actually there is a problem with version 1.40 -- the reason why I tried the update -- it takes a good 30-50 seconds to start the application). So I don't know what could be the cause either, since last version runs it but the latest does not. |
So strange. |
@SimonIT here is my 'about' on the windows version, sorry, it is all in pt-BR, if you don't understand something just let me know. |
ps: I noticed my windows version is not updated. i'm trying to update now, and I'll report back to you once I install it and reboot my pc.ç |
Hm, the only differences to mine are a newer version (I got version 1909 and build 18363.815) and an Intel processor. I personally don't think that these two differences matters. Is there an error message if you start the .exe file from cmd? |
Ok, I updated my W10 version to 1909. Downloaded the 1.50 .exe file again, and it has the same problem, version 1.50 doesn't even open. No signs of its process on the Task manager. Version 1.40 still works, though it takes 30sec or so to open. Running through CMD: |
I tried now in a fresh installed Windows VM and it worked fine. I have no clue why it doesn't work for you both. If you got ideas, please share or try them. I would be very happy if we even get an error message. |
@SimonIT does the Version 1.50 generates any log file or AppData folder? I tried finding it, but no sings of it. |
There isn't any logging implemented, only some console outputs. Maybe it's now time implement something in this direction |
I'll keep you posted in case I find a way to make it work, though I don't know what else to do in order to teste it. But thank you very very much for the time and the updates! |
After all this time, I was thinking here... @kleytondread and me are from Brazil. Could it be possible any settings of region, location or format that our windows use and the Python can't access correctly to load? I already experienced something like this in others apps |
Hmm, that could be possible. Have you special characters in your usernames? I know that Java has sometimes problems with that, so I can think of having a problem with this here, too. |
If you mean spotify username, than no, no special characters. But I do use facebook authentication on my spotify, if that helps in anyway shape or form. |
No, I mean your windows username |
also no. |
Okay guys, I just released 1.52 with error reporting to sentry. If you update I will hopefully get an error message indicating what's going wrong |
Did you implemented a debug log mode or something like that, that I can do through CMD? |
No, I included sentry. But there appears no error. Now I let travis build the exe file without windowed mode, so there is a console which should show the error. https://github.com/SimonIT/spotifylyrics/releases/tag/1.52-DEBUG |
I tried to open through CMD or clicking on it. Same problem yet. But the 1.40 continues to open normally... |
Can you redownload https://github.com/SimonIT/spotifylyrics/releases/tag/1.52-DEBUG ? I made sure that now a console window opens with a log |
But how????? I mean I didn't change anything despite except .pyw to .py and removed the windowed flag from the pyinstaller command |
I have no idea how, but now it works normally with this log window.... It must be ALIENS! :P |
I'm not Python programmer but, I googled a little what you said and I found some people complaining about .pyw and .py, it appears to be the problem. https://stackoverflow.com/questions/21545667/cant-execute-pyw-on-windows |
I think we have to try it without pyw but with -w, maybe that works |
Let's do that, what I have to? |
Hey guys, @SimonIT what file should I download to test it (the .exe 1.52)? |
@kleytondread The exe from https://github.com/SimonIT/spotifylyrics/releases/tag/1.52-DEBUG seem to work for EvilLink https://github.com/SimonIT/spotifylyrics/releases/tag/1.52-DEBUG2 Here is the exe with .py but with the windowed flag for pyinstaller. @EvilLink If this works, I would be very happy |
LOL... Now it doesn't work..... Only the previous debug... |
Ahhhh, I'm freaking out. It could be this problem: pyinstaller/pyinstaller#4930, but I'm absolute unsure |
Well... I'll use the debug version while that... Chill your mind and let's forget this for a while, don't freak out |
@SimonIT, I can confirm this Debug version (1.52) opens fast, like it should. i'll try downloading the non-debug version to check it |
I was opening from Python console until 1.53, but now the 1.54 '.exe' opens normally (again)... Just to let you know... LOL |
Crazy |
Hey guys, I changed the building from travis to github actions. https://github.com/SimonIT/spotifylyrics/suites/1524211646/artifacts/26916651 Here is the newest exe. Maybe this does work |
Hey, SimonIT, sorry for the long time to reply. só far I have tested this new build in one of my computers (version has been stable and it opens properly). I cannot verify, however, on my desktop -- which is the one I was having problems with -- not until January, when I'm back home. With that said I'm gonna start studying your code, I feel I can learn a lot with it, I'm don't know much about Python, I only worked with Java and C# so far. But I wanna see if I can learn enough so I can try helping you (if you allow me, of course). PS: I'll try replaying this again once I have access to my Desktop |
I'm happy about any help :) I'm a bit busy with university stuff |
No problem. I closed the topic because apparently the problem was solved a long time ago. Sorry to not say it before, but I was busy a lot too. Thank you for all your effort! |
I use Windows 10 Version 1909, when I open the app it closes immediately, it shows in task manager list but vanishes. There's no error message or anything else.
The text was updated successfully, but these errors were encountered: