Jeffser / Alpaca

An Ollama client made with GTK4 and Adwaita
GNU General Public License v3.0
116 stars 18 forks source link

0.9.4 | After update from 0.9.3 getting NoneType error #91

Closed BadKiko closed 3 weeks ago

BadKiko commented 3 weeks ago

Describe the bug Getting error after updating from 0.9.3 (flatpak) Traceback (most recent call last): File "/app/share/Alpaca/alpaca/main.py", line 42, in do_activate win = AlpacaWindow(application=self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/share/Alpaca/alpaca/window.py", line 1162, in init update_history.update(self) File "/app/share/Alpaca/alpaca/update_history.py", line 19, in update if 'images' in message: ^^^^^^^^^^^^^^^^^^^ TypeError: argument of type 'NoneType' is not iterable

BadKiko commented 3 weeks ago

Try to update to new version after rollback and get this error xD

BadKiko commented 3 weeks ago

After completely uninstalling and reinstalling everything was fine, but I think the transition from the old version of the story to the new one needs to be improved.

Jeffser commented 3 weeks ago

Yeah there might be a problem there, I'll try to replicate this

BadKiko commented 3 weeks ago

I think I can solve this and will make a pull request soon

Jeffser commented 3 weeks ago

I'll do it don't worry about it

BadKiko commented 3 weeks ago

ok <3

Jeffser commented 3 weeks ago

This should fix it

Jeffser commented 3 weeks ago

it skips the message if message is None