# Expected punctuation token ')', found ~

**URL:** https://discourse.paraview.org/t/expected-punctuation-token-found/5041
**Category:** ParaView Support
**Created:** [August 6, 2020, 6:19am UTC](https://discourse.paraview.org/t/expected-punctuation-token-found/5041 "2020-08-06T06:19:39Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![mahmoodn](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mahmoodn/32/4503_2.png) [@mahmoodn](https://discourse.paraview.org/u/mahmoodn)
#### Post date: [August 6, 2020, 6:19am UTC](https://discourse.paraview.org/t/expected-punctuation-token-found/5041/1 "2020-08-06T06:19:39Z")

</div>

Hi  
I have installed system paraview 4.4 which is available in the centos 7 repository. I have installed that because the Paraview 5.4 which comes with OpenFoam 6 has installation issues and I am not able to install that on centos 7.

Now, when I open a result file, I get thiss error:

```
ERROR: In /builddir/build/BUILD/ParaView-v4.4.0-source/VTK/IO/Geometry/vtkOpenFOAMReader.cxx, line 4674
vtkOpenFOAMReaderPrivate (0x392d840): Error reading line 169 of /home/mahmood/OpenFOAM/mahmood-6/run/S8010-Same1-2/constant/polyMesh/faces: Expected punctuation token ')', found ~

ERROR: In /builddir/build/BUILD/ParaView-v4.4.0-source/VTK/Common/ExecutionModel/vtkExecutive.cxx, line 784
vtkPVCompositeDataPipeline (0x3932530): Algorithm vtkPOpenFOAMReader(0x3921520) returned failure for request: vtkInformation (0x3fe9b50)
  Debug: Off
  Modified Time: 169270
  Reference Count: 1
  Registered Events: (none)
  Request: REQUEST_DATA
  FROM_OUTPUT_PORT: 0
  ALGORITHM_AFTER_FORWARD: 1
  FORWARD_DIRECTION: 0

```

The file at constant/polyMesh/faces is a 1.3GB binary file. I don’t know if this is a compatibility issue or what. I mean maybe the file is not compatible with paraview 4.4 and I must use 5.4 or so.

َAny idea about that?

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [August 6, 2020, 6:35am UTC](https://discourse.paraview.org/t/expected-punctuation-token-found/5041/2 "2020-08-06T06:35:55Z")

</div>

Please try with our latest binary release from : [https://www.paraview.org/download/](https://www.paraview.org/download/)

---

<div class="post-metadata">

### Author: ![mahmoodn](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mahmoodn/32/4503_2.png) [@mahmoodn](https://discourse.paraview.org/u/mahmoodn)
#### Post date: [August 6, 2020, 6:56am UTC](https://discourse.paraview.org/t/expected-punctuation-token-found/5041/3 "2020-08-06T06:56:52Z")

</div>

Well the latest version is not compatible with centos 7 as it needs opengl 3 while centos 7 uses opengl 2.1.

---

<div class="post-metadata">

### Author: ![olesenm](https://discourse.paraview.org/user_avatar/discourse.paraview.org/olesenm/32/17416_2.png) [@olesenm](https://discourse.paraview.org/u/olesenm)
#### Post date: [August 6, 2020, 8:32am UTC](https://discourse.paraview.org/t/expected-punctuation-token-found/5041/4 "2020-08-06T08:32:16Z")

</div>

Not sure which opengl it requires, but you could try using a paraview-5.6 binary pack from kitware. For reading in OpenFOAM, I wouldn’t generally recommend going much older than that.

However, you could also try with Alexey’s copr installation. Since he’s involved with various aspects with OpenFOAM (Darwin ports, other patches), I would generally trust that his copr build should be reasonably stable.

[https://copr.fedorainfracloud.org/coprs/alexeym/paraview-legacy/packages/](https://copr.fedorainfracloud.org/coprs/alexeym/paraview-legacy/packages/)
