LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 08-19-2022, 05:34 AM   #1
Chris Watts
Member
 
Registered: May 2016
Location: Dorking, Surrey, England
Distribution: Ubuntu 22.04.1 LTS
Posts: 40

Rep: Reputation: Disabled
Difficulty on starting Ubuntu 22.04.1


I have just upgraded to Ubuntu 22.04.01.
Turning on my laptop never starts Ubuntu immediately. Eventually (after several tries) I get a list of things to so, with Ubuntu at the top, so I select that and Ubuntu does open, but what worries and may explain my difficulties, if only I could understand it, is a warning message which always comes up. This reads as follows:

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/dbus/service.py", line 715, 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'

Something is going wrong. Can I fix it? Once Ubuntu is up and running everything seems to work OK, so it isn't the end of the world, but it is a nuisance and a waste of time and clearly something is going wrong.
 
Old 08-19-2022, 04:24 PM   #2
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,137
Blog Entries: 6

Rep: Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826
You have some python that is producing errors. What is running that?

Quote:
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'
Have you been installing modules with pip? Or are you partially updated? Did you install something outside of your package manager?

https://packages.ubuntu.com/source/b...sc/apscheduler

Appears to be in threading

https://www.codecademy.com/resources...ading/is-alive
https://python.hotexamples.com/examp...-examples.html

There is no way to tell from looking at that. A python script/application has to have all imports installed, and they need to match.
 
Old 08-20-2022, 04:05 AM   #3
Chris Watts
Member
 
Registered: May 2016
Location: Dorking, Surrey, England
Distribution: Ubuntu 22.04.1 LTS
Posts: 40

Original Poster
Rep: Reputation: Disabled
This only started happening after I upgraded, which I did at the suggestion of Software Updater. It began as soon as I restarted after the upgrade, so it can't be caused by anything I installed. If that argument is fallacious, please let me know.
I tried running Software Updater and it assured me that everything was up to date.
According to the codeacademy.com site you sent the link to, a Thread object should have an attribute "is_alive" whereas the warning notice complains about there not being "isAlive".
I'm a bit wary (read "scared stiff") of altering something I didn't write and don't understand, but presumably scheduler stops dead when it detects the error, so I wouldn't have broken anything much.
What do you think I should do? I'm out of my depth here.
 
Old 08-20-2022, 09:47 AM   #4
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,137
Blog Entries: 6

Rep: Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826
Software Updater.

Is that software updater set to check for updates every time you boot the machine? Turn that auto updating off.

I don't know how that ubuntu updater works. Maybe someone else does. Or is that part of a desktop environment? Like Gnome.

Quote:
Eventually (after several tries) I get a list of things to so, with Ubuntu at the top, so I select that and Ubuntu does open,
Is that the bootloader that you are talking about? Or something else.

https://wiki.ubuntu.com/SoftwareUpda..._automatically
https://wiki.ubuntu.com/SoftwareUpdates
 
Old 08-21-2022, 02:42 AM   #5
Chris Watts
Member
 
Registered: May 2016
Location: Dorking, Surrey, England
Distribution: Ubuntu 22.04.1 LTS
Posts: 40

Original Poster
Rep: Reputation: Disabled
You can set it to check for updates every day, every two days, every week, every fortnight or never.
I've changed from every day to every two days to see if that makes a difference. Not yet, obviously.
If it doesn't make a difference I'll try never and run it by hand for a few days.
 
Old 08-21-2022, 03:45 AM   #6
drlv
LQ Newbie
 
Registered: Aug 2022
Posts: 4

Rep: Reputation: 0
I'm not much of a programmer, but based on this post in the Dell Community forum (link in the post below), it seems to be related to a python (version?) mismatch in the Dell Linux Assistant and/or Dell Recovery.

What do you think?
 
Old 08-21-2022, 03:45 AM   #7
drlv
LQ Newbie
 
Registered: Aug 2022
Posts: 4

Rep: Reputation: 0
https://www.dell.com/community/Linux...S/td-p/8242818
 
