# GlyphLegacy issues

**URL:** https://discourse.paraview.org/t/glyphlegacy-issues/11437
**Category:** ParaView Support
**Created:** [February 18, 2023, 11:30pm UTC](https://discourse.paraview.org/t/glyphlegacy-issues/11437 "2023-02-18T23:30:21Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![fieldofnodes](https://discourse.paraview.org/user_avatar/discourse.paraview.org/fieldofnodes/32/10605_2.png) [@fieldofnodes](https://discourse.paraview.org/u/fieldofnodes)
#### Post date: [February 18, 2023, 11:30pm UTC](https://discourse.paraview.org/t/glyphlegacy-issues/11437/1 "2023-02-18T23:30:21Z")

</div>

[paraview\_error.txt](https://discourse.paraview.org/uploads/short-url/f1wLtCNQYHqirvvOi7uiFHkwFLU.txt) (3.1 KB)

I have a c++ library that I use, which outputs my data to be read in Paraview.

I have just upgraded Paraview to 5.10.ish and I think my c++ library has a different set of parameters.

I get this error that

```auto
(filters, GlyphLegacy) has been deprecated in ParaView 5.6 and will be removed by ParaView 5.7. 
        It has been replaced by 'GlyphWithCustomSource'. Please consider using that instead.

```

I have attached the complete list of errors when I load my `psvm` state file.

Any ideas what to do?

---

<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: [February 20, 2023, 8:22am UTC](https://discourse.paraview.org/t/glyphlegacy-issues/11437/2 "2023-02-20T08:22:39Z")

</div>

It’s a warning, the error is:

```auto
ERROR: In ./VTK/Common/Misc/vtkFunctionParser.cxx, line 1226
vtkFunctionParser (0x55f652830d40): Syntax error: expecting a variable name; see position 5

ERROR: In ./VTK/Common/Misc/vtkFunctionParser.cxx, line 1226
vtkFunctionParser (0x55f652830d40): Syntax error: expecting a variable name; see position 5

```

Please share the pvsm file

---

<div class="post-metadata">

### Author: ![fieldofnodes](https://discourse.paraview.org/user_avatar/discourse.paraview.org/fieldofnodes/32/10605_2.png) [@fieldofnodes](https://discourse.paraview.org/u/fieldofnodes)
#### Post date: [November 13, 2023, 11:13pm UTC](https://discourse.paraview.org/t/glyphlegacy-issues/11437/3 "2023-11-13T23:13:52Z")

</div>

Cant believe I am taking this long to reply.  
[20230719\_T6SS\_FourState\_Capsules\_V4.pvsm](https://discourse.paraview.org/uploads/short-url/hz7bHw7KKcPGG1xx4fTD26yeXKB.pvsm) (1014.7 KB)

---

<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: [November 14, 2023, 10:40am UTC](https://discourse.paraview.org/t/glyphlegacy-issues/11437/4 "2023-11-14T10:40:35Z")

</div>

Please share the data as well.

---

<div class="post-metadata">

### Author: ![fieldofnodes](https://discourse.paraview.org/user_avatar/discourse.paraview.org/fieldofnodes/32/10605_2.png) [@fieldofnodes](https://discourse.paraview.org/u/fieldofnodes)
#### Post date: [November 14, 2023, 3:16pm UTC](https://discourse.paraview.org/t/glyphlegacy-issues/11437/5 "2023-11-14T15:16:28Z")

</div>

[chaste-paraview.zip](https://discourse.paraview.org/uploads/short-url/92esQSEPfQ4kgdd7dNmhMnzcTfp.zip) (1.6 MB)

---

<div class="post-metadata">

### Author: ![fieldofnodes](https://discourse.paraview.org/user_avatar/discourse.paraview.org/fieldofnodes/32/10605_2.png) [@fieldofnodes](https://discourse.paraview.org/u/fieldofnodes)
#### Post date: [November 14, 2023, 3:17pm UTC](https://discourse.paraview.org/t/glyphlegacy-issues/11437/6 "2023-11-14T15:17:11Z")

</div>

Thanks.

I am happy to learn, I have found the jumping off point for paraview elusive.

---

<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: [November 14, 2023, 4:11pm UTC](https://discourse.paraview.org/t/glyphlegacy-issues/11437/7 "2023-11-14T16:11:33Z")

</div>

In your multiple “Calculators” filter, you need to add quotes around the field names.

eg:

`Cell orientation` → `"Cell orientation"`

 ![image](https://discourse.paraview.org/uploads/default/original/2X/8/8c5251c65626d5e882f7cc82df3eaa012455d073.jpeg)

Corrected state file:  
[20230719\_T6SS\_FourState\_Capsules\_V4\_kw.pvsm](https://discourse.paraview.org/uploads/short-url/7y4oUsa0dPvz3I8kT1ELaicozWH.pvsm) (1.2 MB)

---

<div class="post-metadata">

### Author: ![fieldofnodes](https://discourse.paraview.org/user_avatar/discourse.paraview.org/fieldofnodes/32/10605_2.png) [@fieldofnodes](https://discourse.paraview.org/u/fieldofnodes)
#### Post date: [November 14, 2023, 8:53pm UTC](https://discourse.paraview.org/t/glyphlegacy-issues/11437/8 "2023-11-14T20:53:30Z")

</div>

> [@mwestphal](#):
>
> Cell orientation

Thank you for that. That helps.

Though when I load it on my M1, I get these errors.

[paraview-5.10.1-loaderror.txt](https://discourse.paraview.org/uploads/short-url/uNQpCpUf75kB9yxhpA974oCVfaG.txt) (11.7 KB)

---

<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: [November 15, 2023, 8:05am UTC](https://discourse.paraview.org/t/glyphlegacy-issues/11437/9 "2023-11-15T08:05:55Z")

</div>

No idea then, try using the calculator array name shortcut instead.
