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

On fresh install using latest image I get an error #518

Open
nothing2obvi opened this issue Jun 4, 2024 · 2 comments
Open

On fresh install using latest image I get an error #518

nothing2obvi opened this issue Jun 4, 2024 · 2 comments
Labels
question Further information is requested

Comments

@nothing2obvi
Copy link

This is from a fresh install. My actual instance was running before and I wanted to see why it's suddenly not working.

(__main__.py:8): Gtk-CRITICAL **: 03:00:39.247: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
INFO  [alembic.runtime.migration] Context impl SQLiteImpl.
INFO  [alembic.runtime.migration] Will assume non-transactional DDL.
INFO  [alembic.runtime.migration] Running upgrade  -> c89728e71264, empty message
INFO  [alembic.runtime.migration] Running upgrade c89728e71264 -> e5e738d09fa7, Added configuration table
INFO  [alembic.runtime.migration] Running upgrade e5e738d09fa7 -> e176543c72a8, Add tree column to User
INFO  [alembic.runtime.migration] Running upgrade e176543c72a8 -> 66e56620891a, Add trees table
INFO  [alembic.runtime.migration] Running upgrade 66e56620891a -> 22c8d1fba959, Add trees.enabled
INFO  [alembic.runtime.migration] Running upgrade 22c8d1fba959 -> b0582f54029c, Use BigInt for usage_media
INFO  [alembic.runtime.migration] Running upgrade b0582f54029c -> 84960b7d968c, Use BigInt for quota_media
[2024-06-04 03:00:52 +0000] [12] [INFO] Starting gunicorn 22.0.0
[2024-06-04 03:00:52 +0000] [12] [INFO] Listening at: http://0.0.0.0:5000 (12)
[2024-06-04 03:00:52 +0000] [12] [INFO] Using worker: sync
[2024-06-04 03:00:52 +0000] [13] [INFO] Booting worker with pid: 13
[2024-06-04 03:00:52 +0000] [14] [INFO] Booting worker with pid: 14
[2024-06-04 03:00:52 +0000] [15] [INFO] Booting worker with pid: 15
[2024-06-04 03:00:52 +0000] [16] [INFO] Booting worker with pid: 16
[2024-06-04 03:00:52 +0000] [17] [INFO] Booting worker with pid: 17
[2024-06-04 03:00:52 +0000] [18] [INFO] Booting worker with pid: 18
[2024-06-04 03:00:52 +0000] [19] [INFO] Booting worker with pid: 19
[2024-06-04 03:00:53 +0000] [20] [INFO] Booting worker with pid: 20
/usr/local/lib/python3.11/dist-packages/gramps/plugins/tool/check.py:51: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk
/usr/local/lib/python3.11/dist-packages/gramps/plugins/tool/check.py:51: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk
all values are hidden
(gunicorn:18): Gtk-CRITICAL **: 03:01:55.849: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
/usr/local/lib/python3.11/dist-packages/gramps/plugins/tool/check.py:51: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk
/usr/local/lib/python3.11/dist-packages/gramps/plugins/tool/check.py:51: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk
all values are hidden
(gunicorn:17): Gtk-CRITICAL **: 03:01:56.709: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
all values are hidden
(gunicorn:19): Gtk-CRITICAL **: 03:01:56.945: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
all values are hidden
(gunicorn:13): Gtk-CRITICAL **: 03:01:57.256: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
/usr/local/lib/python3.11/dist-packages/gramps/plugins/tool/check.py:51: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk
/usr/local/lib/python3.11/dist-packages/gramps/plugins/tool/check.py:51: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk
/usr/local/lib/python3.11/dist-packages/gramps/plugins/tool/check.py:51: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk
all values are hidden
(gunicorn:20): Gtk-CRITICAL **: 03:01:59.067: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
/usr/local/lib/python3.11/dist-packages/gramps/plugins/tool/check.py:51: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk
all values are hidden
(gunicorn:14): Gtk-CRITICAL **: 03:02:00.052: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
all values are hidden
(gunicorn:16): Gtk-CRITICAL **: 03:02:00.179: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
all values are hidden
(gunicorn:15): Gtk-CRITICAL **: 03:02:00.243: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
[2024-06-04 03:02:10 +0000] [18] [ERROR] Exception in worker process
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/dist-packages/gunicorn/arbiter.py", line 609, in spawn_worker
    worker.init_process()
  File "/usr/local/lib/python3.11/dist-packages/gunicorn/workers/base.py", line 142, in init_process
    self.run()
  File "/usr/local/lib/python3.11/dist-packages/gunicorn/workers/sync.py", line 126, in run
    self.run_for_one(timeout)
  File "/usr/local/lib/python3.11/dist-packages/gunicorn/workers/sync.py", line 63, in run_for_one
    self.notify()
  File "/usr/local/lib/python3.11/dist-packages/gunicorn/workers/base.py", line 75, in notify
    self.tmp.notify()
  File "/usr/local/lib/python3.11/dist-packages/gunicorn/workers/workertmp.py", line 45, in notify
    os.utime(self._tmp.fileno(), (new_time, new_time))
