Update Manager crashes or freezes

Post your bugs here.
User avatar
Litux1516
Posts: 26
Joined: 08 Aug 2013 20:07

Updatemanager freezes

Postby Litux1516 » 08 Aug 2013 20:23

Hello guys, I'm new in the forum.
First at all, I would like to say THANK YOU for such amazing work with SolydK.

Second, I updated the updatemanager trough apt-get, now when I run updatemanager always get this error:

Code: Select all

-- Exception occured in the refresh thread: 'NoneType' object has no attribute 'show'
and the updatemanager freezes.

Any ideas?
Laptop Toshiba Satellite P850-30W
Quad core Intel Core i7-3610QM @ 2.9GHz - 8 GB RAM - 256 GB SSD Vertex 4
Card-1: Intel 3rd Gen Core processor Graphics Controller
Card-2: NVIDIA GK107M [GeForce GT 640M]
SolydK 64 Production

User avatar
Arjen Balfoort
Site Admin
Posts: 9396
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Updatemanager freezes

Postby Arjen Balfoort » 08 Aug 2013 20:35

Hi Litux1516, and welcome to our forum!

Can you try purging en reinstalling updatemanager first:

Code: Select all

sudo apt-get update
sudo apt-get purge updatemanager
sudo apt-get install updatemanager
If that doesn't work, please post back the output of these commands:

Code: Select all

apt-cache policy updatemanager
cat /etc/apt/sources.list


SolydXK needs you!
Development | Testing | Translations

User avatar
Litux1516
Posts: 26
Joined: 08 Aug 2013 20:07

Re: Updatemanager freezes

Postby Litux1516 » 08 Aug 2013 21:03

Hi, event thought I'm new in the forum, I use debian since 5.0 jejeje so I already try to purge it, anyway:

Code: Select all

apt-cache policy updatemanager
updatemanager:
  Installed: 1.2.4
  Candidate: 1.2.4
  Version table:
 *** 1.2.4 0
        700 http://packages.solydxk.com/ solydxk/main amd64 Packages
        100 /var/lib/dpkg/status
and

Code: Select all

cat /etc/apt/sources.list

deb http://packages.solydxk.com/ solydxk main upstream import community kdenext
deb http://debian.solydxk.com/production testing main contrib non-free
deb http://debian.solydxk.com/production/multimedia testing main non-free
deb http://debian.solydxk.com/security testing/updates main contrib non-free
I guest that is something related to a one library, but then when I try the launcher, I got this

Code: Select all

updatemanager-launcher 
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
>>>> RefreshThread
>>>> AutomaticRefreshThread
-- Exception occured in the refresh thread: 'NoneType' object has no attribute 'set_cursor'
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 808, in __bootstrap_inner
    self.run()
  File "/usr/lib/solydxk/updatemanager/threadClasses.py", line 578, in run
    self.window.window.set_cursor(None)
AttributeError: 'NoneType' object has no attribute 'set_cursor'
Perhaps there is a dependency incomplete, I don't know.
thanks for your time.
Laptop Toshiba Satellite P850-30W
Quad core Intel Core i7-3610QM @ 2.9GHz - 8 GB RAM - 256 GB SSD Vertex 4
Card-1: Intel 3rd Gen Core processor Graphics Controller
Card-2: NVIDIA GK107M [GeForce GT 640M]
SolydK 64 Production

User avatar
Arjen Balfoort
Site Admin
Posts: 9396
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Updatemanager freezes

Postby Arjen Balfoort » 09 Aug 2013 07:03

Thanks for your feedback.
Today I won't have time, but I'll look into it tomorrow.


SolydXK needs you!
Development | Testing | Translations

User avatar
Arjen Balfoort
Site Admin
Posts: 9396
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Updatemanager freezes

Postby Arjen Balfoort » 09 Aug 2013 19:32

I cannot reproduce your issue. So, you might have a missing package.
Could you run this command:

Code: Select all

apt search ^python | grep ^i > pythonpackages.txt
and attach the generated file pythonpackages.txt here.


SolydXK needs you!
Development | Testing | Translations

User avatar
Litux1516
Posts: 26
Joined: 08 Aug 2013 20:07

Re: Updatemanager freezes

Postby Litux1516 » 09 Aug 2013 20:01

Here you have :)
Attachments
pythonpackages.txt
(10.52 KiB) Downloaded 100 times
Laptop Toshiba Satellite P850-30W
Quad core Intel Core i7-3610QM @ 2.9GHz - 8 GB RAM - 256 GB SSD Vertex 4
Card-1: Intel 3rd Gen Core processor Graphics Controller
Card-2: NVIDIA GK107M [GeForce GT 640M]
SolydK 64 Production

