Vilib' has no attribute 'img_array'

Hi
I’m trying to run gpt_chat.py on my pidog. However, I get an error

‘Vilib’ has no attribute ‘img_array’

I’m running this in a venv, the full dialog is copied below

(my_venv) robot@robot: $ python gpt_dog.py
vilib 0.3.9 launching …
picamera2 0.3.22
config_file: /home/robot/.config/pidog/pidog.conf
robot_hat init … done
imu_sh3001 init … done
rgb_strip init … done
dual_touch init … done
sound_direction init … done
sound_effect init … done
ultrasonic init … done
[0:26:07.819554458] [4041] ERROR IPAModule ipa_module.cpp:171 Symbol ipaModuleInfo not found
[0:26:07.819614439] [4041] ERROR IPAModule ipa_module.cpp:291 v4l2-compat.so: IPA module has no valid info

Web display on:
http://192.168.4.198:9000/mjpg

Starting web streaming …

  • Serving Flask app ‘vilib.vilib’
  • Debug mode: off

listening …
stt takes: 3.059 s
ERROR: type object ‘Vilib’ has no attribute ‘img_array’
camera close
Stopping and returning to the initial position …
Quit

All of the other basic_examples and examples in “pidog” work fine as do the examples on the vilib directory. I have also uninstalled and reinstalled vilib to be sure I’m using latest version, as can be seen in above dialog

vilib 0.3.9 launching …

Could you please advise?

Thanks

Please ignore! The problem was that my gpt_dog.py was an older version, not a vilib issue