vzhd1701 / gridplayer

Play videos side-by-side
GNU General Public License v3.0
1.17k stars 91 forks source link

[Bug]: dev environment does not work on Windows with Python 3.12 #208

Open whyboris opened 6 months ago

whyboris commented 6 months ago

GridPlayer version

current

What OS are you using?

Windows

OS Version / Linux distribution

Windows 10

What distribution channel are you using? [LINUX ONLY]

None

Bug description

Followed instructions on Windows: installed poetry, ran appropriate command to have it be part of PATH, cloned this repository, ran poetry install but when I run poetry run gridplayer after 2 seconds terminal gets back to regular state with no output showing anywhere.

In the Task Manager I see several processes appear under my terminal (collapsed under alacritty.exe, like 4 instances of Python) but they disappear under 2 seconds.

No terminal output (no errors, nothing).

I couldn't get the app to start while running Python 3.12

So I nuked all my Python installations, installed Python 3.8.10, reinstalled Poetry and it worked 😭

I think we need to update the README for now; fixing it to work with 3.12 (and I suspect 3.11 is broken too) may be hard.

The error happens with this: _get_vlc_version when vlc_version = vlc.libvlc_get_version() is invoked - it goes to a package vlc.py and craps out there with:

cannot import name 'getargspec' from 'inspect'

And this seems to be a problem for other software 🤯

Log excerpt

No log is generated when running poetry run gridplayer ⚠️

whyboris commented 5 months ago

https://github.com/vzhd1701/gridplayer/pull/210 <-- PR that adds a comment in the README.md to save people from frustration and wasting time ✅