[vivid] [proposed] syntax error while upgrading

Bug #1423279 reported by dino99
66
This bug affects 11 people
Affects Status Importance Assigned to Milestone
One Hundred Papercuts
Fix Released
High
Unassigned
ubuntu-release-upgrader (Ubuntu)
Fix Released
High
Brian Murray

Bug Description

Unpacking python3-distupgrade (1:15.04.6) over (1:15.04.5) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up python3-distupgrade (1:15.04.6) ...
  File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeViewKDE.py", line 337
    self.confDialogue.show_difference_button.clicked.connect(self.showConffile))
                                                                               ^
SyntaxError: invalid syntax

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: python3-distupgrade 1:15.04.6
ProcVersionSignature: Ubuntu 3.19.0-5.5-generic 3.19.0
Uname: Linux 3.19.0-5-generic i686
NonfreeKernelModules: nvidia
ApportVersion: 2.16.1-0ubuntu2
Architecture: i386
CrashDB: ubuntu
CurrentDesktop: GNOME
Date: Wed Feb 18 18:47:35 2015
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
dino99 (9d9) wrote :
summary: - syntax error while upgrading
+ [vivid] [proposed] syntax error while upgrading
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu-release-upgrader (Ubuntu):
status: New → Confirmed
Changed in hundredpapercuts:
status: New → Confirmed
Changed in ubuntu-release-upgrader (Ubuntu):
importance: Undecided → High
Changed in hundredpapercuts:
importance: Undecided → High
Revision history for this message
Brian Murray (brian-murray) wrote :

There is clearly an extra parens, fixing.

tags: added: kubuntu
Changed in ubuntu-release-upgrader (Ubuntu):
assignee: nobody → Brian Murray (brian-murray)
status: Confirmed → In Progress
Revision history for this message
Michael Neuffer (neuffer) wrote :

Change line 337
# self.confDialogue.show_difference_button.clicked.connect(self.showConffile))
       self.confDialogue.show_difference_button.clicked.connect(self.showConffile())

Revision history for this message
dino99 (9d9) wrote :

Also affect some other package upgrade:

Unpacking update-manager-core (1:15.04.2) over (1:15.04.1) ...
Preparing to unpack .../update-manager_1%3a15.04.2_all.deb ...
Unpacking update-manager (1:15.04.2) over (1:15.04.1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu5) ...
Processing triggers for mime-support (3.58ubuntu1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu3) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for gconf2 (3.2.6-3ubuntu1) ...
Processing triggers for libglib2.0-0:i386 (2.43.4-1) ...
Setting up python3-distupgrade (1:15.04.6) ...
  File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeViewKDE.py", line 337
    self.confDialogue.show_difference_button.clicked.connect(self.showConffile))
                                                                               ^
SyntaxError: invalid syntax

Revision history for this message
dino99 (9d9) wrote :

Here is the 335-337 lines :

 #FIXME, below to be tested
        #self.confDialogue.resize(self.confDialogue.minimumSizeHint())
        self.confDialogue.show_difference_button.clicked.connect(self.showConffile))

So the last ')' seems not needed.
But i wonder why that "DidtUpgradeViewKDE.py is used/needed on a "Gnome" installation from a gnome-shell session ?
That looks like an inappropriate design.

Revision history for this message
dino99 (9d9) wrote :

Got the newest packages fixed into vivid archive; all is fine that time. Thanks Brian.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-release-upgrader - 1:15.04.7

---------------
ubuntu-release-upgrader (1:15.04.7) vivid; urgency=medium

  * Log more information when key packages are not available/downloadable.
  * DistUpgrade/DistUpgradeViewKDE.py: Fix call to showConffile.
    (LP: #1423279)
 -- Brian Murray <email address hidden> Wed, 18 Feb 2015 12:49:07 -0800

Changed in ubuntu-release-upgrader (Ubuntu):
status: In Progress → Fix Released
dino99 (9d9)
Changed in hundredpapercuts:
status: Confirmed → Fix Released
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.