infinityofspace / jellyfin_alexa_skill

Selfhosted Alexa media player skill for Jellyfin
GNU General Public License v3.0
71 stars 11 forks source link

Unable to run on Windows due to gunicorn dependency on fcntl #101

Open leetfin opened 1 year ago

leetfin commented 1 year ago

Describe the bug

fcntl dependency is not available on Windows, so application is unrunnable. This should at least be disclosed if intentional.

To Reproduce

Install on windows via pip and run application.

Expected behavior

Program to start.

Versions

Pip package.

Name: jellyfin-alexa-skill
Version: 0.3.1
Summary: Selfhosted Alexa media player skill for Jellyfin
Home-page: https://github.com/infinityofspace/jellyfin_alexa_skill
Author: infinityofspace
Author-email:
License: MIT
Location: c:\program files\python310\lib\site-packages
Requires: ask-smapi-model, ask-smapi-sdk, flask-ask-sdk, Flask-WTF, gunicorn, peewee, pyngrok
Required-by:

Additional context

Traceback (most recent call last):
  File "C:\Program Files\Python310\lib\runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Program Files\Python310\lib\runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "C:\Program Files\Python310\Scripts\jellyfin_alexa_skill.exe\__main__.py", line 4, in <module>
  File "C:\Program Files\Python310\lib\site-packages\jellyfin_alexa_skill\main.py", line 21, in <module>
    from gunicorn.app.base import BaseApplication
  File "C:\Program Files\Python310\lib\site-packages\gunicorn\app\base.py", line 11, in <module>
    from gunicorn import util
  File "C:\Program Files\Python310\lib\site-packages\gunicorn\util.py", line 8, in <module>
    import fcntl
ModuleNotFoundError: No module named 'fcntl'