Pinry
-
@RazielKanos Sorry, it went out of focus. I will have a look right now again.
-
@Kubernetes said in Pinry:
@RazielKanos Sorry, it went out of focus. I will have a look right now again.
-
I have problems to get the app running because of several python error messages when the process is started. Any help would be welcome. You can find the current state in my Repo on gitlab
Error Log:
root@1402dd4682cf:/app/code# poetry run gunicorn pinry.wsgi:application -b 0.0.0.0:8000 --timeout 30 Warning: Found deprecated key 'default' or 'secondary' in pyproject.toml configuration for source douban. Please provide the key 'priority' instead. Accepted values are: 'default', 'primary', 'secondary', 'supplemental', 'explicit'. [2024-02-04 12:20:42 +0000] [28] [INFO] Starting gunicorn 20.1.0 [2024-02-04 12:20:42 +0000] [28] [INFO] Listening at: http://0.0.0.0:8000 (28) [2024-02-04 12:20:42 +0000] [28] [INFO] Using worker: sync [2024-02-04 12:20:42 +0000] [31] [INFO] Booting worker with pid: 31 [2024-02-04 12:20:42 +0000] [31] [ERROR] Exception in worker process Traceback (most recent call last): File "/root/.cache/pypoetry/virtualenvs/pinry-4jK_B8RX-py3.10/lib/python3.10/site-packages/gunicorn/arbiter.py", line 589, in spawn_worker worker.init_process() [2024-02-04 12:21:11 +0000] [35] [ERROR] Exception in worker process Traceback (most recent call last): File "/root/.cache/pypoetry/virtualenvs/pinry-4jK_B8RX-py3.10/lib/python3.10/site-packages/gunicorn/arbiter.py", line 589, in spawn_worker worker.init_process() File "/root/.cache/pypoetry/virtualenvs/pinry-4jK_B8RX-py3.10/lib/python3.10/site-packages/gunicorn/workers/base.py", line 134, in init_process self.load_wsgi() File "/root/.cache/pypoetry/virtualenvs/pinry-4jK_B8RX-py3.10/lib/python3.10/site-packages/gunicorn/workers/base.py", line 146, in load_wsgi self.wsgi = self.app.wsgi() File "/root/.cache/pypoetry/virtualenvs/pinry-4jK_B8RX-py3.10/lib/python3.10/site-packages/gunicorn/app/base.py", line 67, in wsgi self.callable = self.load() File "<frozen importlib._bootstrap>", line 1027, in _find_and_load File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 688, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 883, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/app/code/pinry/wsgi.py", line 4, in <module> application = get_wsgi_application() File "/root/.cache/pypoetry/virtualenvs/pinry-4jK_B8RX-py3.10/lib/python3.10/site-packages/django/core/wsgi.py", line 12, in get_wsgi_application django.setup(set_prefix=False) File "/root/.cache/pypoetry/virtualenvs/pinry-4jK_B8RX-py3.10/lib/python3.10/site-packages/django/__init__.py", line 24, in setup apps.populate(settings.INSTALLED_APPS) File "/root/.cache/pypoetry/virtualenvs/pinry-4jK_B8RX-py3.10/lib/python3.10/site-packages/django/apps/registry.py", line 114, in populate app_config.import_models() File "/root/.cache/pypoetry/virtualenvs/pinry-4jK_B8RX-py3.10/lib/python3.10/site-packages/django/apps/config.py", line 211, in import_models self.models_module = import_module(models_module_name) File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1050, in _gcd_import File "<frozen importlib._bootstrap>", line 1027, in _find_and_load File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 688, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 883, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/app/code/core/models.py", line 1, in <module> import requests File "/root/.cache/pypoetry/virtualenvs/pinry-4jK_B8RX-py3.10/lib/python3.10/site-packages/requests/__init__.py", line 43, in <module> import urllib3 File "/root/.cache/pypoetry/virtualenvs/pinry-4jK_B8RX-py3.10/lib/python3.10/site-packages/urllib3/__init__.py", line 8, in <module> from .connectionpool import ( File "/root/.cache/pypoetry/virtualenvs/pinry-4jK_B8RX-py3.10/lib/python3.10/site-packages/urllib3/connectionpool.py", line 29, in <module> from .connection import ( File "/root/.cache/pypoetry/virtualenvs/pinry-4jK_B8RX-py3.10/lib/python3.10/site-packages/urllib3/connection.py", line 39, in <module> from .util.ssl_ import ( File "/root/.cache/pypoetry/virtualenvs/pinry-4jK_B8RX-py3.10/lib/python3.10/site-packages/urllib3/util/__init__.py", line 3, in <module> from .connection import is_connection_dropped File "/root/.cache/pypoetry/virtualenvs/pinry-4jK_B8RX-py3.10/lib/python3.10/site-packages/urllib3/util/connection.py", line 3, in <module> from .wait import wait_for_read File "/root/.cache/pypoetry/virtualenvs/pinry-4jK_B8RX-py3.10/lib/python3.10/site-packages/urllib3/util/wait.py", line 1, in <module> from .selectors import ( File "/root/.cache/pypoetry/virtualenvs/pinry-4jK_B8RX-py3.10/lib/python3.10/site-packages/urllib3/util/selectors.py", line 14, in <module> from collections import namedtuple, Mapping ImportError: cannot import name 'Mapping' from 'collections' (/usr/lib/python3.10/collections/__init__.py) [2024-02-04 12:21:33 +0000] [39] [INFO] Worker exiting (pid: 39) [2024-02-04 12:21:33 +0000] [36] [INFO] Shutting down: Master [2024-02-04 12:21:33 +0000] [36] [INFO] Reason: Worker failed to boot.
-
@Kubernetes thank you for all you are doing to extend apps available on Cloudron
Doesn't go unnoticed or unappreciated ! -
@Kubernetes did you set the $HOME to /app/data so it has a place to write the .cache/ dir?
-
-
@Kubernetes ;-/ find any newer forks on GH where it's been fixed?
-
Pinry is potentially an alternative to https://www.are.na/ Don't know if it matches up on all the points though.
Arena is a social network and has the particularity that blocks (posts) are organized inside channels (lists) and that channels can be part of other channels. These connections establish meaningful links between the content blocks. Cleverly done. -
any new on this?