spack@4828f5e01d61:~/spack$ bin/spack -d style
This error occurs running style from a branch on a fork that was synced to spack develop 2023/01/27.
==> [2023-01-27-19:13:55.860639] Imported style from built-in commands
==> [2023-01-27-19:13:55.861036] Imported style from built-in commands
==> [2023-01-27-19:13:55.863071] Reading config from file /home/spack/spack/etc/spack/defaults/bootstrap.yaml
==> [2023-01-27-19:13:55.871537] Reading config from file /home/spack/spack/etc/spack/defaults/config.yaml
==> [2023-01-27-19:13:55.893202] Reading config from file /etc/spack/config.yaml
==> [2023-01-27-19:13:55.898487] Reading config from file /home/spack/spack/etc/spack/defaults/repos.yaml
==> [2023-01-27-19:13:55.901916] Reading config from file /home/spack/spack/etc/spack/defaults/config.yaml
==> [2023-01-27-19:13:55.932228] Reading config from file /etc/spack/config.yaml
==> [2023-01-27-19:13:55.933709] DATABASE LOCK TIMEOUT: 3s
==> [2023-01-27-19:13:55.933760] PACKAGE LOCK TIMEOUT: No timeout
==> [2023-01-27-19:13:55.934116] DATABASE LOCK TIMEOUT: 3s
==> [2023-01-27-19:13:55.934161] PACKAGE LOCK TIMEOUT: No timeout
==> [2023-01-27-19:13:55.934222] [BOOTSTRAP CONFIG SCOPE] name=_builtin
==> [2023-01-27-19:13:55.934584] Reading config from file /home/spack/spack/etc/spack/defaults/bootstrap.yaml
==> [2023-01-27-19:13:55.941647] [BOOTSTRAP CONFIG SCOPE] name=defaults, path=/home/spack/spack/etc/spack/defaults
==> [2023-01-27-19:13:55.941699] [BOOTSTRAP CONFIG SCOPE] name=defaults/linux, path=/home/spack/spack/etc/spack/defaults/linux
==> [2023-01-27-19:13:55.941741] [BOOTSTRAP CONFIG SCOPE] name=bootstrap, path=/home/spack/.spack/bootstrap/config
==> [2023-01-27-19:13:55.941777] [BOOTSTRAP CONFIG SCOPE] name=bootstrap/linux, path=/home/spack/.spack/bootstrap/config/linux
==> [2023-01-27-19:13:55.942014] Reading config from file /home/spack/.spack/bootstrap/config/linux/compilers.yaml
==> [2023-01-27-19:13:55.974021] Reading config from file /home/spack/spack/etc/spack/defaults/bootstrap.yaml
==> [2023-01-27-19:13:55.989033] Reading config from file /home/spack/spack/etc/spack/defaults/config.yaml
==> [2023-01-27-19:13:56.019206] Reading config from file /home/spack/spack/etc/spack/defaults/concretizer.yaml
==> [2023-01-27-19:13:56.033881] Reading config from file /home/spack/.spack/bootstrap/environments/python3.6-x86_64-7d8fd/spack.yaml
==> [2023-01-27-19:13:56.042181] Using environment '/home/spack/.spack/bootstrap/environments/python3.6-x86_64-7d8fd'
==> [2023-01-27-19:13:56.051154] Warning: Cannot find any Python path in /home/spack/.spack/bootstrap/environments/python3.6-x86_64-7d8fd/view
==> [2023-01-27-19:13:56.060373] Deactivated environment '/home/spack/.spack/bootstrap/environments/python3.6-x86_64-7d8fd'
==> [2023-01-27-19:13:56.061188] '/usr/bin/git' 'rev-parse' '--quiet' '--verify' '--revs-only' 'develop'
==> [2023-01-27-19:13:56.064212] '/usr/bin/git' 'diff' '--name-only' '--diff-filter=ACMR' '27775163cad58a730260bcce8053bcb216231ffd...'
==> [2023-01-27-19:13:56.071953] '/usr/bin/git' 'diff' '--name-only' '--diff-filter=ACMR' '--cached'
==> [2023-01-27-19:13:56.082231] '/usr/bin/git' 'diff' '--name-only' '--diff-filter=ACMR'
==> [2023-01-27-19:13:56.126605] '/usr/bin/git' 'ls-files' '--exclude-standard' '--other'
==> [2023-01-27-19:13:56.295505] Running style checks on spack
selected: isort, black, flake8, mypy
==> [2023-01-27-19:13:56.295744] Modified files
var/spack/repos/builtin/packages/ascent/package.py
==> [2023-01-27-19:13:56.295808] Running isort checks
==> [2023-01-27-19:13:56.297354] Reading config from file /home/spack/spack/etc/spack/defaults/config.yaml
==> [2023-01-27-19:13:56.321920] Reading config from file /etc/spack/config.yaml
Traceback (most recent call last):
File "bin/spack", line 54, in <module>
sys.exit(main())
File "/home/spack/spack/lib/spack/spack_installable/main.py", line 37, in main
sys.exit(spack.main.main(argv))
File "/home/spack/spack/lib/spack/spack/main.py", line 1004, in main
return _main(argv)
File "/home/spack/spack/lib/spack/spack/main.py", line 959, in _main
return finish_parse_and_run(parser, cmd_name, env_format_error)
File "/home/spack/spack/lib/spack/spack/main.py", line 987, in finish_parse_and_run
return _invoke_command(command, parser, args, unknown)
File "/home/spack/spack/lib/spack/spack/main.py", line 636, in _invoke_command
return_val = command(parser, args)
File "/home/spack/spack/lib/spack/spack/cmd/style.py", line 448, in style
return_code |= run_function(which(tool_name), file_list, args)
File "/home/spack/spack/lib/spack/spack/cmd/style.py", line 347, in run_isort
process_files(filter(is_package, file_list), packages_isort_args)
File "/home/spack/spack/lib/spack/spack/cmd/style.py", line 329, in process_files
output = isort_cmd(*packed_args, fail_on_error=False, output=str, error=str)
TypeError: 'NoneType' object is not callable
Steps to reproduce
This error occurs running style from a branch on a fork that was synced to spack develop 2023/01/27.
Here is the fork + branch:
https://github.com/Alpine-DAV/spack/tree/task/2023_01_add_ascent_0.9.0_release
Error message
Information on your system
(I ran this in the spack tutorial container)
General information
spack debug reportand reported the version of Spack/Python/Platform