Comment 3 for bug 1509655

Revision history for this message
Xavier Aragon (xarax-lp) wrote : Re: installer crashed on custom configuration file dialog

The reason of the problem is visible in the python backtrace of the bug description, where line 339 of DistUpgradeViewKDE.py causes a TypeError:

    File "/tmp/ubuntu-release-upgrader-7bai3dvc/DistUpgrade/DistUpgradeViewKDE.py", line 339, in conffile
        self.confDialogue.show_difference_button.clicked.connect(self.showConffile())
   TypeError: argument 1 has unexpected type 'NoneType'

That python code line should most probably be:

        self.confDialogue.show_difference_button.clicked.connect(self.showConffile)

i.e. the argument of the connect method should be the self.showConffile method itself, not the return value of that method (I suppose it returns None, which triggers the TypeError).

The problem comes from bug #1423279, which fixed a syntax error, but apparently introduced this other error. The problem has been reported also in bug #1448380, which has been marked fixed for some reason that I fail to understand.