FileNotFoundError: [Errno 2] No such file or directory
[2024-06-04 03:02:11 +0000] [18] [INFO] Worker exiting (pid: 18)
[2024-06-04 03:02:12 +0000] [17] [ERROR] Exception in worker process
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/dist-packages/gunicorn/arbiter.py", line 609, in spawn_worker
    worker.init_process()
  File "/usr/local/lib/python3.11/dist-packages/gunicorn/workers/base.py", line 142, in init_process
    self.run()
  File "/usr/local/lib/python3.11/dist-packages/gunicorn/workers/sync.py", line 126, in run
    self.run_for_one(timeout)
  File "/usr/local/lib/python3.11/dist-packages/gunicorn/workers/sync.py", line 63, in run_for_one
    self.notify()
  File "/usr/local/lib/python3.11/dist-packages/gunicorn/workers/base.py", line 75, in notify
    self.tmp.notify()
  File "/usr/local/lib/python3.11/dist-packages/gunicorn/workers/workertmp.py", line 45, in notify
    os.utime(self._tmp.fileno(), (new_time, new_time))
FileNotFoundError: [Errno 2] No such file or directory
[2024-06-04 03:02:12 +0000] [17] [INFO] Worker exiting (pid: 17)
[2024-06-04 03:02:12 +0000] [19] [ERROR] Exception in worker process
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/dist-packages/gunicorn/arbiter.py", line 609, in spawn_worker
    worker.init_process()
  File "/usr/local/lib/python3.11/dist-packages/gunicorn/workers/base.py", line 142, in init_process
    self.run()
  File "/usr/local/lib/python3.11/dist-packages/gunicorn/workers/sync.py", line 126, in run
    self.run_for_one(timeout)
  File "/usr/local/lib/python3.11/dist-packages/gunicorn/workers/sync.py", line 63, in run_for_one
    self.notify()
  File "/usr/local/lib/python3.11/dist-packages/gunicorn/workers/base.py", line 75, in notify
    self.tmp.notify()
  File "/usr/local/lib/python3.11/dist-packages/gunicorn/workers/workertmp.py", line 45, in notify
    os.utime(self._tmp.fileno(), (new_time, new_time))
FileNotFoundError: [Errno 2] No such file or directory
[2024-06-04 03:02:12 +0000] [19] [INFO] Worker exiting (pid: 19)
[2024-06-04 03:02:12 +0000] [13] [ERROR] Exception in worker process
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/dist-packages/gunicorn/arbiter.py", line 609, in spawn_worker
    worker.init_process()
  File "/usr/local/lib/python3.11/dist-packages/gunicorn/workers/base.py", line 142, in init_process
    self.run()
  File "/usr/local/lib/python3.11/dist-packages/gunicorn/workers/sync.py", line 126, in run
    self.run_for_one(timeout)
  File "/usr/local/lib/python3.11/dist-packages/gunicorn/workers/sync.py", line 63, in run_for_one
    self.notify()
  File "/usr/local/lib/python3.11/dist-packages/gunicorn/workers/base.py", line 75, in notify
    self.tmp.notify()
  File "/usr/local/lib/python3.11/dist-packages/gunicorn/workers/workertmp.py", line 45, in notify
    os.utime(self._tmp.fileno(), (new_time, new_time))
