Parsing error: configparser.ParsingError: Source contains parsing errors: '<string>'

I am repeatedly encountering a parsing error, seems to be related to my ini file but the ini file doesn’t seem to have any problems. because I couldn’t upload files I am attaching the text of the error message and the ini file here:

Edit: the issue was fixed when I replaced
w=0.0
with
w=0

[backend]
precision = double
rank-allocator = linear

[backend-openmp]
;cblas = Enter path to local BLAS library for OpenMP backend

[backend-cuda]
device-id = local-rank
[constants]
gamma = 1.6667
mu = 4.6296e-6



Pr = 0.67


cp = 5192

Pc = 1380000
Pa=8e4

cpTs = 415360
cpTref = 1557600

;[soln-plugin-sampler]
;nsteps = 10000
;samp-pts = [(-0.5, 0.015),(-0.45, 0.015), (-0.4, 0.015),(-0.35, 0.015),(-0.3, 0.015),(-0.25, 0.015),(-0.2, 0.015),(-0.15, 0.015),(-0.1, 0.015),(-0.05, 0.015),(0, 0.015),(0.05, 0.015),(0.1, 0.015),(0.15, 0.015),(0.2, 0.015),(0.25, 0.015),(0.3, 0.015),(0.35, 0.015),(0.4, 0.015),(0.45, 0.015),(0.5, 0.015)]
;format = primitive
;file = /home/nathan-blanc/point-data.csv
;header = true

[solver]
system = navier-stokes
order = 3
viscosity-correction= sutherland

[solver-time-integrator]
formulation = std
scheme = rk45
controller = pi
;controller = none
atol = 0.000001
rtol = 0.000001
errest-norm = l2
safety-fact = 0.7

tstart = 0.06675
tend = 0.1
;dt = 0.0001
dt = 1e-10

[solver-interfaces]
riemann-solver = rusanov
ldg-beta = 0.5
ldg-tau = 0.1

[solver-interfaces-line]
flux-pts = gauss-legendre
;quad-deg = 9
quad-pts = gauss-legendre

[solver-interfaces-quad]
flux-pts = gauss-legendre
;quad-deg = 9
quad-pts = gauss-legendre

[solver-elements-tri]
soln-pts = williams-shunn
;quad-deg = 8
quad-pts = williams-shunn

[solver-elements-quad]
soln-pts = gauss-legendre
;quad-deg = 9
quad-pts = gauss-legendre

[solver-elements-hex]
soln-pts = gauss-legendre
;quad-deg = 9
quad-pts = gauss-legendre

[soln-plugin-writer]
dt-out = 0.00025

;basedir = .
basedir=/home/nathan-blanc
basename = aeror_{t:.4f}


[soln-bcs-stack]
type = no-slp-Tprofilewall
cpTw = cp*min(max(-4.9536e3*x-1.4654e3,303),623)

[soln-ics]
u = 0
v = 0.0
w=0.0
p = Pc+Pa*sin(x*3.14159)
;p=Pc
rho=((gamma)/(gamma-1))*(Pc/min(max(-4.9536e3*x-1.4654e3,303),623)/cp)
;rho=1
[soln-bcs-top]
type =no-slp-adia-wall

[soln-bcs-bottom]
type =no-slp-adia-wall

[soln-bcs-left]
type =no-slp-adia-wall

[soln-bcs-right]
type =no-slp-adia-wall

and the traceback

error message:
Mon 04 Jul 2022 07:58:50 PM IDT
Traceback (most recent call last):
  File "/usr/local/bin/pyfr", line 11, in <module>
    load_entry_point('pyfr==1.12.3', 'console_scripts', 'pyfr')()
  File "/usr/local/lib/python3.8/dist-packages/pyfr-1.12.3-py3.8.egg/pyfr/__main__.py", line 117, in main
  File "/usr/local/lib/python3.8/dist-packages/pyfr-1.12.3-py3.8.egg/pyfr/__main__.py", line 251, in process_run
  File "/usr/local/lib/python3.8/dist-packages/pyfr-1.12.3-py3.8.egg/pyfr/inifile.py", line 33, in load
  File "/usr/local/lib/python3.8/dist-packages/pyfr-1.12.3-py3.8.egg/pyfr/inifile.py", line 26, in __init__
  File "/usr/lib/python3.8/configparser.py", line 723, in read_string
    self.read_file(sfile, source)
  File "/usr/lib/python3.8/configparser.py", line 718, in read_file
    self._read(f, source)
  File "/usr/lib/python3.8/configparser.py", line 1113, in _read
    raise e
