# Trame-Flow : Demo examples

**URL:** https://discourse.paraview.org/t/trame-flow-demo-examples/17591
**Category:** Web Support
**Created:** [June 2, 2026, 12:52pm UTC](https://discourse.paraview.org/t/trame-flow-demo-examples/17591 "2026-06-02T12:52:38Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![cfd\_payne](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/c/e68b1a/32.png) [@cfd\_payne](https://discourse.paraview.org/u/cfd_payne)
#### Post date: [June 2, 2026, 12:52pm UTC](https://discourse.paraview.org/t/trame-flow-demo-examples/17591/1 "2026-06-02T12:52:39Z")

</div>

Hello,

Got onto vue-flow and exploring trame-flow, this example python .\examples\serialization.py is rendering as below ..

 ![image](https://discourse.paraview.org/uploads/default/original/3X/b/b/bb88209de4d1d750e1044bf8de3098552e6798b8.png)

python .\examples\style.py

 ![image](https://discourse.paraview.org/uploads/default/original/3X/d/2/d24dc276e12e3765315e36d034ae27e657c224c4.png)

test.py also throws some error

> (.venv) PS C:\Users\user\trame-flow\> python .\examples\test.py  
> Traceback (most recent call last):  
> File “C:\Users\user\trame-flow\examples\test.py”, line 25, in  
> with vuetify.VContainer(fluid=True, classes=“pa-4”):  
> ^^^^^^^^^^^^^^^^^^  
> AttributeError: module ‘trame\_vuetify’ has no attribute ‘VContainer’  
> (.venv) PS C:\Users\user\trame-flow\> python .\examples\test.py  
> No server available for element v-btn  
> v-btn.state is missing  
> Traceback (most recent call last):  
> File “C:\Users\user\trame-flow\examples\test.py”, line 8, in  
> vuetify.VBtn(“Primary”, color=“primary”),  
> ~~~~~~~~~~~~ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
> File “C:\Users\user\trame-flow.venv\Lib\site-packages\trame\_vuetify\widgets\vuetify.py”, line 1678, in **init**  
> super(). **init** (“v-btn”, children, \*\*kwargs)  
> ~~~~~~~~~~~~~~~~ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
> File “C:\Users\user\trame-flow.venv\Lib\site-packages\trame\_vuetify\widgets\vuetify.py”, line 12, in **init**  
> super(). **init** (\_elem\_name, children, \*\*kwargs)  
> ~~~~~~~~~~~~~~~~ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
> File “C:\Users\user\trame-flow.venv\Lib\site-packages\trame\_client\widgets\core.py”, line 435, in **init**  
> super(). **init** (self.\_server, ctx\_name=ctx\_name)  
> ~~~~~~~~~~~~~~~~ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
> File “C:\Users\user\trame-flow.venv\Lib\site-packages\trame\_common\obj\component.py”, line 34, in **init**  
> self.\_bind\_annotated\_methods()  
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^^  
> File “C:\Users\user\trame-flow.venv\Lib\site-packages\trame\_common\obj\component.py”, line 62, in \_bind\_annotated\_methods  
> s\_translator = self.state.translator  
> ^^^^^^^^^^^^^^^^^^^^^  
> AttributeError: ‘NoneType’ object has no attribute ‘translator’

Can you provide png’s of how each example will finally render ?

---

<div class="post-metadata">

### Author: ![cfd\_payne](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/c/e68b1a/32.png) [@cfd\_payne](https://discourse.paraview.org/u/cfd_payne)
#### Post date: [June 2, 2026, 3:33pm UTC](https://discourse.paraview.org/t/trame-flow-demo-examples/17591/2 "2026-06-02T15:33:43Z")

</div>

> [@cfd\_payne](#):
>
> python .\examples\serialization.py

 ![image](https://discourse.paraview.org/uploads/default/original/3X/5/a/5a5bea4e9f8571eb47cded65bf43a2d7aab08ab6.png)

---

<div class="post-metadata">

### Author: ![corentin.munoz](https://discourse.paraview.org/user_avatar/discourse.paraview.org/corentin.munoz/32/16096_2.png) [@corentin.munoz](https://discourse.paraview.org/u/corentin.munoz)
#### Post date: [June 3, 2026, 7:58am UTC](https://discourse.paraview.org/t/trame-flow-demo-examples/17591/3 "2026-06-03T07:58:45Z")

</div>

Hi,

The serialization and the style examples should look like this:

 ![image](https://discourse.paraview.org/uploads/default/original/3X/1/9/19a3e5f9b690411e8e5f665e194a37bf2f044f08.jpeg)

 ![image](https://discourse.paraview.org/uploads/default/original/3X/2/3/23b2133bdc09bb32e2f5c74a3013996cd1b174ab.jpeg)

It seems that you didn’t build the vue component before installing the trame-flow python module. You can do it with:

```auto
    cd vue-components
    npm i
    npm run build

```

---

<div class="post-metadata">

### Author: ![cfd\_payne](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/c/e68b1a/32.png) [@cfd\_payne](https://discourse.paraview.org/u/cfd_payne)
#### Post date: [June 3, 2026, 11:55am UTC](https://discourse.paraview.org/t/trame-flow-demo-examples/17591/4 "2026-06-03T11:55:56Z")

</div>

I’ve followed the steps ..

> [@corentin.munoz](#):
>
> `npm i`

 ![image](https://discourse.paraview.org/uploads/default/original/3X/f/e/fec42f7e56168c81f5c693fad0dc076b678af6bf.png)

> [@corentin.munoz](#):
>
> ```auto
> npm run build
> 
> ```

```auto

```

 ![image](https://discourse.paraview.org/uploads/default/original/3X/5/7/5792e3da97cdb4a14f149207723977b270e5f8ec.png)

anything else that seems not trivial ..

---

<div class="post-metadata">

### Author: ![corentin.munoz](https://discourse.paraview.org/user_avatar/discourse.paraview.org/corentin.munoz/32/16096_2.png) [@corentin.munoz](https://discourse.paraview.org/u/corentin.munoz)
#### Post date: [June 3, 2026, 12:20pm UTC](https://discourse.paraview.org/t/trame-flow-demo-examples/17591/5 "2026-06-03T12:20:12Z")

</div>

There might be an issue with the css filename. Try to rename `./src/trame_flow/module/serve/trame_flow.css` to `./src/trame_flow/module/serve/style.css` and see if it works. I need to investigate this.

---

<div class="post-metadata">

### Author: ![cfd\_payne](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/c/e68b1a/32.png) [@cfd\_payne](https://discourse.paraview.org/u/cfd_payne)
#### Post date: [June 3, 2026, 12:25pm UTC](https://discourse.paraview.org/t/trame-flow-demo-examples/17591/6 "2026-06-03T12:25:43Z")

</div>

Yes renaming solved the issue ..Thanks for your support.

sometimes this would occur in vue-flow too when the _ **“style.css”** _ is not called from _ **“app.vue”** _

---

<div class="post-metadata">

### Author: ![corentin.munoz](https://discourse.paraview.org/user_avatar/discourse.paraview.org/corentin.munoz/32/16096_2.png) [@corentin.munoz](https://discourse.paraview.org/u/corentin.munoz)
#### Post date: [June 3, 2026, 12:34pm UTC](https://discourse.paraview.org/t/trame-flow-demo-examples/17591/7 "2026-06-03T12:34:58Z")

</div>

Great! Could you open an issue on [GitHub - Kitware/trame-flow · GitHub](https://github.com/Kitware/trame-flow) about this bug, please ? Don’t hesitate to include information to reproduce the issue, like your node and npm versions.

---

<div class="post-metadata">

### Author: ![cfd\_payne](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/c/e68b1a/32.png) [@cfd\_payne](https://discourse.paraview.org/u/cfd_payne)
#### Post date: [June 3, 2026, 12:36pm UTC](https://discourse.paraview.org/t/trame-flow-demo-examples/17591/8 "2026-06-03T12:36:49Z")

</div>

Sure .. what is the preferred channel .. will follow that to avoid redundant queries..

---

<div class="post-metadata">

### Author: ![corentin.munoz](https://discourse.paraview.org/user_avatar/discourse.paraview.org/corentin.munoz/32/16096_2.png) [@corentin.munoz](https://discourse.paraview.org/u/corentin.munoz)
#### Post date: [June 3, 2026, 12:45pm UTC](https://discourse.paraview.org/t/trame-flow-demo-examples/17591/9 "2026-06-03T12:45:49Z")

</div>

For trame issues related to ParaView, you can ask here. For other questions or issues, you can open issues or discussions on [GitHub - Kitware/trame: Trame lets you weave various components and technologies into a Web Application solely written in Python. · GitHub](https://github.com/Kitware/trame) or on a specific module repository (like [GitHub - Kitware/trame-flow · GitHub](https://github.com/Kitware/trame-flow)).
