# Paraview Lite: Error reading OpenFoam files

**URL:** https://discourse.paraview.org/t/paraview-lite-error-reading-openfoam-files/7167
**Category:** Web Support
**Created:** [May 6, 2021, 11:18pm UTC](https://discourse.paraview.org/t/paraview-lite-error-reading-openfoam-files/7167 "2021-05-06T23:18:26Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![joaomlap](https://discourse.paraview.org/user_avatar/discourse.paraview.org/joaomlap/32/6609_2.png) [@joaomlap](https://discourse.paraview.org/u/joaomlap)
#### Post date: [May 6, 2021, 11:18pm UTC](https://discourse.paraview.org/t/paraview-lite-error-reading-openfoam-files/7167/1 "2021-05-06T23:18:26Z")

</div>

Hello,  
I am having trouble reading OpenFoam files with Paraview Lite. Are there any configuration changes that need to be done in order to read them?  
The error is this:

```
 {
  "message": "Exception raised",
  "code": -32001,
  "data": {
    "exception": "TypeError(\"'float' object is not iterable\",)",
    "method": "pv.time.values",
    "trace": "Traceback (most recent call last):\n File \"/opt/paraview/install/lib/python2.7/site-packages/wslink/websocket.py\", line 275, in onMessage\n results = func(obj, *args, **kwargs)\n File \"/opt/paraview/install/lib/python2.7/site-packages/paraview/web/protocols.py\", line 1065, in getTimeValues\n return list(simple.GetAnimationScene().TimeKeeper.TimestepValues)\nTypeError: 'float' object is not iterable\n"
  }
} 

```

Any recommendations on how or what needs to be done in order to read foam files?
