You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the current bambuddy version in unstable I get the following error:
bambuddy 13:57:36
Traceback (most recent call last):
File "/nix/store/i2piv8d36lq19wz9mfzj7qpbkj8zvzd0-python3.14-uvicorn-0.51.0/bin/.uvicorn-wrapped", line 9, in <module>
sys.exit(main())
~~~~^^
File "/nix/store/va2na798xgm2cpi2yyniagp7n4390lg6-python3-3.14.7-env/lib/python3.14/site-packages/click/core.py", line 1514, in __call__
return self.main(*args, **kwargs)
~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/nix/store/va2na798xgm2cpi2yyniagp7n4390lg6-python3-3.14.7-env/lib/python3.14/site-packages/click/core.py", line 1435, in main
rv = self.invoke(ctx)
File "/nix/store/va2na798xgm2cpi2yyniagp7n4390lg6-python3-3.14.7-env/lib/python3.14/site-packages/click/core.py", line 1298, in invoke
return ctx.invoke(self.callback, **ctx.params)
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/va2na798xgm2cpi2yyniagp7n4390lg6-python3-3.14.7-env/lib/python3.14/site-packages/click/core.py", line 853, in invoke
return callback(*args, **kwargs)
File "/nix/store/va2na798xgm2cpi2yyniagp7n4390lg6-python3-3.14.7-env/lib/python3.14/site-packages/uvicorn/main.py", line 440, in main
run(
~~~^
app,
^^^^
...<48 lines>...
reset_contextvars=reset_contextvars,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/nix/store/va2na798xgm2cpi2yyniagp7n4390lg6-python3-3.14.7-env/lib/python3.14/site-packages/uvicorn/main.py", line 609, in run
config.load_app()
~~~~~~~~~~~~~~~^^
File "/nix/store/va2na798xgm2cpi2yyniagp7n4390lg6-python3-3.14.7-env/lib/python3.14/site-packages/uvicorn/config.py", line 427, in load_app
return import_from_string(self.app)
File "/nix/store/va2na798xgm2cpi2yyniagp7n4390lg6-python3-3.14.7-env/lib/python3.14/site-packages/uvicorn/importer.py", line 19, in import_from_string
module = importlib.import_module(module_str)
File "/nix/store/lb41b0anx1f98y9y5s9mdv97gjgsq740-python3-3.14.7/lib/python3.14/importlib/__init__.py", line 88, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1406, in _gcd_import
File "<frozen importlib._bootstrap>", line 1371, in _find_and_load
File "<frozen importlib._bootstrap>", line 1342, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 938, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 759, in exec_module
File "<frozen importlib._bootstrap>", line 491, in _call_with_frames_removed
File "/nix/store/ivrbkwvqwblv7njg8b3wg4azflfzy7x6-bambuddy-1.2.5.1/lib/bambuddy/backend/app/main.py", line 20, in <module>
from backend.app.api.routes import (
...<55 lines>...
)
File "/nix/store/ivrbkwvqwblv7njg8b3wg4azflfzy7x6-bambuddy-1.2.5.1/lib/bambuddy/backend/app/api/routes/ams_history.py", line 10, in <module>
from backend.app.core.auth import RequirePermissionIfAuthEnabled
File "/nix/store/ivrbkwvqwblv7njg8b3wg4azflfzy7x6-bambuddy-1.2.5.1/lib/bambuddy/backend/app/core/auth.py", line 19, in <module>
from backend.app.core.database import async_session, get_db
File "/nix/store/ivrbkwvqwblv7njg8b3wg4azflfzy7x6-bambuddy-1.2.5.1/lib/bambuddy/backend/app/core/database.py", line 9, in <module>
from backend.app.core.config import settings
File "/nix/store/ivrbkwvqwblv7njg8b3wg4azflfzy7x6-bambuddy-1.2.5.1/lib/bambuddy/backend/app/core/config.py", line 153, in <module>
settings.archive_dir.mkdir(parents=True, exist_ok=True)
~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/lb41b0anx1f98y9y5s9mdv97gjgsq740-python3-3.14.7/lib/python3.14/pathlib/__init__.py", line 1011, in mkdir
os.mkdir(self, mode)
~~~~~~~~^^^^^^^^^^^^
OSError: [Errno 30] Read-only file system: '/nix/store/ivrbkwvqwblv7njg8b3wg4azflfzy7x6-bambuddy-1.2.5.1/lib/bambuddy/archive'
Without passing environment variables of DATA_DIR and LOG_DIR bambuddy will try write to the install directory. Which in this case is the read-only /nix/store. Make sure you pass environment variables of writable locations with appropriate permissions to the program.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://github.com/maziggy/bambuddy/releases/tag/v1.3.1
maziggy/bambuddy@v1.2.5.1...v1.3.1
Refactor package to use finalAttrs pattern, added passthru for python and nix-update-script.
old: Dropped darwin support. aarch64-darwin build fails due to a cycle in alembic.
Reintroduced darwin support #556601
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.