User avatar
Arjen Balfoort
Site Admin
Posts: 9396
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Updatemanager freezes

Postby Arjen Balfoort » 09 Aug 2013 23:50

Hmmm...you have a lot more python packages installed than I have.
At first glance I can't see anything strange, but I'll post mine here as well so you can check it yourself.
Attachments
pythonpackages.txt
(6.72 KiB) Downloaded 99 times


SolydXK needs you!
Development | Testing | Translations

User avatar
stelios
Posts: 128
Joined: 28 Feb 2013 21:31
Location: Athens

Update Manager crashes or freezes

Postby stelios » 10 Aug 2013 17:17

I used the update manager to update my SolydK installation to the latest version. Everything worked fine. But after that, the update manager keeps crashing or freezing. If i go to options and then try to change the icons, the file manager comes up and once i try to navigate to the folder i need, it freezes. The same thing happens if i try to use a different mirror. Sometimes, it crashes out of the blue and disappears from the taskbar.

I tried to purge and reinstall the update manager, but it didn't help. Launching it from a terminal, did not give me any useful information.

Code: Select all

stelios@SolydK ~ $ updatemanager-launcher 
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
>>>> RefreshThread
>>>> AutomaticRefreshThread
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
Terminated
stelios@SolydK ~ $ >>>> RefreshThread
>>>> AutomaticRefreshThread
++ MirrorGetSpeed: Server http://debian.solydxk.com/production - 25Kbps
glibtop: Non-standard uts for running kernel:
release 3.9-1-amd64=3.9.0 gives version code 198912

Code: Select all

apt-cache policy updatemanager 
updatemanager:
  Εγκατεστημένα: 1.2.4
  Υποψήφιο:      1.2.4
  Πίνακας Έκδοσης:
 *** 1.2.4 0
        700 http://ftp.nluug.nl/os/Linux/distr/solydxk/packages/ solydxk/main amd64 Packages
        100 /var/lib/dpkg/status

Code: Select all

python --version
Python 2.7.5+
I did manage to change the mirror server once. It crashed after that, but kept the new setting.

User avatar
Arjen Balfoort
Site Admin
Posts: 9396
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Update Manager crashes or freezes

Postby Arjen Balfoort » 10 Aug 2013 20:00

I merged your topics because they have some similarities.

