| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Major path updates include: - frontend: - Node 16 to 18 - Latest Pinia requires changes in `stores`, where imports are not required, and parameter declaration must happen in functions. - backend and celeryworker: - Python 3.9 to 3.11 - Poetry to Hatch - Postgres 14 to 15
|
Getting this error on backend when calling the api: 2023-07-25 10:26:06 Traceback (most recent call last):
2023-07-25 10:26:06 File "<frozen runpy>", line 198, in _run_module_as_main
2023-07-25 10:26:06 File "<frozen runpy>", line 88, in _run_code
2023-07-25 10:26:06 File "/app/inboard/start.py", line 135, in <module>
2023-07-25 10:26:06 start_server(
2023-07-25 10:26:06 File "/app/inboard/start.py", line 123, in start_server
2023-07-25 10:26:06 uvicorn.run(**uvicorn_options) # type: ignore[arg-type]
2023-07-25 10:26:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-07-25 10:26:06 File "/app/.venv/lib/python3.11/site-packages/uvicorn/main.py", line 573, in run
2023-07-25 10:26:06 ChangeReload(config, target=server.run, sockets=[sock]).run()
2023-07-25 10:26:06 File "/app/.venv/lib/python3.11/site-packages/uvicorn/supervisors/basereload.py", line 50, in run
2023-07-25 10:26:06 for changes in self:
2023-07-25 10:26:06 File "/app/.venv/lib/python3.11/site-packages/uvicorn/supervisors/basereload.py", line 69, in __next__
2023-07-25 10:26:06 return self.should_restart()
2023-07-25 10:26:06 ^^^^^^^^^^^^^^^^^^^^^
2023-07-25 10:26:06 File "/app/.venv/lib/python3.11/site-packages/uvicorn/supervisors/statreload.py", line 32, in should_restart
2023-07-25 10:26:06 for file in self.iter_py_files():
2023-07-25 10:26:06 File "/app/.venv/lib/python3.11/site-packages/uvicorn/supervisors/statreload.py", line 52, in iter_py_files
2023-07-25 10:26:06 for path in list(reload_dir.rglob("*.py")):
2023-07-25 10:26:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-07-25 10:26:06 File "/usr/local/lib/python3.11/pathlib.py", line 968, in rglob
2023-07-25 10:26:06 for p in selector.select_from(self):
2023-07-25 10:26:06 File "/usr/local/lib/python3.11/pathlib.py", line 408, in _select_from
2023-07-25 10:26:06 for p in successor_select(starting_point, is_dir, exists, scandir):
2023-07-25 10:26:06 File "/usr/local/lib/python3.11/pathlib.py", line 356, in _select_from
2023-07-25 10:26:06 entries = list(scandir_it)
2023-07-25 10:26:06 ^^^^^^^^^^^^^^^^
2023-07-25 10:26:06 OSError: [Errno 12] Cannot allocate memory: '/app/app'
|
Sorry, something went wrong.
Celeryworker fix: Recommended `hatch run production:python /app/app/celeryworker_pre_start.py` does not work. Use `hatch run python /app/app/celeryworker_pre_start.py` instead. Frontend: Weird issue with latest version of Vite: #35 Requires changing of `/app` to *any other directory name*. This is a Docker/Vite issue and may be fixed in a future version of Vite.
|
The fix to frontend is related to a Vite error: scj2000/scj2000-web-v2@b923143 |
Sorry, something went wrong.
Fixing Pinia referencing changes and standardising naming conventions
- Token invalid settings seems somewhat pointless ... just remove it entirely to avoid risk of weird conflicts - Simplified crud paging with a site-level setting ... risk of some sort of DoS attack by having a way to bypass row-fetch limits - Placeholder for a sockets-based API
There was a problem hiding this comment.
Thanks @turukawa. Great to see Hatch and inboard put to good use here. I have a few suggestions. Feel free to let me know if any further clarifications or changes are needed.
Sorry, something went wrong.
Co-authored-by: Brendon Smith <bws@bws.bio>
Co-authored-by: Brendon Smith <bws@bws.bio>
Celeryworker fix: Recommended `hatch run production:python /app/app/celeryworker_pre_start.py` does not work. Use `hatch run python /app/app/celeryworker_pre_start.py` instead. Frontend: Weird issue with latest version of Vite: whythawk/full-stack-fastapi-postgresql#35 Requires changing of `/app` to *any other directory name*. This is a Docker/Vite issue and may be fixed in a future version of Vite.
Celeryworker fix: Recommended `hatch run production:python /app/app/celeryworker_pre_start.py` does not work. Use `hatch run python /app/app/celeryworker_pre_start.py` instead. Frontend: Weird issue with latest version of Vite: whythawk/full-stack-fastapi-postgresql#35 Requires changing of `/app` to *any other directory name*. This is a Docker/Vite issue and may be fixed in a future version of Vite.
Celeryworker fix: Recommended `hatch run production:python /app/app/celeryworker_pre_start.py` does not work. Use `hatch run python /app/app/celeryworker_pre_start.py` instead. Frontend: Weird issue with latest version of Vite: whythawk/full-stack-fastapi-postgresql#35 Requires changing of `/app` to *any other directory name*. This is a Docker/Vite issue and may be fixed in a future version of Vite.
Celeryworker fix: Recommended `hatch run production:python /app/app/celeryworker_pre_start.py` does not work. Use `hatch run python /app/app/celeryworker_pre_start.py` instead. Frontend: Weird issue with latest version of Vite: whythawk/full-stack-fastapi-postgresql#35 Requires changing of `/app` to *any other directory name*. This is a Docker/Vite issue and may be fixed in a future version of Vite.
Celeryworker fix: Recommended `hatch run production:python /app/app/celeryworker_pre_start.py` does not work. Use `hatch run python /app/app/celeryworker_pre_start.py` instead. Frontend: Weird issue with latest version of Vite: whythawk/full-stack-fastapi-postgresql#35 Requires changing of `/app` to *any other directory name*. This is a Docker/Vite issue and may be fixed in a future version of Vite.
Celeryworker fix: Recommended `hatch run production:python /app/app/celeryworker_pre_start.py` does not work. Use `hatch run python /app/app/celeryworker_pre_start.py` instead. Frontend: Weird issue with latest version of Vite: whythawk/full-stack-fastapi-postgresql#35 Requires changing of `/app` to *any other directory name*. This is a Docker/Vite issue and may be fixed in a future version of Vite.
Celeryworker fix: Recommended `hatch run production:python /app/app/celeryworker_pre_start.py` does not work. Use `hatch run python /app/app/celeryworker_pre_start.py` instead. Frontend: Weird issue with latest version of Vite: whythawk/full-stack-fastapi-postgresql#35 Requires changing of `/app` to *any other directory name*. This is a Docker/Vite issue and may be fixed in a future version of Vite.
Celeryworker fix: Recommended `hatch run production:python /app/app/celeryworker_pre_start.py` does not work. Use `hatch run python /app/app/celeryworker_pre_start.py` instead. Frontend: Weird issue with latest version of Vite: whythawk/full-stack-fastapi-postgresql#35 Requires changing of `/app` to *any other directory name*. This is a Docker/Vite issue and may be fixed in a future version of Vite.
Celeryworker fix: Recommended `hatch run production:python /app/app/celeryworker_pre_start.py` does not work. Use `hatch run python /app/app/celeryworker_pre_start.py` instead. Frontend: Weird issue with latest version of Vite: whythawk/full-stack-fastapi-postgresql#35 Requires changing of `/app` to *any other directory name*. This is a Docker/Vite issue and may be fixed in a future version of Vite.
Celeryworker fix: Recommended `hatch run production:python /app/app/celeryworker_pre_start.py` does not work. Use `hatch run python /app/app/celeryworker_pre_start.py` instead. Frontend: Weird issue with latest version of Vite: whythawk/full-stack-fastapi-postgresql#35 Requires changing of `/app` to *any other directory name*. This is a Docker/Vite issue and may be fixed in a future version of Vite.
| Back | FazBrowse Home | New Git URL |
Major path updates include:
Review required on the new hatch pyproject.toml file, and to ensure that the environments are stable. @br3ndonland, I'd appreciate your review.