Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

xml.etree.ElementTree.ParseError: no element found: line 21, column 0

Dear Sir        I am trying to port cesm2 on my Desktop (Ubuntu 18.04), Iam using configu_machine.xml and config_compilers.xml hereby Iam attaching. When Iam trying to create new case by running   $ ./create_newcase --case /home/pramitha/pramitha_waccm/pramitha_case.001 --res f19_f19 --compset FXHIST --mach HP --run-unsupported Iam getting error likeTraceback (most recent call last):
  File "./create_newcase", line 218, in
    _main_func(__doc__)
  File "./create_newcase", line 213, in _main_func
    input_dir=input_dir, driver=driver)
  File "/home/pramitha/cesm2/cesm/cime/scripts/Tools/../../scripts/lib/CIME/case/case.py", line 1431, in create
    input_dir=input_dir, driver=driver)
  File "/home/pramitha/cesm2/cesm/cime/scripts/Tools/../../scripts/lib/CIME/case/case.py", line 770, in configure
    compset_name, files)
  File "/home/pramitha/cesm2/cesm/cime/scripts/Tools/../../scripts/lib/CIME/case/case.py", line 437, in _set_compset
    compsets = Compsets(compsets_filename)
  File "/home/pramitha/cesm2/cesm/cime/scripts/Tools/../../scripts/lib/CIME/XML/compsets.py", line 18, in __init__
    GenericXML.__init__(self, infile, schema=schema)
  File "/home/pramitha/cesm2/cesm/cime/scripts/Tools/../../scripts/lib/CIME/XML/generic_xml.py", line 57, in __init__
    self.read(infile, schema)
  File "/home/pramitha/cesm2/cesm/cime/scripts/Tools/../../scripts/lib/CIME/XML/generic_xml.py", line 87, in read
    self.read_fd(fd)
  File "/home/pramitha/cesm2/cesm/cime/scripts/Tools/../../scripts/lib/CIME/XML/generic_xml.py", line 112, in read_fd
    self.tree = ET.parse(fd)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1182, in parse
    tree.parse(source, parser)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 657, in parse
    self._root = parser.close()
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1671, in close
    self._raiseerror(v)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1523, in _raiseerror
    raise err
xml.etree.ElementTree.ParseError: no element found: line 21, column 0

  Like this, Iam using Python version 2.7.15  Can anyone suggest me what is my error and to solve this what i have to do Thanking youSincerelyPramitha 
 
Top