Error loading Creality Cloud plugin

My logs give me this error. It happened over last night and didn't change or update anything since I printed something yesterday. The service won't load because of this error and wondering if there is a way to prevent it from loading. I really don't use creality cloud. This is not an install issue.

ERROR - Exception on /plugin/crealitycloud/status [GET]

TIA

Log entry

2023-12-25 14:41:18,264 - octoprint.environment - INFO - Detected environment is Python 3.9.2 under Linux (linux). Details:
| hardware:
| cores: 4
| freq: 1800.0
| ram: 3970777088
| os:
| bits: 32
| id: linux
| platform: linux
| plugins:
| pi_support:
| model: Raspberry Pi 4 Model B Rev 1.5
| octopi_camera_stack: webcamd
| octopi_version: 1.0.0
| octopiuptodate_build: 1.0.0-1.9.3-20231009151442
| octopiuptodate_build_short: 2023.10.09.151442
| throttle_check_enabled: true
| throttle_check_functional: true
| throttle_state: '0x0'
| python:
| pip: '22.3'
| version: 3.9.2
| virtualenv: /home/pi/oprint
2023-12-25 14:41:18,264 - octoprint.server - INFO - ------------------------------------------------------------------------------
2023-12-25 14:56:18,244 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2023-12-25 15:11:18,245 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2023-12-25 15:12:34,586 - octoprint.server.util.sockjs - INFO - New connection from client: ::ffff:192.168.0.81
2023-12-25 15:12:50,793 - octoprint.access.users - INFO - Cleaning up user session 9A2F634F6FFB485EBAC626BE75538F23 for user crayonsindflat
2023-12-25 15:12:50,793 - octoprint.access.users - INFO - Logged out user: crayonsindflat
2023-12-25 15:12:51,170 - octoprint.access.users - INFO - Logged in user: crayonsindflat
2023-12-25 15:12:51,171 - octoprint.server.api - INFO - Actively logging in user crayonsindflat from ::ffff:192.168.0.81
2023-12-25 15:12:51,498 - octoprint.server.util.flask - INFO - Passively logging in user crayonsindflat from ::ffff:192.168.0.81
2023-12-25 15:12:51,499 - octoprint.access.users - INFO - Logged in user: crayonsindflat
2023-12-25 15:12:51,558 - octoprint.server.util.sockjs - INFO - Client connection closed: ::ffff:192.168.0.81
2023-12-25 15:12:52,554 - octoprint - ERROR - Exception on /plugin/crealitycloud/status [GET]
Traceback (most recent call last):
File "/home/pi/oprint/lib/python3.9/site-packages/flask/app.py", line 2529, in wsgi_app
response = self.full_dispatch_request()
File "/home/pi/oprint/lib/python3.9/site-packages/flask/app.py", line 1825, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/pi/oprint/lib/python3.9/site-packages/flask/app.py", line 1823, in full_dispatch_request
rv = self.dispatch_request()
File "/home/pi/oprint/lib/python3.9/site-packages/flask/app.py", line 1799, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
File "/home/pi/oprint/lib/python3.9/site-packages/octoprint/vendor/flask_principal.py", line 196, in _decorated
rv = f(*args, **kw)
File "/home/pi/oprint/lib/python3.9/site-packages/octoprint_crealitycloud/init.py", line 122, in get_status
return {"actived": 0, "iot": False, "printer": False, "country": country}
UnboundLocalError: local variable 'country' referenced before assignment

Try this :slight_smile:

I uninstall the offending "reported" plugin. I also removed the webcam but the service wont restart.

Here is what is at the last bit of the log file:

serial.serialutil.SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?)
2023-12-26 00:16:37,498 - octoprint.util.comm - ERROR - Please see OctoPrint randomly loses connection to the printer with a "SerialException" - FAQ - OctoPrint Community Forum for possible reasons of this.
2023-12-26 00:16:37,512 - octoprint.util.comm - INFO - Changing monitoring state from "Operational" to "Offline after error"
2023-12-26 00:16:37,533 - octoprint.server - INFO - Starting autorefresh of serial port list
2023-12-26 00:16:37,540 - octoprint.plugins.action_command_notification - INFO - Notifications cleared
2023-12-26 00:16:37,554 - octoprint.server - INFO - Serial port list was updated, refreshing the port list in the frontend

Does the bolded area mean anything in relation to this? I used to turn off my printer and let octoprint run, then when I needed it I would reconnect after turning the printer on. This worked for sometime and just stopped working today. I've changed the setting for autoconnect a bunch of times to not connect and it never stuck.

No. The bolded area just means that there was an issue with the connection to the printer.
We can look into that later, because that's definitely no the reason why OctoPrint isn't starting up - it means quite the opposite:
Auto connecting to the printer should happen pretty much after start up.

Please upload a system info bundle.

I tried running the cli command to get the system info bundle. It fails with Segmentation Error. I swapped the 4GB pi out with an 8GB pi but no improvement. I'm contemplating flashing a new octo-pi.