Cant launch SiCKRAGE

Hi!

Seems I´m having some issues with SiCKRAGE again… This is what the log is showing. I tried installing all requierments again but they are all already satisfied. Any clues on what I should do.

Traceback (most recent call last):
File “/home/pi/.sickrage/sickrage/init.py”, line 330, in main
from sickrage.core import Core
File “/home/pi/.sickrage/sickrage/core/init.py”, line 48, in
from sickrage.core.amqp.consumer import AMQPConsumer
File “/home/pi/.sickrage/sickrage/core/amqp/consumer.py”, line 28, in
from sickrage.core.amqp.protos.announcement_v1_pb2 import CreatedAnnouncementResponse, DeletedAnnouncementResponse
File “/home/pi/.sickrage/sickrage/core/amqp/protos/announcement_v1_pb2.py”, line 21, in
_CREATEDANNOUNCEMENTRESPONSE = DESCRIPTOR.message_types_by_name[‘CreatedAnnouncementResponse’]
AttributeError: ‘NoneType’ object has no attribute ‘message_types_by_name’

Thanks in advance!

If this is on Synology, there is a new release out that resolves this.

Nope, this is from a raspberry pi 4, unfortunately.

even easier then, just run the following command pip install -U protobuf and then restart SR
let me know how it goes please :slight_smile:

Hi echel0n! Same error. :frowning:

Ran the command you recommended first with no improvment, ran pip3 install -U protobuf which resulted in the following:

sickrage.service - SickRage Daemon
Loaded: loaded (/etc/systemd/system/sickrage.service; enabled; vendor preset: enabled)
Active: inactive (dead) since Thu 2022-03-10 19:51:59 CET; 2min 43s ago
Process: 739 ExecStart=/usr/bin/python3 /home/pi/.sickrage/SiCKRAGE.py -q --daemon --nolaunch --datadir=/home/pi/.sickrage (code=exited, status=0/SUCCESS)
CPU: 5.996s

Mar 10 19:51:59 Rasp-1 python3[739]: from sickrage.core.amqp.consumer import AMQPConsumer
Mar 10 19:51:59 Rasp-1 python3[739]: File “/home/pi/.sickrage/sickrage/core/amqp/consumer.py”, line 28, in
Mar 10 19:51:59 Rasp-1 python3[739]: from sickrage.core.amqp.protos.announcement_v1_pb2 import CreatedAnnouncementResponse, DeletedAnnouncementResponse
Mar 10 19:51:59 Rasp-1 python3[739]: File “/home/pi/.sickrage/sickrage/core/amqp/protos/announcement_v1_pb2.py”, line 21, in
Mar 10 19:51:59 Rasp-1 python3[739]: _CREATEDANNOUNCEMENTRESPONSE = DESCRIPTOR.message_types_by_name[‘CreatedAnnouncementResponse’]
Mar 10 19:51:59 Rasp-1 python3[739]: AttributeError: ‘NoneType’ object has no attribute ‘message_types_by_name’
Mar 10 19:51:59 Rasp-1 python3[739]: Updating requirement protobuf to 3.17.3
Mar 10 19:51:59 Rasp-1 systemd[1]: sickrage.service: Succeeded.
Mar 10 19:51:59 Rasp-1 systemd[1]: Started SickRage Daemon.
Mar 10 19:51:59 Rasp-1 systemd[1]: sickrage.service: Consumed 5.996s CPU time.

How did you install SR on your Rasp ?

are you on the latest version of SR ?

protobuf should be at version 3.19.4 which is what the latest version of SR is using to resolve this issue, if SR is installed via GIT then I suggest performing a git pull and trying again.

Works like a charm after the git pull, but shouldnt this be updated when updating SR?

the update prior to the last one was missing the updated requirement, during testing on my end I did not see this issue, it was actually brought to my attention by a Synology user, I corrected it and re-released.