Closed drcandacemakedamoore closed 1 week ago
Thank you for your pull request :smiley:
:robot: This automated message can help you check the rendered files in your submission for clarity. If you have any questions, please feel free to open an issue in {sandpaper}.
If you have files that automatically render output (e.g. R Markdown), then you should check for the following:
:mag: Inspect the changes: https://github.com/esciencecenter-digital-skills/medical-image-processing/compare/md-outputs..md-outputs-PR-31
The following changes were observed in the rendered markdown documents:
md5sum.txt | 2 +-
setup.md | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
:stopwatch: Updated at 2024-09-04 09:03:14 +0000
@gcroci2 I think I found the problem. the command you wrote for me just points to the html page, not the actual yaml file. If I use the file ie. mamba env create -f https://raw.githubusercontent.com/esciencecenter-digital-skills/medical-image-processing/main/learners/environment.yml
, everything works just fine. If it works this way for you we can just change it to this. The traceback was mostly uninformative, and I figured it out another way, but maybe it says something to you: # >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<
Traceback (most recent call last):
File "C:\Users\CandaceMoore\miniconda3\Lib\site-packages\conda\exception_handler.py", line 17, in __call__
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\CandaceMoore\miniconda3\Lib\site-packages\conda_env\cli\main.py", line 56, in do_call
exit_code = getattr(module, func_name)(arguments, parser)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\CandaceMoore\miniconda3\Lib\site-packages\conda\notices\core.py", line 119, in wrapper
return_value = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\CandaceMoore\miniconda3\Lib\site-packages\conda_env\cli\main_create.py", line 107, in execute
spec = specs.detect(
^^^^^^^^^^^^^
File "C:\Users\CandaceMoore\miniconda3\Lib\site-packages\conda_env\specs\__init__.py", line 72, in detect
if spec.can_handle():
^^^^^^^^^^^^^^^^^
File "C:\Users\CandaceMoore\miniconda3\Lib\site-packages\conda_env\specs\yaml_file.py", line 19, in can_handle
self._environment = env.from_file(self.filename)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\CandaceMoore\miniconda3\Lib\site-packages\conda_env\env.py", line 191, in from_file
return from_yaml(yamlstr, filename=filename)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\CandaceMoore\miniconda3\Lib\site-packages\conda_env\env.py", line 158, in from_yaml
data = yaml_safe_load(yamlstr)
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\CandaceMoore\miniconda3\Lib\site-packages\conda\common\serialize.py", line 45, in yaml_safe_load
return _yaml_safe().load(string)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\CandaceMoore\miniconda3\Lib\site-packages\ruamel\yaml\main.py", line 434, in load
return constructor.get_single_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\CandaceMoore\miniconda3\Lib\site-packages\ruamel\yaml\constructor.py", line 119, in get_single_data
node = self.composer.get_single_node()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\CandaceMoore\miniconda3\Lib\site-packages\ruamel\yaml\composer.py", line 76, in get_single_node
document = self.compose_document()
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\CandaceMoore\miniconda3\Lib\site-packages\ruamel\yaml\composer.py", line 102, in compose_document
self.parser.get_event()
File "C:\Users\CandaceMoore\miniconda3\Lib\site-packages\ruamel\yaml\parser.py", line 168, in get_event
self.current_event = self.state()
^^^^^^^^^^^^
File "C:\Users\CandaceMoore\miniconda3\Lib\site-packages\ruamel\yaml\parser.py", line 253, in parse_document_end
token = self.scanner.peek_token()
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\CandaceMoore\miniconda3\Lib\site-packages\ruamel\yaml\scanner.py", line 188, in peek_token
self.fetch_more_tokens()
File "C:\Users\CandaceMoore\miniconda3\Lib\site-packages\ruamel\yaml\scanner.py", line 288, in fetch_more_tokens
return self.fetch_value()
^^^^^^^^^^^^^^^^^^
File "C:\Users\CandaceMoore\miniconda3\Lib\site-packages\ruamel\yaml\scanner.py", line 657, in fetch_value
raise ScannerError(
ruamel.yaml.scanner.ScannerError: mapping values are not allowed here
in "<unicode string>", line 231, column 75:
... age-responsive" style="word-wrap: break-word;">
^ (line: 231)
$ C:\Users\CandaceMoore\miniconda3\Scripts\mamba create -f https://github.com/esciencecenter-digital-skills/medical-image-processing/blob/main/learners/environment.yml
environment variables:
ACLOCAL_PATH=C:\Users\CandaceMoore\AppData\Local\Programs\Git\mingw64\share\aclocal
;C:\Users\CandaceMoore\AppData\Local\Programs\Git\usr\share\aclocal
CIO_TEST=
active environment : base
active env location : C:\Users\CandaceMoore\miniconda3
shell level : 1
user config file : C:\Users\CandaceMoore\.condarc
populated config files : conda version : 23.11.0 conda-build version : not installed python version : 3.11.5.final.0 solver : libmamba (default) virtual packages : __archspec=1=x86_64 conda=23.11.0=0 win=0=0 base environment : C:\Users\CandaceMoore\miniconda3 (writable) conda av data dir : C:\Users\CandaceMoore\miniconda3\etc\conda conda av metadata url : None channel URLs : https://repo.anaconda.com/pkgs/main/win-64 https://repo.anaconda.com/pkgs/main/noarch https://repo.anaconda.com/pkgs/r/win-64 https://repo.anaconda.com/pkgs/r/noarch https://repo.anaconda.com/pkgs/msys2/win-64 https://repo.anaconda.com/pkgs/msys2/noarch package cache : C:\Users\CandaceMoore\miniconda3\pkgs C:\Users\CandaceMoore.conda\pkgs C:\Users\CandaceMoore\AppData\Local\conda\conda\pkgs envs directories : C:\Users\CandaceMoore\miniconda3\envs C:\Users\CandaceMoore.conda\envs C:\Users\CandaceMoore\AppData\Local\conda\conda\envs platform : win-64 user-agent : conda/23.11.0 requests/2.31.0 CPython/3.11.5 Windows/10 Windows/10.0.22631 solver/libmamba conda-libmamba-solver/23.11.1 libmambapy/1.5.3 administrator : False netrc file : None offline mode : False
An unexpected error has occurred. Conda has prepared the above report. If you suspect this error is being caused by a malfunctioning plugin, consider using the --no-plugins option to turn off plugins.
Example: conda --no-plugins install
Alternatively, you can set the CONDA_NO_PLUGINS environment variable on the command line to run the command without plugins enabled.
Example: CONDA_NO_PLUGINS=true conda install
The environment works for everything! But unfortunately my machine would not let me build it in the instructed way, so I'm adding an alternative that worked for me