[KDE] upgrade tool crashed in Gutsy Tribe 3

Bug #131352 reported by Marco Maini
68
Affects Status Importance Assigned to Milestone
adept (Ubuntu)
Invalid
Undecided
Unassigned
update-manager (Ubuntu)
Fix Released
Medium
Jonathan Riddell

Bug Description

Binary package hint: update-manager

I have tried to upgrade from Tribe 3 to Tribe 4.
This is the output in Konsole when I type the command:

maini@maini-desktop:~$ sudo adept_manager --dist-upgrade-devel
[sudo] password for maini:
X Error: BadDevice, invalid or uninitialized input device 171
  Major opcode: 148
  Minor opcode: 3
  Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 171
  Major opcode: 148
  Minor opcode: 3
  Resource id: 0x0
Failed to open device
UpgradeWizard::checkForDistUpgrade
Error: "/var/tmp/kdecache-maini" is owned by uid 1000 instead of uid 0.
Error: "/tmp/kde-maini" is owned by uid 1000 instead of uid 0.
kapture::PkgSystem::PkgSystem()
Error: "/tmp/ksocket-maini" is owned by uid 1000 instead of uid 0.
Error: "/var/tmp/kdecache-maini" is owned by uid 1000 instead of uid 0.
hdate-applet
kdecore (KProcess): WARNING: _attachPty() 44
hdate-applet

Adept works normally. Then I click "Upgrade Version" and when I click Finish to launch distribution upgrade tool, this crash happens:

Traceback (most recent call last):
  File "/tmp/kde-maini/adept_manageryQ8Ohb.tmp-extract/dist-upgrade.py", line 54, in <module>
    view = view_class()
  File "/tmp/kde-maini/adept_manageryQ8Ohb.tmp-extract/DistUpgradeViewKDE.py", line 371, in __init__
    adeptInterface.quit()
  File "/usr/lib/python2.5/site-packages/dcopext.py", line 535, in __getattr__
    return DCOPMeth(self, item)
  File "/usr/lib/python2.5/site-packages/dcopext.py", line 578, in __init__
    self.methods = [str(meth) for meth in dcopObj.objmethods]
TypeError: 'NoneType' object is not iterable

Revision history for this message
Marco Maini (maini10) wrote :
Revision history for this message
Marco Maini (maini10) wrote :

I haven't file /var/log/dist-upgrade/apt.log

Michael Vogt (mvo)
Changed in update-manager:
assignee: nobody → jr
Revision history for this message
Marco Maini (maini10) wrote :

Nothing happens if I use kdesu adept-manager --dist-upgrade-devel. Strangely, this problem happens only when I type that command in Konsole.

Revision history for this message
Jonathan Riddell (jr) wrote :

Marco: literally nothing happens or adept_manager does start up? Are you using the required quotes? kdesu "adept-manager --dist-upgrade-devel"

Revision history for this message
Marco Maini (maini10) wrote :

No, with kdesu adept_manager works fine and I'm not able to reproduce the crash. The crash always happens when I use Konsole.

Revision history for this message
Guillaume Martres (smarter) wrote :

I have the same problem, and it happens whether i use ALT+F2 or the Konsole,and I haven't forgottent the quotes.

Revision history for this message
gorgonizer (gorgonizer) wrote :

I also receive the same error, with no /var/log/dist-upgrade/apt.log file, only a /var/log/dist-upgrade/main.log file (which I think I have attached).

Revision history for this message
mrl586 (mrl586) wrote :

I can reproduce this bug in Gutsy Tribe 4.

Revision history for this message
Guillaume Martres (smarter) wrote :

I looked a bit at the source(I'm not a python programmer, but I thought i could try some little things) and changed:
def getMethods(self):
                flist, ok = self.objclient.remoteFunctions(self.appname, self.objname)

                if ok:
                        return flist
                else:
                       return None

So that it returns flist, even in the else.
# return None
                       return flist
And I launched Adept again, this time it worked but it crashed again at some point on the upgrade process.

Revision history for this message
Guillaume Martres (smarter) wrote :
Revision history for this message
Guillaume Martres (smarter) wrote :

With update-manager-core 0.70, I don't get any error message but the dist-upgrade is still crashing.

Revision history for this message
Guillaume Martres (smarter) wrote :
Changed in update-manager:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Jonathan Riddell (jr) wrote :

Fixed, it now just uses killall rather than dcop.

Changed in update-manager:
status: Confirmed → Fix Released
Revision history for this message
Marco Maini (maini10) wrote :

In my opinion, there are no reason to keep open this, since the problem seems fixed. Please reopen if you experience again this issue.

Changed in adept:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.