akornor/playlistor

Installation process does not work, a Python version issue ? (Hello)

aarkkappler opened this issue · 5 comments

Creating playlistor_redis_1 ... done
Creating playlistor_celery_1 ... done
Creating playlistor_web_1 ... done
Attaching to playlistor_redis_1, playlistor_celery_1, playlistor_web_1
redis_1 | 1:C 11 Sep 2021 07:43:57.316 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
redis_1 | 1:C 11 Sep 2021 07:43:57.316 # Redis version=6.2.5, bits=64, commit=00000000, modified=0, pid=1, just started
redis_1 | 1:C 11 Sep 2021 07:43:57.316 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
redis_1 | 1:M 11 Sep 2021 07:43:57.316 * monotonic clock: POSIX clock_gettime
redis_1 | 1:M 11 Sep 2021 07:43:57.320 * Running mode=standalone, port=6379.
redis_1 | 1:M 11 Sep 2021 07:43:57.320 # Server initialized
redis_1 | 1:M 11 Sep 2021 07:43:57.320 * Ready to accept connections
celery_1 | Traceback (most recent call last):
celery_1 | File "./manage.py", line 16, in
celery_1 | main()
celery_1 | File "./manage.py", line 10, in main
celery_1 | execute_from_command_line(sys.argv)
celery_1 | File "/usr/local/lib/python3.8/site-packages/django/core/management/init.py", line 381, in execute_from_command_line
celery_1 | utility.execute()
celery_1 | File "/usr/local/lib/python3.8/site-packages/django/core/management/init.py", line 357, in execute
celery_1 | django.setup()
celery_1 | File "/usr/local/lib/python3.8/site-packages/django/init.py", line 24, in setup
celery_1 | apps.populate(settings.INSTALLED_APPS)
celery_1 | File "/usr/local/lib/python3.8/site-packages/django/apps/registry.py", line 91, in populate
celery_1 | app_config = AppConfig.create(entry)
celery_1 | File "/usr/local/lib/python3.8/site-packages/django/apps/config.py", line 90, in create
celery_1 | module = import_module(entry)
celery_1 | File "/usr/local/lib/python3.8/importlib/init.py", line 127, in import_module
celery_1 | return _bootstrap._gcd_import(name[level:], package, level)
celery_1 | File "", line 1014, in _gcd_import
celery_1 | File "", line 991, in _find_and_load
celery_1 | File "", line 961, in _find_and_load_unlocked
celery_1 | File "", line 219, in _call_with_frames_removed
celery_1 | File "", line 1014, in _gcd_import
celery_1 | File "", line 991, in _find_and_load
celery_1 | File "", line 961, in _find_and_load_unlocked
celery_1 | File "", line 219, in _call_with_frames_removed
celery_1 | File "", line 1014, in _gcd_import
celery_1 | File "", line 991, in _find_and_load
celery_1 | File "", line 975, in _find_and_load_unlocked
celery_1 | File "", line 671, in _load_unlocked
celery_1 | File "", line 843, in exec_module
celery_1 | File "", line 219, in _call_with_frames_removed
celery_1 | File "/app/main/init.py", line 4, in
celery_1 | oauth = SpotifyOAuth(
celery_1 | File "/usr/local/lib/python3.8/site-packages/spotipy/oauth2.py", line 334, in init
celery_1 | self.redirect_uri = redirect_uri
celery_1 | File "/usr/local/lib/python3.8/site-packages/spotipy/oauth2.py", line 110, in redirect_uri
celery_1 | self._redirect_uri = _ensure_value(val, "redirect_uri")
celery_1 | File "/usr/local/lib/python3.8/site-packages/spotipy/oauth2.py", line 70, in _ensure_value
celery_1 | raise SpotifyOauthError(msg)
celery_1 | spotipy.oauth2.SpotifyOauthError: No redirect_uri. Pass it or set a SPOTIPY_REDIRECT_URI environment variable.
web_1 | Traceback (most recent call last):
web_1 | File "./manage.py", line 16, in
web_1 | main()
web_1 | File "./manage.py", line 10, in main
web_1 | execute_from_command_line(sys.argv)
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/management/init.py", line 381, in execute_from_command_line
web_1 | utility.execute()
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/management/init.py", line 357, in execute
web_1 | django.setup()
web_1 | File "/usr/local/lib/python3.8/site-packages/django/init.py", line 24, in setup
web_1 | apps.populate(settings.INSTALLED_APPS)
web_1 | File "/usr/local/lib/python3.8/site-packages/django/apps/registry.py", line 91, in populate
web_1 | app_config = AppConfig.create(entry)
web_1 | File "/usr/local/lib/python3.8/site-packages/django/apps/config.py", line 90, in create
web_1 | module = import_module(entry)
web_1 | File "/usr/local/lib/python3.8/importlib/init.py", line 127, in import_module
web_1 | return _bootstrap._gcd_import(name[level:], package, level)
web_1 | File "", line 1014, in _gcd_import
web_1 | File "", line 991, in _find_and_load
web_1 | File "", line 961, in _find_and_load_unlocked
web_1 | File "", line 219, in _call_with_frames_removed
web_1 | File "", line 1014, in _gcd_import
web_1 | File "", line 991, in _find_and_load
web_1 | File "", line 961, in _find_and_load_unlocked
web_1 | File "", line 219, in _call_with_frames_removed
web_1 | File "", line 1014, in _gcd_import
web_1 | File "", line 991, in _find_and_load
web_1 | File "", line 975, in _find_and_load_unlocked
web_1 | File "", line 671, in _load_unlocked
web_1 | File "", line 843, in exec_module
web_1 | File "", line 219, in _call_with_frames_removed
web_1 | File "/app/main/init.py", line 4, in
web_1 | oauth = SpotifyOAuth(
web_1 | File "/usr/local/lib/python3.8/site-packages/spotipy/oauth2.py", line 334, in init
web_1 | self.redirect_uri = redirect_uri
web_1 | File "/usr/local/lib/python3.8/site-packages/spotipy/oauth2.py", line 110, in redirect_uri
web_1 | self._redirect_uri = _ensure_value(val, "redirect_uri")
web_1 | File "/usr/local/lib/python3.8/site-packages/spotipy/oauth2.py", line 70, in _ensure_value
web_1 | raise SpotifyOauthError(msg)
web_1 | spotipy.oauth2.SpotifyOauthError: No redirect_uri. Pass it or set a SPOTIPY_REDIRECT_URI environment variable.
playlistor_celery_1 exited with code 1
playlistor_web_1 exited with code 1

any update on this?

it does not work still, if you can give an assistance, thank you

You'll need to set the appropriate environment variables before running Playlistor. Kindly take a look at the readme.

Now I remember, when I installed the product, I was finally not so far, I think it was not possible to continue without some account information like API key, kind of things, I think, thank you

i am trying it again, let's wait and see