Can you please test this development version: [REMOVED: see http://forums.solydxk.nl/viewtopic.php?p=11315#p11315]


SolydXK needs you!
Development | Testing | Translations

User avatar
stelios
Posts: 128
Joined: 28 Feb 2013 21:31
Location: Athens

Re: Update Manager crashes or freezes

Postby stelios » 10 Aug 2013 21:20

I purged the previous version and installed the new. Nothing changed.It still crashes or freezes as before.

I only tried to change the icons, but as i see in the console, it seems to perform a server speed test as well, all by itself. Is that normal?

This is what i got before it crashed.

Code: Select all

stelios@SolydK ~ $ updatemanager-launcher 
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
>>>> RefreshThread
>>>> AutomaticRefreshThread
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
Terminated
stelios@SolydK ~ $ >>>> RefreshThread
>>>> AutomaticRefreshThread
++ MirrorGetSpeed: Server http://debian.solydxk.com/production - 27Kbps
glibtop: Non-standard uts for running kernel:
release 3.9-1-amd64=3.9.0 gives version code 198912

++ MirrorGetSpeed Error: Connection time-out
++ MirrorGetSpeed: Server http://mirror.internode.on.net/pub/solydxk/debian/production - 23Kbps
++ MirrorGetSpeed: Server http://ftp.nluug.nl/os/Linux/distr/solydxk/debian/production - 250Kbps
++ MirrorGetSpeed: Server http://ftp.nluug.nl/os/Linux/distr/solydxk/packages - 269Kbps


User avatar
Arjen Balfoort
Site Admin
Posts: 9396
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Update Manager crashes or freezes

Postby Arjen Balfoort » 10 Aug 2013 21:51

That was by design.
Now try this one without checking mirror speed when opening the preferences window: [REMOVED: see http://forums.solydxk.nl/viewtopic.php?p=11315#p11315]


SolydXK needs you!
Development | Testing | Translations

User avatar
stelios
Posts: 128
Joined: 28 Feb 2013 21:31
Location: Athens

Re: Update Manager crashes or freezes

Postby stelios » 10 Aug 2013 22:18

It worked fine, without crashing or freezing.

User avatar
Arjen Balfoort
Site Admin
Posts: 9396
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Update Manager crashes or freezes

Postby Arjen Balfoort » 10 Aug 2013 22:37

stelios wrote:It worked fine, without crashing or freezing.
Even when you hit the button to check the mirror speed?


SolydXK needs you!
Development | Testing | Translations

User avatar
stelios
Posts: 128
Joined: 28 Feb 2013 21:31
Location: Athens

Re: Update Manager crashes or freezes

Postby stelios » 10 Aug 2013 23:24

Schoelje wrote: Even when you hit the button to check the mirror speed?
Sorry, no, it crashes when i hit that button. I thought, because you asked me to check if preferences work without checking mirror speed, that you already knew that. My mistake.

I can change the icons though, without a problem.

User avatar
Arjen Balfoort
Site Admin
Posts: 9396
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Update Manager crashes or freezes

Postby Arjen Balfoort » 11 Aug 2013 07:03

stelios wrote:
Schoelje wrote: Even when you hit the button to check the mirror speed?
Sorry, no, it crashes when i hit that button. I thought, because you asked me to check if preferences work without checking mirror speed, that you already knew that. My mistake.

I can change the icons though, without a problem.
Do you have python-pycurl installed?

If you close UM from the tray, and start updatemanager from terminal, do you get an error message when you check the mirror speed?


SolydXK needs you!
Development | Testing | Translations

User avatar
stelios
Posts: 128
Joined: 28 Feb 2013 21:31
Location: Athens

Re: Update Manager crashes or freezes

Postby stelios » 11 Aug 2013 07:15

What i noticed is that the gui becomes unresponsive once i get this message.

Code: Select all

++ MirrorGetSpeed Error: Connection time-out
then i get those three

Code: Select all

++ MirrorGetSpeed: Server http://mirror.internode.on.net/pub/solydxk/debian/production - 19Kbps
++ MirrorGetSpeed: Server http://ftp.nluug.nl/os/Linux/distr/solydxk/debian/production - 217Kbps
++ MirrorGetSpeed: Server http://ftp.nluug.nl/os/Linux/distr/solydxk/packages - 215Kbps
and after that nothing.

python-pycurl is installed.

Code: Select all

apt-cache policy python-pycurl
python-pycurl:
  Εγκατεστημένα: 7.19.0-7
  Υποψήφιο:      7.19.0-7
  Πίνακας Έκδοσης:
 *** 7.19.0-7 0
        500 http://debian.solydxk.com/production/ testing/main amd64 Packages
        100 /var/lib/dpkg/status

User avatar
Arjen Balfoort
Site Admin
Posts: 9396
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Update Manager crashes or freezes

Postby Arjen Balfoort » 11 Aug 2013 07:57

Now, we're getting somewhere!
Try this one: [REMOVED: see http://forums.solydxk.nl/viewtopic.php?p=11315#p11315]

I've improved exception handling, and return on error more verbose.
In other words: it shouldn't hang on errors, and show the error(code) in the mirror list...I hope, because I can't test what I changed).


SolydXK needs you!
Development | Testing | Translations

User avatar
Arjen Balfoort
Site Admin
Posts: 9396
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Update Manager crashes or freezes

Postby Arjen Balfoort » 11 Aug 2013 09:04

I just posted version 1.2.8 to our repository.


SolydXK needs you!
Development | Testing | Translations

User avatar
ane champenois
Posts: 1539
Joined: 24 Feb 2013 08:17
Location: Grands lacs Forêt d'Orient, France

Re: Update Manager crashes or freezes

Postby ane champenois » 11 Aug 2013 09:33

Schoelje wrote:I just posted version 1.2.8 to our repository.
An error occurs for me. In Update Manager, when I choose 'UP Infos', I've got:
Image
and errors in the repositories mirrors:Image

Here is my sources.list:

Code: Select all

jocelyn@jocelyn-laptop:~$ inxi -r
Repos:     Active apt sources in file: /etc/apt/sources.list
           deb http://packages.solydxk.com/ solydxk main upstream import community
           deb http://debian.solydxk.com/production/ testing main contrib non-free
           deb http://debian.solydxk.com/production/multimedia/ testing main non-free
           deb http://debian.solydxk.com/security testing/updates main contrib non-free
jocelyn@jocelyn-laptop:~$ 
Perhaps it is just me, but before updauting thr UPM, these problems doesn't occur.
They did not know it was impossible so they did it.

User avatar
Arjen Balfoort
Site Admin
Posts: 9396
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Update Manager crashes or freezes

Postby Arjen Balfoort » 11 Aug 2013 10:05

Fix released:

Code: Select all

sudo apt-get update
sudo apt-get install updatemanager


SolydXK needs you!
Development | Testing | Translations


Return to “Bug Control”

Who is online

Users browsing this forum: No registered users and 1 guest