FileNotFoundError: [Errno 2] No such file or directory
[2024-06-04 03:02:12 +0000] [13] [INFO] Worker exiting (pid: 13)
[2024-06-04 03:02:12 +0000] [20] [ERROR] Exception in worker process
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/dist-packages/gunicorn/arbiter.py", line 609, in spawn_worker
    worker.init_process()
  File "/usr/local/lib/python3.11/dist-packages/gunicorn/workers/base.py", line 142, in init_process
    self.run()
  File "/usr/local/lib/python3.11/dist-packages/gunicorn/workers/sync.py", line 126, in run
    self.run_for_one(timeout)
  File "/usr/local/lib/python3.11/dist-packages/gunicorn/workers/sync.py", line 63, in run_for_one
    self.notify()
  File "/usr/local/lib/python3.11/dist-packages/gunicorn/workers/base.py", line 75, in notify
    self.tmp.notify()
  File "/usr/local/lib/python3.11/dist-packages/gunicorn/workers/workertmp.py", line 45, in notify
    os.utime(self._tmp.fileno(), (new_time, new_time))
FileNotFoundError: [Errno 2] No such file or directory
[2024-06-04 03:02:12 +0000] [20] [INFO] Worker exiting (pid: 20)
[2024-06-04 03:02:14 +0000] [15] [ERROR] Exception in worker process
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/dist-packages/gunicorn/arbiter.py", line 609, in spawn_worker
    worker.init_process()
  File "/usr/local/lib/python3.11/dist-packages/gunicorn/workers/base.py", line 142, in init_process
    self.run()
  File "/usr/local/lib/python3.11/dist-packages/gunicorn/workers/sync.py", line 126, in run
    self.run_for_one(timeout)
  File "/usr/local/lib/python3.11/dist-packages/gunicorn/workers/sync.py", line 63, in run_for_one
    self.notify()
  File "/usr/local/lib/python3.11/dist-packages/gunicorn/workers/base.py", line 75, in notify
    self.tmp.notify()
  File "/usr/local/lib/python3.11/dist-packages/gunicorn/workers/workertmp.py", line 45, in notify
    os.utime(self._tmp.fileno(), (new_time, new_time))
FileNotFoundError: [Errno 2] No such file or directory
[2024-06-04 03:02:14 +0000] [15] [INFO] Worker exiting (pid: 15)
[2024-06-04 03:02:14 +0000] [16] [ERROR] Exception in worker process
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/dist-packages/gunicorn/arbiter.py", line 609, in spawn_worker
    worker.init_process()
  File "/usr/local/lib/python3.11/dist-packages/gunicorn/workers/base.py", line 142, in init_process
    self.run()
  File "/usr/local/lib/python3.11/dist-packages/gunicorn/workers/sync.py", line 126, in run
    self.run_for_one(timeout)
  File "/usr/local/lib/python3.11/dist-packages/gunicorn/workers/sync.py", line 63, in run_for_one
    self.notify()
  File "/usr/local/lib/python3.11/dist-packages/gunicorn/workers/base.py", line 75, in notify
    self.tmp.notify()
  File "/usr/local/lib/python3.11/dist-packages/gunicorn/workers/workertmp.py", line 45, in notify
    os.utime(self._tmp.fileno(), (new_time, new_time))
