注册 登录
编程论坛 Python论坛

求助:re.error: nothing to repeat at position 0

YCCircle 发布于 2021-10-13 10:49, 2109 次点击
我在hpc上装model
出现了这个问题:
Traceback (most recent call last):
  File "./create_newcase", line 210, in <module>
    _main_func(__doc__)
  File "./create_newcase", line 198, in _main_func
    case.create(casename, srcroot, compset, grid, user_mods_dir=user_mods_dir,
  File "/scratch/PI/shixm/yuanyuan/my_cesm_sandbox/cime/scripts/Tools/../../scripts/lib/CIME/case/case.py", line 1436, in create
    self.configure(compset_name, grid_name, machine_name=machine_name,
  File "/scratch/PI/shixm/yuanyuan/my_cesm_sandbox/cime/scripts/Tools/../../scripts/lib/CIME/case/case.py", line 811, in configure
    probed_machine = machobj.probe_machine_name()
  File "/scratch/PI/shixm/yuanyuan/my_cesm_sandbox/cime/scripts/Tools/../../scripts/lib/CIME/XML/machines.py", line 112, in probe_machine_name
    machine = self._probe_machine_name_one_guess(nametomatch)
  File "/scratch/PI/shixm/yuanyuan/my_cesm_sandbox/cime/scripts/Tools/../../scripts/lib/CIME/XML/machines.py", line 147, in _probe_machine_name_one_guess
    regex = (regex_str)
  File "/opt/ohpc/pub/apps/anaconda3-2021.05/lib/python3.8/re.py", line 252, in compile
    return _compile(pattern, flags)
  File "/opt/ohpc/pub/apps/anaconda3-2021.05/lib/python3.8/re.py", line 304, in _compile
    p = sre_(pattern, flags)
  File "/opt/ohpc/pub/apps/anaconda3-2021.05/lib/python3.8/sre_compile.py", line 764, in compile
    p = sre_parse.parse(p, flags)
  File "/opt/ohpc/pub/apps/anaconda3-2021.05/lib/python3.8/sre_parse.py", line 948, in parse
    p = _parse_sub(source, state, flags & SRE_FLAG_VERBOSE, 0)
  File "/opt/ohpc/pub/apps/anaconda3-2021.05/lib/python3.8/sre_parse.py", line 443, in _parse_sub
    itemsappend(_parse(source, state, verbose, nested + 1,
  File "/opt/ohpc/pub/apps/anaconda3-2021.05/lib/python3.8/sre_parse.py", line 668, in _parse
    raise source.error("nothing to repeat",
re.error: nothing to repeat at position 0

小白不知道怎么处理了555
有人遇到过这种问题吗!!
谢谢!!!
5 回复
#2
自由而无用2021-10-13 11:10
null

[此贴子已经被作者于2021-11-4 17:52编辑过]

#3
YCCircle2021-10-13 11:23
以下是引用自由而无用在2021-10-13 11:10:07的发言:

https://
https://bugs.
https://


看了还是不明白我要做什么咋办...
#4
自由而无用2021-10-13 11:33
回复 3楼 YCCircle
null


[此贴子已经被作者于2021-11-4 17:53编辑过]

#5
YCCircle2021-10-13 11:48
回复 4楼 自由而无用
I have rested for a long time...XD
The description in the installation manual is very simple or sth I can't understand.
#6
自由而无用2021-10-13 11:59
回复 5楼 YCCircle
null


[此贴子已经被作者于2021-11-4 17:53编辑过]

1