Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. App Wishlist
  3. Pinry

Pinry

Scheduled Pinned Locked Moved App Wishlist
29 Posts 17 Posters 4.8k Views 17 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • KubernetesK Offline
    KubernetesK Offline
    Kubernetes
    App Dev
    wrote on last edited by Kubernetes
    #21

    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.
    
    timconsidineT robiR 2 Replies Last reply
    2
    • KubernetesK Kubernetes

      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.
      
      timconsidineT Offline
      timconsidineT Offline
      timconsidine
      App Dev
      wrote on last edited by
      #22

      @Kubernetes thank you for all you are doing to extend apps available on Cloudron 👏
      Doesn't go unnoticed or unappreciated !

      1 Reply Last reply
      3
      • KubernetesK Kubernetes

        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.
        
        robiR Offline
        robiR Offline
        robi
        wrote on last edited by
        #23

        @Kubernetes did you set the $HOME to /app/data so it has a place to write the .cache/ dir?

        Conscious tech

        KubernetesK 1 Reply Last reply
        0
        • robiR robi

          @Kubernetes did you set the $HOME to /app/data so it has a place to write the .cache/ dir?

          KubernetesK Offline
          KubernetesK Offline
          Kubernetes
          App Dev
          wrote on last edited by
          #24

          @robi No, but even with it doesn't make a difference. I think the problem is, that the Mapping Module of Python Collection has been moved to Collection.abc and the old source (2 years!) needs to be fixed to solve this problem.

          robiR 1 Reply Last reply
          2
          • KubernetesK Kubernetes

            @robi No, but even with it doesn't make a difference. I think the problem is, that the Mapping Module of Python Collection has been moved to Collection.abc and the old source (2 years!) needs to be fixed to solve this problem.

            robiR Offline
            robiR Offline
            robi
            wrote on last edited by
            #25

            @Kubernetes ;-/ find any newer forks on GH where it's been fixed?

            Conscious tech

            1 Reply Last reply
            0
            • M Offline
              M Offline
              mononym
              wrote on last edited by
              #26

              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.

              1 Reply Last reply
              2
              • RazielKanosR Offline
                RazielKanosR Offline
                RazielKanos
                wrote on last edited by
                #27

                any new on this?

                1 Reply Last reply
                0
                • nebulonN nebulon

                  http://getpinry.com/

                  The tiling image board system for people who want to save, tag, and share images, videos, and webpages.

                  Pinry was the first and remains the best open source pin board alternative to sites like Wookmark and Pinterest. These sites are great for sharing and interacting with other people but if something goes wrong or the service shuts down you lose everything. Pinry allows you to host your own board knowing that it will always be there.

                  Some other designers/artists would want this one, too! 🙂

                  Source
                  https://github.com/pinry/pinry

                  Open Source Self-Hosted Pinry Alternatives - AlternativeTo.net
                  https://alternativeto.net/software/pinry/?license=opensource&platform=self-hosted

                  L Offline
                  L Offline
                  lukas
                  wrote on last edited by
                  #28

                  @nebulon said in Pinry:

                  http://getpinry.com/

                  domain seems to be infected / hacked?

                  1 Reply Last reply
                  3
                  • girishG Offline
                    girishG Offline
                    girish
                    Staff
                    wrote on last edited by
                    #29

                    @lukas indeed, the browser window automatically closes here when I open that link.

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Bookmarks
                    • Search