logi z terminala:
[redve@redve garnuch]$ python3 garnuch.py
video - skipping it
Next page
Traceback (most recent call last):
File "/home/redve/Programs/garnuch/Domain/Api/ApiAdapter.py", line 26, in loadMeme
meme = next(self.memes)
StopIteration
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/redve/Programs/garnuch/Domain/Api/ApiAdapter.py", line 28, in loadMeme
self.api.nextPage()
File "/home/redve/Programs/garnuch/Domain/Api/Jbzdy/ApiJbzdy.py", line 25, in nextPage
nextPageUrl = page.find('div', attrs={'class': 'pagination-buttons'}).find('a', attrs={'class': 'pagination-next'})['href']
AttributeError: 'NoneType' object has no attribute 'find'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/redve/Programs/garnuch/Domain/View/MemeView.py", line 103, in endOfBarDetection
self.loadMemes()
File "/home/redve/Programs/garnuch/Domain/View/MemeView.py", line 113, in loadMemes
Thread(target=self.apiAdapter.loadMeme).run()
File "/usr/lib/python3.9/threading.py", line 910, in run
self._target(*self._args, **self._kwargs)
File "/home/redve/Programs/garnuch/Domain/Api/ApiAdapter.py", line 32, in loadMeme
self.memeLoaded.emit(meme)
UnboundLocalError: local variable 'meme' referenced before assignment
Aborted (core dumped)
[redve@redve garnuch]$