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

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

Open
leetfin opened this issue Jan 3, 2023 · 0 comments
Open

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

leetfin opened this issue Jan 3, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@leetfin
Copy link

leetfin commented Jan 3, 2023

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'
@leetfin leetfin added the bug Something isn't working label Jan 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant