MFIX 20.4.0 Install Error

Hello. I follow the documentation to install MFIX 20.4.0 but failed. 2.1. Windows Installation — MFiX 20.4-dev documentation
I refreshed my download webpage for several times but it didn’t work. Here’s the error message from my anaconda prompt. Thank you so much for the help!

Command I used:
(base) C:\Users\liang>conda create -n mfix-20.4.0 mfix=20.4.0 mfix-doc=20.4.0 mfix-gui=20.4.0 mfix-solver=20.4.0 mfix-src=20.4.0 -c mfix -c https://mfix.netl.doe.gov/s3/35677c80/191237db839b3054f54dca75e0221e02/conda/dist

Collecting package metadata (current_repodata.json): failed

>>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<

Traceback (most recent call last):
  File "C:\ProgramData\Anaconda3\lib\site-packages\conda\exceptions.py", line 1079, in __call__
    return func(*args, **kwargs)
  File "C:\ProgramData\Anaconda3\lib\site-packages\conda\cli\main.py", line 84, in _main
    exit_code = do_call(args, p)
  File "C:\ProgramData\Anaconda3\lib\site-packages\conda\cli\conda_argparse.py", line 83, in do_call
    return getattr(module, func_name)(args, parser)
  File "C:\ProgramData\Anaconda3\lib\site-packages\conda\cli\main_create.py", line 41, in execute
    install(args, parser, 'create')
  File "C:\ProgramData\Anaconda3\lib\site-packages\conda\cli\install.py", line 261, in install
    unlink_link_transaction = solver.solve_for_transaction(
  File "C:\ProgramData\Anaconda3\lib\site-packages\conda\core\solve.py", line 114, in solve_for_transaction
    unlink_precs, link_precs = self.solve_for_diff(update_modifier, deps_modifier,
  File "C:\ProgramData\Anaconda3\lib\site-packages\conda\core\solve.py", line 157, in solve_for_diff
    final_precs = self.solve_final_state(update_modifier, deps_modifier, prune, ignore_pinned,
  File "C:\ProgramData\Anaconda3\lib\site-packages\conda\core\solve.py", line 262, in solve_final_state
    ssc = self._collect_all_metadata(ssc)
  File "C:\ProgramData\Anaconda3\lib\site-packages\conda\common\io.py", line 88, in decorated
    return f(*args, **kwds)
  File "C:\ProgramData\Anaconda3\lib\site-packages\conda\core\solve.py", line 425, in _collect_all_metadata
    index, r = self._prepare(prepared_specs)
  File "C:\ProgramData\Anaconda3\lib\site-packages\conda\core\solve.py", line 1020, in _prepare
    reduced_index = get_reduced_index(self.prefix, self.channels,
  File "C:\ProgramData\Anaconda3\lib\site-packages\conda\core\index.py", line 276, in get_reduced_index
    new_records = SubdirData.query_all(spec, channels=channels, subdirs=subdirs,
  File "C:\ProgramData\Anaconda3\lib\site-packages\conda\core\subdir_data.py", line 120, in query_all
    result = tuple(concat(executor.map(subdir_query, channel_urls)))
  File "C:\ProgramData\Anaconda3\lib\concurrent\futures\_base.py", line 611, in result_iterator
    yield fs.pop().result()
  File "C:\ProgramData\Anaconda3\lib\concurrent\futures\_base.py", line 439, in result
    return self.__get_result()
  File "C:\ProgramData\Anaconda3\lib\concurrent\futures\_base.py", line 388, in __get_result
    raise self._exception
  File "C:\ProgramData\Anaconda3\lib\concurrent\futures\thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "C:\ProgramData\Anaconda3\lib\site-packages\conda\core\subdir_data.py", line 112, in <lambda>
    subdir_query = lambda url: tuple(SubdirData(Channel(url), repodata_fn=repodata_fn).query(
  File "C:\ProgramData\Anaconda3\lib\site-packages\conda\core\subdir_data.py", line 125, in query
    self.load()
  File "C:\ProgramData\Anaconda3\lib\site-packages\conda\core\subdir_data.py", line 189, in load
    _internal_state = self._load()
  File "C:\ProgramData\Anaconda3\lib\site-packages\conda\core\subdir_data.py", line 291, in _load
    _internal_state = self._process_raw_repodata_str(raw_repodata_str)
  File "C:\ProgramData\Anaconda3\lib\site-packages\conda\core\subdir_data.py", line 364, in _process_raw_repodata_str
    json_obj = json.loads(raw_repodata_str or '{}')
  File "C:\ProgramData\Anaconda3\lib\json\__init__.py", line 357, in loads
    return _default_decoder.decode(s)
  File "C:\ProgramData\Anaconda3\lib\json\decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "C:\ProgramData\Anaconda3\lib\json\decoder.py", line 353, in raw_decode
    obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 1 column 160 (char 159)

$ C:\ProgramData\Anaconda3\Scripts\conda-script.py create -n mfix-20.4.0 mfix=20.4.0 mfix-doc=20.4.0 mfix-gui=20.4.0 mfix-solver=20.4.0 mfix-src=20.4.0 -c mfix -c https://mfix.netl.doe.gov/s3/35677c80/191237db839b3054f54dca75e0221e02/conda/dist

Hi @weibinl

I tried on our cluster and I get a similar error:

conda create -n mfix-20.4.0 mfix=20.4.0 mfix-doc=20.4.0 mfix-gui=20.4.0 mfix-solver=20.4.0 mfix-src=20.4.0 -c mfix -c https://mfix.netl.doe.gov/s3/04fc14f8/6487778b1a74a993fda9416
c4012c913/conda/dist
Collecting package metadata (current_repodata.json): failed

>>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<

Traceback (most recent call last):
  File "/projects/dufeklab/ebreard/anaconda3/lib/python3.7/site-packages/conda/exceptions.py", line 1074, in __call__
    return func(*args, **kwargs)
  File "/projects/dufeklab/ebreard/anaconda3/lib/python3.7/site-packages/conda/cli/main.py", line 84, in _main
    exit_code = do_call(args, p)
  File "/projects/dufeklab/ebreard/anaconda3/lib/python3.7/site-packages/conda/cli/conda_argparse.py", line 82, in do_call
    exit_code = getattr(module, func_name)(args, parser)
  File "/projects/dufeklab/ebreard/anaconda3/lib/python3.7/site-packages/conda/cli/main_create.py", line 37, in execute
    install(args, parser, 'create')
  File "/projects/dufeklab/ebreard/anaconda3/lib/python3.7/site-packages/conda/cli/install.py", line 265, in install
    should_retry_solve=(_should_retry_unfrozen or repodata_fn != repodata_fns[-1]),
  File "/projects/dufeklab/ebreard/anaconda3/lib/python3.7/site-packages/conda/core/solve.py", line 117, in solve_for_transaction
    should_retry_solve)
  File "/projects/dufeklab/ebreard/anaconda3/lib/python3.7/site-packages/conda/core/solve.py", line 158, in solve_for_diff
    force_remove, should_retry_solve)
  File "/projects/dufeklab/ebreard/anaconda3/lib/python3.7/site-packages/conda/core/solve.py", line 262, in solve_final_state
    ssc = self._collect_all_metadata(ssc)
  File "/projects/dufeklab/ebreard/anaconda3/lib/python3.7/site-packages/conda/common/io.py", line 88, in decorated
    return f(*args, **kwds)
  File "/projects/dufeklab/ebreard/anaconda3/lib/python3.7/site-packages/conda/core/solve.py", line 415, in _collect_all_metadata
    index, r = self._prepare(prepared_specs)
  File "/projects/dufeklab/ebreard/anaconda3/lib/python3.7/site-packages/conda/core/solve.py", line 1004, in _prepare
    self.subdirs, prepared_specs, self._repodata_fn)
  File "/projects/dufeklab/ebreard/anaconda3/lib/python3.7/site-packages/conda/core/index.py", line 214, in get_reduced_index
    repodata_fn=repodata_fn)
  File "/projects/dufeklab/ebreard/anaconda3/lib/python3.7/site-packages/conda/core/subdir_data.py", line 97, in query_all
    result = tuple(concat(executor.map(subdir_query, channel_urls)))
  File "/projects/dufeklab/ebreard/anaconda3/lib/python3.7/concurrent/futures/_base.py", line 598, in result_iterator
    yield fs.pop().result()
  File "/projects/dufeklab/ebreard/anaconda3/lib/python3.7/concurrent/futures/_base.py", line 435, in result
    return self.__get_result()
  File "/projects/dufeklab/ebreard/anaconda3/lib/python3.7/concurrent/futures/_base.py", line 384, in __get_result
    raise self._exception
  File "/projects/dufeklab/ebreard/anaconda3/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/projects/dufeklab/ebreard/anaconda3/lib/python3.7/site-packages/conda/core/subdir_data.py", line 90, in <lambda>
    package_ref_or_match_spec))
  File "/projects/dufeklab/ebreard/anaconda3/lib/python3.7/site-packages/conda/core/subdir_data.py", line 102, in query
    self.load()
  File "/projects/dufeklab/ebreard/anaconda3/lib/python3.7/site-packages/conda/core/subdir_data.py", line 166, in load
    _internal_state = self._load()
  File "/projects/dufeklab/ebreard/anaconda3/lib/python3.7/site-packages/conda/core/subdir_data.py", line 268, in _load
    _internal_state = self._process_raw_repodata_str(raw_repodata_str)
  File "/projects/dufeklab/ebreard/anaconda3/lib/python3.7/site-packages/conda/core/subdir_data.py", line 341, in _process_raw_repodata_str
    json_obj = json.loads(raw_repodata_str or '{}')
  File "/projects/dufeklab/ebreard/anaconda3/lib/python3.7/json/__init__.py", line 348, in loads
    return _default_decoder.decode(s)
  File "/projects/dufeklab/ebreard/anaconda3/lib/python3.7/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/projects/dufeklab/ebreard/anaconda3/lib/python3.7/json/decoder.py", line 353, in raw_decode
    obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 1 column 162 (char 161)

$ /projects/dufeklab/ebreard/anaconda3/bin/conda create -n mfix-20.4.0 mfix=20.4.0 mfix-doc=20.4.0 mfix-gui=20.4.0 mfix-solver=20.4.0 mfix-src=20.4.0 -c mfix -c https://mfix.netl.doe.gov/s3/04fc14f8/6487778b1a74a993fda9416c4012c913/conda/dist

environment variables:
CIO_TEST=
CONDA_DEFAULT_ENV=base
CONDA_EXE=/projects/dufeklab/ebreard/anaconda3/bin/conda
CONDA_PREFIX=/projects/dufeklab/ebreard/anaconda3
CONDA_PROMPT_MODIFIER=(base)
CONDA_PYTHON_EXE=/projects/dufeklab/ebreard/anaconda3/bin/python
CONDA_ROOT=/projects/dufeklab/ebreard/anaconda3
CONDA_SHLVL=1
CPATH=/packages/isl/0.16.1/include:/packages/cloog/0.18.1/include:/packages/
gcc/5.5/include:/cm/shared/apps/slurm/19.05/include
LD_LIBRARY_PATH=/packages/isl/0.16.1/lib:/packages/cloog/0.18.1/lib:/packages/gcc/5.5/
lib64:/packages/gcc/5.5/lib:/gpfs/packages/src/gbench-
src-2.12.8/local/ncbi-vdb-2.8.2/lib64:/cm/shared/apps/slurm/19.05/lib/
slurm:/cm/shared/apps/slurm/19.05/lib
LIBRARY_PATH=/packages/isl/0.16.1/lib:/packages/cloog/0.18.1/lib:/packages/gcc/5.5/
lib64:/packages/gcc/5.5/lib:/cm/shared/apps/slurm/19.05/lib/slurm:/cm/
shared/apps/slurm/19.05/lib
MANPATH=/packages/gcc/5.5/man:/cm/shared/apps/slurm/19.05/share/man:/usr/share
/lmod/lmod/share/man:/usr/local/share/man:/usr/share/man/overrides:/us
r/share/man:/opt/ibutils/share/man:/cm/local/apps/environment-
modules/current/share/man:/opt/puppetlabs/puppet/share/man
MODULEPATH=/packages/modulefiles/Compiler/gcc/5:/packages/modulefiles/Core
PATH=/projects/dufeklab/ebreard/anaconda3/bin:/projects/dufeklab/ebreard/an
aconda3/bin:/projects/dufeklab/ebreard/anaconda3/bin:/projects/dufekla
b/ebreard/anaconda3/condabin:/packages/cmake/3.15.4/bin:/packages/cloo
g/0.18.1/bin:/packages/gcc/5.5/bin:/cm/shared/apps/slurm/19.05/sbin:/c
m/shared/apps/slurm/19.05/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:
/usr/sbin:/opt/ibutils/bin:/opt/puppetlabs/bin:/opt/dell/srvadmin/bin:
/home/ebreard/local/bin:/home/ebreard/.local/bin:/home/ebreard/bin
REQUESTS_CA_BUNDLE=
SSL_CERT_FILE=
__LMOD_REF_COUNT_CPATH=/packages/isl/0.16.1/include:1;/packages/cloog/0.18.1/include:1;/packa
ges/gcc/5.5/include:1;/cm/shared/apps/slurm/19.05/include:1
__LMOD_REF_COUNT_LD_LIBRARY_PATH=/packages/isl/0.16.1/lib:1;/packages/cloog/0.18.1/lib:1;/packages/gcc/
5.5/lib64:1;/packages/gcc/5.5/lib:1;/gpfs/packages/src/gbench-
src-2.12.8/local/ncbi-vdb-2.8.2/lib64:1;/cm/shared/apps/slurm/19.05/li
b/slurm:1;/cm/shared/apps/slurm/19.05/lib:1
__LMOD_REF_COUNT_LIBRARY_PATH=/packages/isl/0.16.1/lib:1;/packages/cloog/0.18.1/lib:1;/packages/gcc/
5.5/lib64:1;/packages/gcc/5.5/lib:1;/cm/shared/apps/slurm/19.05/lib/sl
urm:1;/cm/shared/apps/slurm/19.05/lib:1
__LMOD_REF_COUNT_MANPATH=/packages/gcc/5.5/man:1;/cm/shared/apps/slurm/19.05/share/man:1;/usr/s
hare/lmod/lmod/share/man:1;/usr/local/share/man:1;/usr/share/man/overr
ides:1;/usr/share/man:1;/opt/ibutils/share/man:1;/cm/local/apps/enviro
nment-modules/current/share/man:1;/opt/puppetlabs/puppet/share/man:1
__LMOD_REF_COUNT_MODULEPATH=/packages/modulefiles/Compiler/gcc/5:1;/packages/modulefiles/Core:1
__LMOD_REF_COUNT_PATH=/packages/cmake/3.15.4/bin:1;/packages/cloog/0.18.1/bin:1;/packages/gc
c/5.5/bin:1;/cm/shared/apps/slurm/19.05/sbin:1;/cm/shared/apps/slurm/1
9.05/bin:1;/usr/local/bin:1;/usr/bin:1;/usr/local/sbin:1;/usr/sbin:1;/
opt/ibutils/bin:1;/opt/puppetlabs/bin:1;/opt/dell/srvadmin/bin:1

 active environment : base
active env location : /projects/dufeklab/ebreard/anaconda3
        shell level : 1
   user config file : /home/ebreard/.condarc

populated config files : /home/ebreard/.condarc
conda version : 4.7.12
conda-build version : 3.18.9
python version : 3.7.4.final.0
virtual packages :
base environment : /projects/dufeklab/ebreard/anaconda3 (writable)
channel URLs : https://conda.anaconda.org/mfix/linux-64
https://conda.anaconda.org/mfix/noarch
https://mfix.netl.doe.gov/s3/04fc14f8/6487778b1a74a993fda9416c4012c913/conda/dist/linux-64
https://mfix.netl.doe.gov/s3/04fc14f8/6487778b1a74a993fda9416c4012c913/conda/dist/noarch
https://conda.anaconda.org/conda-forge/linux-64
https://conda.anaconda.org/conda-forge/noarch
https://repo.anaconda.com/pkgs/main/linux-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/linux-64
https://repo.anaconda.com/pkgs/r/noarch
package cache : /projects/dufeklab/ebreard/anaconda3/pkgs
/home/ebreard/.conda/pkgs
envs directories : /projects/dufeklab/ebreard/anaconda3/envs
/home/ebreard/.conda/envs
platform : linux-64
user-agent : conda/4.7.12 requests/2.22.0 CPython/3.7.4 Linux/3.10.0-1127.19.1.el7.x86_64 rhel/7.8 glibc/2.17
UID:GID : 1617:1159
netrc file : None
offline mode : False

An unexpected error has occurred. Conda has prepared the above report.

I got mfix 18.1.5, 19.3.1, 20.3.1 on our cluster and working.

Thanks for your input. I tried the 20.3.1 and had a similar error. Probably it is due to the bug of the server.

Yeah same error on my end.

me too, please help me… I need MFIX for my research.

thanks

@gaoxi @onlyjus Maybe you know what is a solution.

Mark or other folks might provide some help. @mark.meredith

@mark.meredith Looks like a json file got corrupted?

All packages are down. I tried Win, Linux, and source too.

1 Like

yoo. me too :sob: , I tried install and uninstall also tried another version

It seems the problem was solved. I downloaded and installed some versions of MFiX.

Yup, it works for me now.

Yes, there was a redirection issue with the website. Installation should be fixed now.

4 Likes