Old 08-21-2022, 04:52 AM   #8
drlv
LQ Newbie
 
Registered: Aug 2022
Posts: 4

Rep: Reputation: 0
Looking around made me think that the solution should be installing / upgrading the somerville-dla-team ppa

Unfortunately, it didn't work for me (yet?), but I base this suggestion on these posts:

In askUbuntu
In SuperUser
 
Old 08-21-2022, 09:09 AM   #9
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,137
Blog Entries: 6

Rep: Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826
Thanks for the post. I did not know about that.

https://linux.dell.com/repo/hardware/dsu/
https://www.dell.com/support/kbdoc/e...tem-update-dsu
https://linux.dell.com/repo/hardware/omsa.html

Makes me wonder why Ubuntu is using this.
 
Old 08-24-2022, 09:45 AM   #10
Chris Watts
Member
 
Registered: May 2016
Location: Dorking, Surrey, England
Distribution: Ubuntu 22.04.1 LTS
Posts: 40

Original Poster
Rep: Reputation: Disabled
Thanks drlv
Unfortunately, it didn't work for me (yet?),

Nor me. If you find a tweak that does work, please let me know. I think we're getting close.
If it doesn't get mended, perhaps I'll follow the suggestion to delete the Dell Linux assistant. Since it doesn't seem to be working it won't be a great loss.

Last edited by Chris Watts; 08-24-2022 at 09:52 AM.
 
Old 09-04-2022, 02:34 AM   #11
drlv
LQ Newbie
 
Registered: Aug 2022
Posts: 4

Rep: Reputation: 0
Quote:
Originally Posted by Chris Watts View Post
Nor me. If you find a tweak that does work, please let me know. I think we're getting close.
If it doesn't get mended, perhaps I'll follow the suggestion to delete the Dell Linux assistant. Since it doesn't seem to be working it won't be a great loss.
Unfortunately I had several issues with the upgrade to Ubuntu 22.04 so I ditched it altogether and moved to Fedora ¯\_(ツ)_/¯
 
Old 09-18-2022, 06:13 AM   #12
Chris Watts
Member
 
Registered: May 2016
Location: Dorking, Surrey, England
Distribution: Ubuntu 22.04.1 LTS
Posts: 40

Original Poster
Rep: Reputation: Disabled
I just received an update to Dell-linux-assistant. Looks as if it worked.
 
Old 09-21-2022, 09:57 PM   #13
dna9
Member
 
Registered: Nov 2004
Location: Colorado
Distribution: Ubuntu mostly...
Posts: 100

Rep: Reputation: 28
Quote:
Originally Posted by Chris Watts View Post
This only started happening after I upgraded, which I did at the suggestion of Software Updater. It began as soon as I restarted after the upgrade, so it can't be caused by anything I installed. If that argument is fallacious, please let me know.
I tried running Software Updater and it assured me that everything was up to date.
According to the codeacademy.com site you sent the link to, a Thread object should have an attribute "is_alive" whereas the warning notice complains about there not being "isAlive".
I'm a bit wary (read "scared stiff") of altering something I didn't write and don't understand, but presumably scheduler stops dead when it detects the error, so I wouldn't have broken anything much.
What do you think I should do? I'm out of my depth here.
i too upgraded from 20.04 to 22.04. never again. i always do fresh installs. a lot of buggy stuff has happened since then. maybe it's a dell firmware issue on the mother board.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
When Centos 6.3 starting,All services starting OK and starting Atd: OK .And stop scr. DeSouffle Linux - General 4 08-29-2013 12:46 AM
[SOLVED] Difficulty starting new Postgres install on SLES11 Mark_667 Linux - Software 2 12-01-2011 04:22 AM
[SOLVED] Starting File System .. Starting File System .. Starting File System .. Starting File rmknox Linux - Newbie 3 08-15-2010 11:30 PM
Difficulty connecting Ubuntu to XP via ethernet hacker supreme Linux - Networking 4 11-01-2006 07:18 AM
difficulty starting proftpd exodist Linux - Software 1 08-22-2004 05:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 11:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration