Why am I seeing these traceback and Python related warnings after I installed Ubuntu
When I turn on my computer I always see this notification in a big window, but I don't know how to fix this.
I've tried several times to fix this, but the problem remains and I don't know what else to do.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/dbus/service.py", line 711, in _message_cb
retval = candidate_method(self, *args, **keywords)
File "/usr/lib/python3/dist-packages/DellLinuxAssistant/telemetry/dbus_backend.py", line 375, in deal_message
QueueMessageClient(self.config, self.scheduler).LogLogMetricEvent("FRONTEND", "Dell Linux Assistant closes")
File "/usr/lib/python3/dist-packages/DellLinuxAssistant/telemetry/telemetry_common.py", line 300, in wrapper
return func(*args, **kw)
File "/usr/lib/python3/dist-packages/DellLinuxAssistant/telemetry/queue_message_client.py", line 107, in LogLogMetricEvent
return self.triggerSend(filePath, header, Schedule)
File "/usr/lib/python3/dist-packages/DellLinuxAssistant/telemetry/queue_message_client.py", line 51, in triggerSend
job = self.scheduler.add_interval_job(MessageHelper(self.configure).SendEvent, minutes=1, start_date=datetime.now()+timedelta(seconds=1), args=[filePath, header], max_runs=1)
File "/usr/lib/python3/dist-packages/ApschedulerStandalone/scheduler.py", line 347, in add_interval_job
return self.add_job(trigger, func, args, kwargs, **options)
File "/usr/lib/python3/dist-packages/ApschedulerStandalone/scheduler.py", line 285, in add_job
if not self.running:
File "/usr/lib/python3/dist-packages/ApschedulerStandalone/scheduler.py", line 148, in running
thread_alive = self._thread and self._thread.isAlive()
AttributeError: 'Thread' object has no attribute 'isAlive'
The error message you see here comes from “Dell Linux Assistant”, which is apparently some software that Dell has decided to preinstall on machines that ship with Ubuntu.
The error is the result of a breaking change in Python 3.9. Dell Linux Assistant is not compatible with Python 3.9. You most likely got Python 3.9 when you upgraded to Ubuntu 21.10.
There are basically two ways forward:
- Contact Dell Support and have them provide an updated version of the software
- Remove the software
To remove it, according to this answer, run the following from a terminal window:
sudo apt remove dell-recovery dell-linux-assistant
You will have to enter your user’s password when prompted.
You could also attempt to just prevent the software from starting automatically, but I have no information how it starts in the first place.