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

Spinning pinwheel macOS #701

Open
AmitMY opened this issue Nov 27, 2024 · 5 comments
Open

Spinning pinwheel macOS #701

AmitMY opened this issue Nov 27, 2024 · 5 comments

Comments

@AmitMY
Copy link

AmitMY commented Nov 27, 2024

Describe the bug
Installing the app or from source, the app gives me the first window (select a server, username, room)
but then on the main screen I just get the Spinning pinwheel

To Reproduce

  1. Install on macOS
  2. python syncplayClient.py

Tried VLC version is VLC 3.0.20 and 3.0.21

image

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots

This screen is frozen
image

Version and platform:

  • OS: [e.g. Windows 10 64-bit or macOS 10.15] macOS 15.1.1
  • Syncplay version and build type: source
  • Media player and version: [e.g. VLC 3.0.16 32-bit] 3.0.20 / 3.0.21
@albertosottile
Copy link
Member

albertosottile commented Nov 27, 2024

@AmitMY

Install on macOS

Can you elaborate more on how you installed the sources? May I ask you why you are not using one of the released DMGs?

python syncplayClient.py

Does any message appear in the console? What if you start with the --debug command line option?

OS: [e.g. Windows 10 64-bit or macOS 10.15] macOS 15.1.1

What is your arch? x86-64 or arm64?

@AmitMY
Copy link
Author

AmitMY commented Nov 27, 2024

I first tried the dmg, with the same behaviour.
Then I installed from source:

conda create --name=syncplay python=3.11
conda activate syncplay 
git clone https://github.com/Syncplay/syncplay.git
cd syncplay       
 pip install -r requirements.txt
pip install -r requirements_gui.txt 
python syncplayClient.py

The app "works" on both setups, but freezes in the same place.

macOS on arm64

With --debug

2024-11-27 22:49:17.951 python[36954:4382772] +[IMKClient subclass]: chose IMKClient_Modern
2024-11-27 22:49:17.951 python[36954:4382772] +[IMKInputSession subclass]: chose IMKInputSession_Modern
[22:49:28] client/server >> {"TLS": {"startTLS": "send"}}
[22:49:28] Checking if syncplay.lua intf directory exists
[22:49:28] Found syncplay.lua intf directory:'/Users/amitmoryossef/Library/Application Support/org.videolan.vlc/lua/intf/'
[22:49:28] Copying VLC Lua Interface from '/Users/amitmoryossef/dev/tmp/syncplay/syncplay/resources/lua/intf/syncplay.lua' to '/Users/amitmoryossef/Library/Application Support/org.videolan.vlc/lua/intf/syncplay.lua'

@albertosottile
Copy link
Member

I suspect the issue is with running VLC, but I have no idea of what it is. Would it be possible for you to use another supported player, e.g. mpv or IINA?

@Et0h
Copy link
Contributor

Et0h commented Nov 29, 2024

If the problem is with copying the Lua interface then it could be some sort of privilege or permissions issue associated with Syncplay and/or the VLC folder. It might also relate to VLC storing its files in a weird folder. Does /Users/amitmoryossef/Library/Application Support/org.videolan.vlc/lua/intf/ exist on your system? Is there a syncplay.lua in that folder? If not, does manually copying the syncplay.lua file into that folder fix the problem?

@AmitMY
Copy link
Author

AmitMY commented Dec 24, 2024

Sorry for the very delayed response.

ls "/Users/amitmoryossef/Library/Application Support/org.videolan.vlc/lua/intf/"

Shows the files:

  • syncplay.lua

(did not need to manually copy)

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

No branches or pull requests

3 participants