# Croco pyvisu issue

**URL:** <https://forum.croco-ocean.org/t/croco-pyvisu-issue/318>\
**Category:** croco tools (pre/post-processing)\
**Tags:** python\
**Created:** [November 18, 2021, 5:34pm UTC](https://forum.croco-ocean.org/t/croco-pyvisu-issue/318 "2021-11-18T17:34:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![DJ1](https://forum.croco-ocean.org/letter_avatar_proxy/v4/letter/d/9d8465/32.png) [@DJ1](https://forum.croco-ocean.org/u/DJ1)\
**Post date:** [November 18, 2021, 5:34pm UTC](https://forum.croco-ocean.org/t/croco-pyvisu-issue/318/1 "2021-11-18T17:34:10Z")

</div>

Hi,

I am trying to use croco\_pyvisu, but I encountered an error. I wonder if anyone had the same error and solved the problem. By the way, I try to use croco\_pyvisu on a headless server. I installed X11 and other necessary software.

I followed the instruction in a manual.  
In the manual, it says all we need is to type

> > croco\_gui\_xarray.py

However, I had the following error.  
(croco\_gui\_xarray.py:624177): GLib-GIO-CRITICAL \*\*: 17:20:40.107: g\_loadable\_icon\_load: assertion ‘G\_IS\_LOADABLE\_ICON (icon)’ failed

(croco\_gui\_xarray.py:624177): Gtk-WARNING \*\*: 17:20:40.107: Error loading theme icon ‘gtk-cancel’ for stock: Failed to load icon

(croco\_gui\_xarray.py:624177): Gtk-CRITICAL \*\*: 17:20:40.107: render\_fallback\_image: assertion ‘pixbuf != NULL’ failed

(croco\_gui\_xarray.py:624177): GLib-GObject-CRITICAL \*\*: 17:20:40.107: g\_object\_ref: assertion ‘G\_IS\_OBJECT (object)’ failed

Also I had

FileNotFoundError: [Errno 2] No such file or directory: b’/home/datawork-croco/datarmor-only/TRAININGS/TRAINING\_2019/DATA/DATASETS\_PYVISU/croco\_his\_Y2008.nc’

The line specified is in croco\_wrapper.py, but I thought we don’t need to specify the file rather the app will ask users to select the file in GUI.

Thanks in advance.

-DJ

---

<div class="post-metadata">

**Author:** ![yxli](https://forum.croco-ocean.org/letter_avatar_proxy/v4/letter/y/35a633/32.png) [@yxli](https://forum.croco-ocean.org/u/yxli)\
**Post date:** [July 2, 2023, 7:53am UTC](https://forum.croco-ocean.org/t/croco-pyvisu-issue/318/2 "2023-07-02T07:53:06Z")

</div>

hello, I also meet a mistake when I setup a croco\_visu environment. I dont know how to use the “conda create --name toto --clone”. And when I input “croco\_gui\_xarray.py”, I encountered the “command not found” error

---

<div class="post-metadata">

**Author:** ![EricLSM](https://forum.croco-ocean.org/letter_avatar_proxy/v4/letter/e/6a8cbe/32.png) [@EricLSM](https://forum.croco-ocean.org/u/EricLSM)\
**Post date:** [November 13, 2023, 10:53pm UTC](https://forum.croco-ocean.org/t/croco-pyvisu-issue/318/3 "2023-11-13T22:53:01Z")

</div>

Hi yxli. I have your same problem. Did you solve it?
