Replies: 1 comment 1 reply
-
The most likely cause for this issue is that you are running this command without access to the internet |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I am setting up seqr local docker install.
While trying to set up superuser: "sudo docker compose exec seqr python manage.py createsuperuser"
I get an error:
Traceback (most recent call last):
File "/seqr/manage.py", line 10, in
execute_from_command_line(sys.argv)
File "/opt/venv/lib/python3.9/site-packages/django/core/management/init.py", line 442, in execute_from_command_line
utility.execute()
File "/opt/venv/lib/python3.9/site-packages/django/core/management/init.py", line 436, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/opt/venv/lib/python3.9/site-packages/django/core/management/base.py", line 412, in run_from_argv
self.execute(*args, **cmd_options)
File "/opt/venv/lib/python3.9/site-packages/django/contrib/auth/management/commands/createsuperuser.py", line 88, in execute
return super().execute(*args, **options)
File "/opt/venv/lib/python3.9/site-packages/django/core/management/base.py", line 457, in execute
self.check_migrations()
File "/opt/venv/lib/python3.9/site-packages/django/core/management/base.py", line 574, in check_migrations
executor = MigrationExecutor(connections[DEFAULT_DB_ALIAS])
File "/opt/venv/lib/python3.9/site-packages/django/db/migrations/executor.py", line 18, in init
self.loader = MigrationLoader(self.connection)
File "/opt/venv/lib/python3.9/site-packages/django/db/migrations/loader.py", line 58, in init
self.build_graph()
File "/opt/venv/lib/python3.9/site-packages/django/db/migrations/loader.py", line 229, in build_graph
self.load_disk()
File "/opt/venv/lib/python3.9/site-packages/django/db/migrations/loader.py", line 120, in load_disk
migration_module = import_module(migration_path)
File "/usr/local/lib/python3.9/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "", line 850, in exec_module
File "", line 228, in _call_with_frames_removed
File "/seqr/matchmaker/migrations/0005_auto_20220921_1913.py", line 16, in
liftover_to_38 = LiftOver('hg19', 'hg38')
File "/opt/venv/lib/python3.9/site-packages/pyliftover/liftover.py", line 63, in init
self.chain_file = LiftOverChainFile(f, show_progress=show_progress)
File "/opt/venv/lib/python3.9/site-packages/pyliftover/chainfile.py", line 111, in init
self.chains = self._load_chains(f, show_progress)
File "/opt/venv/lib/python3.9/site-packages/pyliftover/chainfile.py", line 124, in _load_chains
line = f.readline()
AttributeError: 'NoneType' object has no attribute 'readline'
Beta Was this translation helpful? Give feedback.
All reactions