Syncplay / syncplay

Client/server to synchronize media playback on mpv/VLC/MPC-HC/MPC-BE on many computers
http://syncplay.pl/
Apache License 2.0
2.13k stars 215 forks source link

Syncplay doesn't launch #425

Closed Kehanort closed 1 year ago

Kehanort commented 3 years ago

I just installed Syncplay 1.6.8 and it refuses to launch with the error?

Errors in 'Syncplay.exe' - See the log file 'C:\Program Files (x86)\Syncplay\Syncplay.log` for details

All the log shows is this: PySide2/init.py: Unable to import shiboken2 from C:\Program Files (x86)\Syncplay\lib/libsync.zip

I've already updated Microsoft Visual C++ 2015 Redistributable both x86 and x64 and still nothing seems to work.

abhiraj2 commented 3 years ago

having the same issue on one of my laptops, but weirdly not on two others

abhiraj2 commented 3 years ago

It appears that the issue only exists on the latest release, I just checked 1.6.7 and it works just fine. It might have something to do with the weird path " C:\Program Files (x86)\Syncplay\lib/libsync.zip" since it uses twp different types of connectors "/" and "\"

Et0h commented 3 years ago

If it works on some laptops and not others then I don't think the direction of the slashes is the issue. I think that might just be shorthand for it saying "it isn't working". It is interesting that it works on some laptops and not others, it might depend on whether certain common dependencies are installed on the devices.

Does installing the latest version of the .NET Framework 4.8 fix the issue? https://dotnet.microsoft.com/download/dotnet-framework

It is very helpful to know that it works fine with Syncplay 1.6.7. Does the issue occur with both the installed and portable versions of Syncplay 1.6.8?

Et0h commented 3 years ago

Okay, I've created two different builds from my own machine. Please test them and let me know if they work:

samurai-legend commented 3 years ago

Test-1 worked for my friend thanks a lot :D cheers

Et0h commented 3 years ago

Those who have had a problem (or whose friends had a problem): Was this using the 32-bit (x86) or the 64-bit (x64) version of Windows 10?

spidermatt99 commented 3 years ago

I have the problem on 64-bit Windows 10, with both the portable version and installed. The test zips don't work for me. Nothing happens when trying to launch the exe, not even an error message.

Et0h commented 3 years ago

@spidermatt99 And did Syncplay 1.6.7 work fine for you? When it comes to debugging, the more information the better.

abhiraj2 commented 3 years ago

Both the test versions worked just fine on the laptop that wasn't able to run the official latest release but was able to run 1.6.7

spidermatt99 commented 3 years ago

@spidermatt99 And did Syncplay 1.6.7 work fine for you? When it comes to debugging, the more information the better.

Yes, 1.6.7 continues to work fine.

Harry466 commented 3 years ago

Okay, I've created two different builds from my own machine. Please test them and let me know if they work:

Thank you so much. your 1st test file worked for me:)

albertosottile commented 3 years ago

So, it seems the issue is caused by either Python 3.8 or PySide2 5.15, as these are the differences between the Test1 build and 1.6.8 release (the Test1 build embeds Python 3.6 and PySide2 5.12).

Since the issue is caused by dependencies, I am not sure how we should approach this. For the moment, I would encourage all the people that experience this issue to try again with the Test1 build and confirm this fixed the bug for them.

kittsville commented 3 years ago

Both Test1 and Test2 work for me.

The portable and installed 1.6.8 releases both fail with the Unable to import shiboken2 error.

I have Python 3.9.2 installed but not an existing copy of PySide2:

C:\Windows\System32>python -V
Python 3.9.2

C:\Windows\System32>pip show PySide2
WARNING: Package(s) not found: PySide2
Et0h commented 3 years ago

@Kehanort @abhiraj2 @samurai-legend @Harry466 @kittsville @spidermatt99 @redhawk5200

I've updated the automatic build venerator to use 32-bit, and it works fine for me on Windows 10 64-bit.

Can people have who had problems please test Syncplay 1.6.9 and let me know what version of Windows they are using and if it worked for them:

kittsville commented 3 years ago

It works for me now (Windows 10 64-bit), many thanks 👍

spidermatt99 commented 3 years ago

FYI, this is still not working for me on my Surface Pro 3. I know the hardware is old and do not know if this is having an impact. I have tried installing 1.6.9 and using the portable version. I've installed Visual C++ 2015 Redistributable, 32-bit and 64-bit. This is also after a completely clean install of Windows 10, so it seems unlikely that other software is interfering. However, the latest version works perfectly fine on my Alienware R3. I cannot tell what could possibly be different about the setups that would be interfering.

Et0h commented 3 years ago

@spidermatt99 Thanks for letting me know. Unfortunately I don't know what the key difference is between the build of 1.6.7 which works and the build of 1.6.9 which doesn't work and I don't have a Surface Pro 3 to test things out. For now it seems like you will have to choose between continuing to use 1.6.7, running Syncplay directly from Python, or trying to find a developer who can provide helpful suggestions.

Et0h commented 2 years ago

@spidermatt99 Does installing the Microsoft Visual C++ 2017 Redistributles fix the issue? (I'm thinking about the issues mentioned in #423)

spidermatt99 commented 2 years ago

@Et0h It's getting flagged as a virus now, and this is only the case for 1.6.9. Not sure what's going on, but seems I can't run the program without disabling Defender.

Et0h commented 2 years ago

@Et0h It's getting flagged as a virus now, and this is only the case for 1.6.9. Not sure what's going on, but seems I can't run the program without disabling Defender.

Try the version at https://github.com/Syncplay/syncplay/releases/download/v1.6.9/Syncplay-Client-1.6.9.zip

spidermatt99 commented 2 years ago

@Et0h Thanks! Looks like it works now. It still wasn't launching at first, but I found versions of the 2010 redistributables installed. Not sure why, but I uninstalled those and installed the 2015-2019 x86 package, and then it launched. The x64 package did not work.

yashkhamkar21 commented 2 years ago

Windows 10 32 bit...any of these links are not working..please help

Et0h commented 2 years ago

Windows 10 32 bit...any of these links are not working..please help

Does installing the 2015-2019 x86 package fix things? Go to https://docs.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-160 and install vc_redist.x86.exe.

yashkhamkar21 commented 2 years ago

@Et0h no sir.. it's not working..

Et0h commented 2 years ago

@yashkhamkar21 Good to know. Please answer the following questions to help me better understand the issue:

yashkhamkar21 commented 2 years ago

We have tried above mentioned ways. Still it is not working. If possible for you, can we host a meeting on google meet?

Et0h commented 2 years ago

We have tried above mentioned ways. Still it is not working. If possible for you, can we host a meeting on google meet?

Sure. Send an email to etoh@syncplay.pl with details on when you would be free for a meeting and we can arrange something and hopefully we can figure out what is wrong.

yashkhamkar21 commented 2 years ago

Sure..Thank you so much for your kind response sir!