标题:求助:re.error: nothing to repeat at position 0
只看楼主
YCCircle
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2021-10-13
结帖率:0
已结贴  问题点数:20 回复次数:5 
求助:re.error: nothing to repeat at position 0
我在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
有人遇到过这种问题吗!!
谢谢!!!
搜索更多相关主题的帖子: python3 line File case lib 
2021-10-13 10:49
自由而无用
Rank: 9Rank: 9Rank: 9
等 级:贵宾
威 望:14
帖 子:61
专家分:1456
注 册:2021-8-9
得分:20 
null

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

2021-10-13 11:10
YCCircle
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2021-10-13
得分:0 
以下是引用自由而无用在2021-10-13 11:10:07的发言:

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


看了还是不明白我要做什么咋办...
2021-10-13 11:23
自由而无用
Rank: 9Rank: 9Rank: 9
等 级:贵宾
威 望:14
帖 子:61
专家分:1456
注 册:2021-8-9
得分:0 
回复 3楼 YCCircle
null


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

2021-10-13 11:33
YCCircle
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2021-10-13
得分:0 
回复 4楼 自由而无用
I have rested for a long time...XD
The description in the installation manual is very simple or sth I can't understand.
2021-10-13 11:48
自由而无用
Rank: 9Rank: 9Rank: 9
等 级:贵宾
威 望:14
帖 子:61
专家分:1456
注 册:2021-8-9
得分:0 
回复 5楼 YCCircle
null


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

2021-10-13 11:59



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-507139-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.056279 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved