# V2 sunfounder APP does not work for pi zero 2W

**URL:** <https://forum.sunfounder.com/t/v2-sunfounder-app-does-not-work-for-pi-zero-2w/4115>\
**Category:** General\
**Created:** [December 17, 2025, 5:40pm UTC](https://forum.sunfounder.com/t/v2-sunfounder-app-does-not-work-for-pi-zero-2w/4115 "2025-12-17T17:40:16Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![kienchen](https://avatars.discourse-cdn.com/v4/letter/k/aeb1de/32.png) [@kienchen](https://forum.sunfounder.com/u/kienchen)\
**Post date:** [December 17, 2025, 5:40pm UTC](https://forum.sunfounder.com/t/v2-sunfounder-app-does-not-work-for-pi-zero-2w/4115/1 "2025-12-17T17:40:16Z")

</div>

kienchen@raspberrypi:~/sunfounder-controller $ cd ~/picar-x/example  
sudo python3 12.app\_control.py  
vilib 0.3.18 launching …  
picamera2 0.3.33  
websocket server start at port 8765  
pinctrl set 20 op dh  
ip : 192.168.1.17

Web display on:  
eth0: error fetching interface information: Device not found

[http://192.168.1.17:9000/mjpg](http://192.168.1.17:9000/mjpg)

Starting web streaming …  
client (0, ‘192.168.1.14’) conneted

- Serving Flask app ‘vilib.vilib’

- Debug mode: off  
stop and exit  
Traceback (most recent call last):  
File “/home/kienchen/picar-x/example/12.app\_control.py”, line 221, in  
main()

File “/home/kienchen/picar-x/example/12.app\_control.py”, line 191, in main  
pan = min(90, max(-90, Joystick\_Q\_Val[0]))  
~~~~~~~~~~~~~~ ^^^  
TypeError: ‘int’ object is not subscriptable

---

<div class="post-metadata">

**Author:** ![SunFounder\_Moderator](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@SunFounder\_Moderator](https://forum.sunfounder.com/u/SunFounder_Moderator)\
**Post date:** [December 19, 2025, 6:17am UTC](https://forum.sunfounder.com/t/v2-sunfounder-app-does-not-work-for-pi-zero-2w/4115/2 "2025-12-19T06:17:49Z")

</div>

We have conducted testing and verification, and the APP example can run normally.

We recommend checking if the WiFi network is functioning properly. We suggest restarting the system and then running the APP example again to see if it works.

If possible, we also recommend trying a different WiFi network to check its performance.

only@raspberrypi:~ $ cd ~/picar-x/example

only@raspberrypi:~/picar-x/example $ sudo python3 [12.app\_control.py](http://12.app_control.py)

vilib 0.3.18 launching …

picamera2 0.3.33

websocket server start at port 8765

pinctrl set 20 op dh

ip : [192.168.18.95](http://192.168.18.95)

Web display on:

[http://192.168.18.95:9000/mjpg](http://192.168.18.95:9000/mjpg)

Starting web streaming …

ALSA lib pcm.c:8772:(snd\_pcm\_recover) underrun occurred

\* Serving Flask app ‘vilib.vilib’

\* Debug mode: off

---

<div class="post-metadata">

**Author:** ![kienchen](https://avatars.discourse-cdn.com/v4/letter/k/aeb1de/32.png) [@kienchen](https://forum.sunfounder.com/u/kienchen)\
**Post date:** [December 19, 2025, 7:27pm UTC](https://forum.sunfounder.com/t/v2-sunfounder-app-does-not-work-for-pi-zero-2w/4115/3 "2025-12-19T19:27:30Z")

</div>

I don’t think this is a WIFI issue, keyborad, calibration and move app use the same WIFI without any problem.

This should be a python package issue. I reinstall the os 64 bits and 32 bits, sunfounder picar -x v2, and all have the same error.

---

<div class="post-metadata">

**Author:** ![SunFounder\_Moderator](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@SunFounder\_Moderator](https://forum.sunfounder.com/u/SunFounder_Moderator)\
**Post date:** [December 22, 2025, 6:15am UTC](https://forum.sunfounder.com/t/v2-sunfounder-app-does-not-work-for-pi-zero-2w/4115/4 "2025-12-22T06:15:45Z")

</div>

What version of the Raspberry Pi system are you currently using?  
Please execute the cat /etc/os-release command and provide us with the printed output for confirmation.

Please also verify whether all library codes are installed correctly and are located in the same directory path.  
Based on the screenshot you provided earlier, it appears that sunfounder-controller is not in the same directory path as robot-hat, vilib, and picar-x. The correct setup requires sunfounder-controller to be in the same top-level directory as robot-hat, vilib, and picar-x.

Therefore, when downloading and installing all library codes, we recommend that you copy and paste the download and installation commands directly from our tutorial.

---

<div class="post-metadata">

**Author:** ![kienchen](https://avatars.discourse-cdn.com/v4/letter/k/aeb1de/32.png) [@kienchen](https://forum.sunfounder.com/u/kienchen)\
**Post date:** [December 22, 2025, 4:56pm UTC](https://forum.sunfounder.com/t/v2-sunfounder-app-does-not-work-for-pi-zero-2w/4115/5 "2025-12-22T16:56:52Z")

</div>

my os info as follows:

cat /etc/os-release  
PRETTY\_NAME=“Debian GNU/Linux 13 (trixie)”  
NAME=“Debian GNU/Linux”  
VERSION\_ID=“13”  
VERSION=“13 (trixie)”  
VERSION\_CODENAME=trixie  
DEBIAN\_VERSION\_FULL=13.2  
ID=debian  
HOME\_URL=“[https://www.debian.org/”](https://www.debian.org/%E2%80%9D)  
SUPPORT\_URL=“[https://www.debian.org/support”](https://www.debian.org/support%E2%80%9D)

under install root directory

ls  
Desktop Downloads picar-x Public save Templates vilib  
Documents Music Pictures robot-hat sunfounder-controller Videos

---

<div class="post-metadata">

**Author:** ![SunFounder\_Moderator](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@SunFounder\_Moderator](https://forum.sunfounder.com/u/SunFounder_Moderator)\
**Post date:** [December 24, 2025, 7:59am UTC](https://forum.sunfounder.com/t/v2-sunfounder-app-does-not-work-for-pi-zero-2w/4115/6 "2025-12-24T07:59:19Z")

</div>

It looks like we may have identified the issue. The error indicates that the value read from the “Q” position of the SunFounder Controller is a number instead of a list, causing a parsing error.

To help us confirm, could you please check the following:

Have you modified the control interface of the SunFounder Controller?

Are you using a control page from another robot model, which might be sending data in a different format?

It would be very helpful if you could provide a screenshot of the control page on your phone’s SunFounder Controller app.

In the meantime, we have improved the code’s error-handling to prevent such parsing issues from causing the program to crash completely.

You can apply the fix by updating your code:

cd ~/picar-x  
git pull

Alternatively, you can re-download the entire repository:

rm -rf ~/picar-x  
git clone -b 2.1.x [GitHub - sunfounder/picar-x](https://github.com/sunfounder/picar-x.git)

---

<div class="post-metadata">

**Author:** ![kienchen](https://avatars.discourse-cdn.com/v4/letter/k/aeb1de/32.png) [@kienchen](https://forum.sunfounder.com/u/kienchen)\
**Post date:** [December 24, 2025, 10:24pm UTC](https://forum.sunfounder.com/t/v2-sunfounder-app-does-not-work-for-pi-zero-2w/4115/7 "2025-12-24T22:24:06Z")

</div>

thanks for the supports. I did not modify the control interface of the SunFounder Controller.  
on my Linux host, after your suggestion to refresh the picar-x

cd ~/picar-x  
git pull

re run 12.app\_control.py, the previous error disappear, and works fine now.

however my IOS APP interface does not show “Picar-X” icon as the document, but only “pico 4WD Car V2” icon  
I used

cd ~/picar-x/example  
sudo python3 12.app\_control.py  
vilib 0.3.18 launching …  
picamera2 0.3.33  
websocket server start at port 8765  
pinctrl set 20 op dh  
ip : 192.168.1.17

Web display on:  
eth0: error fetching interface information: Device not found  
[http://192.168.1.17:9000/mjpg](http://192.168.1.17:9000/mjpg)

Starting web streaming …

- Serving Flask app ‘vilib.vilib’
- Debug mode: off  
client (0, ‘192.168.1.14’) conneted  
client (1, ‘192.168.1.8’) conneted  
send Exception: received 1005 (no status received [internal]); then sent 1005 (no status received [internal])  
1: received 1005 (no status received [internal]); then sent 1005 (no status received [internal])  
client (1, ‘192.168.1.8’) disconneted

regards,  
kelivn

> **(attachments)**
>
> ![picar_app.jpg](https://canada1.discourse-cdn.com/flex029/uploads/sunfounder/original/2X/7/70c3e0dce7c2e18455b066ab5034ea6d1a61c901.jpeg)

---

<div class="post-metadata">

**Author:** ![SunFounder\_Moderator](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@SunFounder\_Moderator](https://forum.sunfounder.com/u/SunFounder_Moderator)\
**Post date:** [December 25, 2025, 9:23am UTC](https://forum.sunfounder.com/t/v2-sunfounder-app-does-not-work-for-pi-zero-2w/4115/8 "2025-12-25T09:23:11Z")

</div>

The pre-set controller for PiCar-X is still there. You need to swipe left to see it. Because there are many projects, the pre-set PiCar-X controller has been pushed to the right side.