FileNotFoundError: [Errno 2] No such file or directory
[2024-06-04 03:02:14 +0000] [16] [INFO] Worker exiting (pid: 16)
[2024-06-04 03:02:14 +0000] [14] [ERROR] Exception in worker process
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/dist-packages/gunicorn/arbiter.py", line 609, in spawn_worker
    worker.init_process()
  File "/usr/local/lib/python3.11/dist-packages/gunicorn/workers/base.py", line 142, in init_process
    self.run()
  File "/usr/local/lib/python3.11/dist-packages/gunicorn/workers/sync.py", line 126, in run
    self.run_for_one(timeout)
  File "/usr/local/lib/python3.11/dist-packages/gunicorn/workers/sync.py", line 63, in run_for_one
    self.notify()
  File "/usr/local/lib/python3.11/dist-packages/gunicorn/workers/base.py", line 75, in notify
    self.tmp.notify()
  File "/usr/local/lib/python3.11/dist-packages/gunicorn/workers/workertmp.py", line 45, in notify
    os.utime(self._tmp.fileno(), (new_time, new_time))
FileNotFoundError: [Errno 2] No such file or directory
[2024-06-04 03:02:14 +0000] [14] [INFO] Worker exiting (pid: 14)
[2024-06-04 03:02:16 +0000] [12] [ERROR] Worker (pid:18) exited with code 255
[2024-06-04 03:02:16 +0000] [12] [ERROR] Worker (pid:18) exited with code 255.
[2024-06-04 03:02:16 +0000] [29] [INFO] Booting worker with pid: 29
[2024-06-04 03:02:17 +0000] [12] [ERROR] Worker (pid:17) exited with code 255
[2024-06-04 03:02:17 +0000] [12] [ERROR] Worker (pid:17) exited with code 255.
[2024-06-04 03:02:18 +0000] [30] [INFO] Booting worker with pid: 30
[2024-06-04 03:02:19 +0000] [12] [ERROR] Worker (pid:20) exited with code 255
[2024-06-04 03:02:19 +0000] [12] [ERROR] Worker (pid:20) exited with code 255.
[2024-06-04 03:02:19 +0000] [12] [ERROR] Worker (pid:13) exited with code 255
[2024-06-04 03:02:19 +0000] [12] [ERROR] Worker (pid:13) exited with code 255.
[2024-06-04 03:02:19 +0000] [31] [INFO] Booting worker with pid: 31
[2024-06-04 03:02:19 +0000] [12] [ERROR] Worker (pid:15) exited with code 255
[2024-06-04 03:02:19 +0000] [12] [ERROR] Worker (pid:15) exited with code 255.
[2024-06-04 03:02:19 +0000] [32] [INFO] Booting worker with pid: 32
[2024-06-04 03:02:19 +0000] [12] [ERROR] Worker (pid:19) exited with code 255
[2024-06-04 03:02:19 +0000] [12] [ERROR] Worker (pid:19) exited with code 255.
[2024-06-04 03:02:19 +0000] [33] [INFO] Booting worker with pid: 33
[2024-06-04 03:02:19 +0000] [34] [INFO] Booting worker with pid: 34
[2024-06-04 03:02:20 +0000] [12] [ERROR] Worker (pid:14) exited with code 255
[2024-06-04 03:02:20 +0000] [12] [ERROR] Worker (pid:14) exited with code 255.
[2024-06-04 03:02:20 +0000] [35] [INFO] Booting worker with pid: 35
[2024-06-04 03:02:21 +0000] [12] [ERROR] Worker (pid:16) exited with code 255
[2024-06-04 03:02:21 +0000] [12] [ERROR] Worker (pid:16) exited with code 255.
[2024-06-04 03:02:21 +0000] [38] [INFO] Booting worker with pid: 38
@DavidMStraub DavidMStraub transferred this issue from gramps-project/gramps-web Jun 4, 2024
@DavidMStraub
Copy link
Member

If you believe this is a bug, please provide a minimal working example to reproduce it.
docker run -p "5055:5000" -e TREE=new ghcr.io/gramps-project/grampsweb:latest works for me without this error.

@DavidMStraub DavidMStraub added the question Further information is requested label Jun 4, 2024
@gwynnPalmer
Copy link

@DavidMStraub I too am getting this same issue via docker compose
I suspect this may not be the correct repo to report this issue though?
To reproduce just follow the docker compose steps https://www.grampsweb.org/Deployment/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants