onuratakan / gpt-computer-assistant

gpt-4o for windows, macos and linux
MIT License
4.75k stars 441 forks source link

Bug: object has no attribute 'should_paint' #60

Closed Wandalen closed 3 weeks ago

Wandalen commented 4 weeks ago

Hello! I have issue with

  File "C:\Users\kosli\AppData\Roaming\Python\Python312\site-packages\gpt_computer_assistant\gpt_computer_assistant.py", line 226, in paintEvent
    if not self.should_paint:
           ^^^^^^^^^^^^^^^^^
AttributeError: 'MainWindow' object has no attribute 'should_paint'

How to fix that? Do I miss something?

onuratakan commented 4 weeks ago

Hi can you upgrade?

pip3 install gpt-computer-assistant --upgrade

onuratakan commented 4 weeks ago

@Wandalen Is it fixed?

Wandalen commented 4 weeks ago

Tried to do that, but that didn't help.

image

onuratakan commented 4 weeks ago

Actualy pip doesnt upgrade in the first time of run. Please run again the update command. or

pip3 install gpt-computer-assistant==0.8.9
BenjaminMichaelis commented 4 weeks ago

I am getting this error as well

vietnguyengit commented 4 weeks ago

Eventually, everyone starting this project from scratch will encounter this issue. Dependencies defined in requirements.txt left unpinned can lead to conflicts, especially with dependencies of dependencies. Project owners should consider implementing a better dependency management tool such as poetry, check out the following sample: https://github.com/openai/openai-python/blob/main/pyproject.toml

Mideky-hub commented 3 weeks ago

@onuratakan that was fixed in my patch