configparser.ParsingError: Source contains parsing errors: '<string>'
	[line 115]: '\x00\x00\x00\x00\x00'
Traceback (most recent call last):
  File "/usr/local/bin/pyfr", line 11, in <module>
    load_entry_point('pyfr==1.12.3', 'console_scripts', 'pyfr')()
  File "/usr/local/lib/python3.8/dist-packages/pyfr-1.12.3-py3.8.egg/pyfr/__main__.py", line 117, in main
  File "/usr/local/lib/python3.8/dist-packages/pyfr-1.12.3-py3.8.egg/pyfr/__main__.py", line 251, in process_run
  File "/usr/local/lib/python3.8/dist-packages/pyfr-1.12.3-py3.8.egg/pyfr/inifile.py", line 33, in load
  File "/usr/local/lib/python3.8/dist-packages/pyfr-1.12.3-py3.8.egg/pyfr/inifile.py", line 26, in __init__
  File "/usr/lib/python3.8/configparser.py", line 723, in read_string
    self.read_file(sfile, source)
  File "/usr/lib/python3.8/configparser.py", line 718, in read_file
    self._read(f, source)
  File "/usr/lib/python3.8/configparser.py", line 1113, in _read
    raise e
configparser.ParsingError: Source contains parsing errors: '<string>'
	[line 115]: '\x00\x00\x00\x00\x00'
Traceback (most recent call last):
  File "/usr/local/bin/pyfr", line 11, in <module>
    load_entry_point('pyfr==1.12.3', 'console_scripts', 'pyfr')()
  File "/usr/local/lib/python3.8/dist-packages/pyfr-1.12.3-py3.8.egg/pyfr/__main__.py", line 117, in main
  File "/usr/local/lib/python3.8/dist-packages/pyfr-1.12.3-py3.8.egg/pyfr/__main__.py", line 251, in process_run
  File "/usr/local/lib/python3.8/dist-packages/pyfr-1.12.3-py3.8.egg/pyfr/inifile.py", line 33, in load
  File "/usr/local/lib/python3.8/dist-packages/pyfr-1.12.3-py3.8.egg/pyfr/inifile.py", line 26, in __init__
  File "/usr/lib/python3.8/configparser.py", line 723, in read_string
    self.read_file(sfile, source)
  File "/usr/lib/python3.8/configparser.py", line 718, in read_file
    self._read(f, source)
  File "/usr/lib/python3.8/configparser.py", line 1113, in _read
    raise e
configparser.ParsingError: Source contains parsing errors: '<string>'
	[line 115]: '\x00\x00\x00\x00\x00'
Traceback (most recent call last):
  File "/usr/local/bin/pyfr", line 11, in <module>
    load_entry_point('pyfr==1.12.3', 'console_scripts', 'pyfr')()
  File "/usr/local/lib/python3.8/dist-packages/pyfr-1.12.3-py3.8.egg/pyfr/__main__.py", line 117, in main
  File "/usr/local/lib/python3.8/dist-packages/pyfr-1.12.3-py3.8.egg/pyfr/__main__.py", line 251, in process_run
  File "/usr/local/lib/python3.8/dist-packages/pyfr-1.12.3-py3.8.egg/pyfr/inifile.py", line 33, in load
  File "/usr/local/lib/python3.8/dist-packages/pyfr-1.12.3-py3.8.egg/pyfr/inifile.py", line 26, in __init__
  File "/usr/lib/python3.8/configparser.py", line 723, in read_string
    self.read_file(sfile, source)
  File "/usr/lib/python3.8/configparser.py", line 718, in read_file
    self._read(f, source)
  File "/usr/lib/python3.8/configparser.py", line 1113, in _read
    raise e
configparser.ParsingError: Source contains parsing errors: '<string>'
	[line 115]: '\x00\x00\x00\x00\x00'
srun: error: n306: tasks 0-3: Exited with exit code 1

Without running the ini file myself, I think the error is from your number formatting, I don’t think your use of standard form is correct.

Also, on a different note you might want to consider normalising your pressure terms, you will be burning a few digits in accuracy with large values like the ones you have. This is

Thanks a lot for your answer Will. The issue was fixed when I replaced
w= 0.0

with
w=0

the rest of the numbers were left in standard form

thank you for your other reccomendation as well, I will definetly scale the pressure if it will improve the accuracy