ubiquity crashed with TypeError in partman_popup(): popup() takes exactly 7 arguments (6 given)

Bug #936115 reported by SoftLibre
28
This bug affects 4 people
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Fix Released
High
Stéphane Graber
Precise
Fix Released
High
Stéphane Graber

Bug Description

Besides the detection of the raid is wrong. Gparted does well. Ubiquity partitions repeated 3 times.

TEST CASE:
1. On a system with existing partitions, run ubiquity from a Live CD
2. Proceed to ubi-partman and select "Something Else" (manual partitioning)
3. Right-click on an item of the list of partitions

ACTUAL RESULT:
Traceback (most recent call last):
  File "/usr/lib/ubiquity/plugins/ubi-partman.py", line 1000, in on_partition_list_treeview_button_press_event
    self.partman_popup(widget, event)
  File "/usr/lib/ubiquity/ubiquity/plugin.py", line 44, in wrapper
    return target(self, *args, **kwargs)
  File "/usr/lib/ubiquity/plugins/ubi-partman.py", line 734, in partman_popup
    partition_list_menu.popup(None, None, None, button, time)
TypeError: popup() takes exactly 7 arguments (6 given)

EXPECTED RESULT:
A contextual menu pops-up

ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: ubiquity 2.9.19
ProcVersionSignature: Ubuntu 3.2.0-17.26-generic 3.2.6
Uname: Linux 3.2.0-17-generic x86_64
ApportVersion: 1.91-0ubuntu1
Architecture: amd64
CasperVersion: 1.304
Date: Sun Feb 19 11:15:50 2012
ExecutablePath: /usr/lib/ubiquity/bin/ubiquity
InterpreterPath: /usr/bin/python2.7
LiveMediaBuild: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120219)
ProcCmdline: /usr/bin/python /usr/lib/ubiquity/bin/ubiquity gtk_ui
ProcEnviron: Error: [Errno 13] Permiso denegado: '/proc/4266/environ'
PythonArgs: ['/usr/lib/ubiquity/bin/ubiquity', 'gtk_ui']
SourcePackage: ubiquity
Title: ubiquity crashed with TypeError in partman_popup(): popup() takes exactly 7 arguments (6 given)
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

Revision history for this message
SoftLibre (softlibre-gmail) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in ubiquity (Ubuntu):
status: New → Confirmed
visibility: private → public
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for your report. I can reproduce this issue with a right-click on a partition in the manual partitioner.

Changed in ubiquity (Ubuntu):
importance: Undecided → High
status: Confirmed → Triaged
tags: added: qa-manual-testing rls-mgr-p-tracking
Changed in ubiquity (Ubuntu Precise):
assignee: nobody → Canonical Foundations Team (canonical-foundations)
description: updated
tags: added: ubi-partman
Changed in ubiquity (Ubuntu Precise):
milestone: none → ubuntu-12.04-beta-1
Changed in ubiquity (Ubuntu Precise):
assignee: Canonical Foundations Team (canonical-foundations) → Stéphane Graber (stgraber)
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubiquity - 2.9.22

---------------
ubiquity (2.9.22) precise; urgency=low

  * ubi-partman:
    - Avoid crash when calling contextual menu on a partition list item.
      (LP: #936115)
    - Add logic to parse the current and new version number and only
      allow reusing an existing install if the target is older than the
      media. (LP: #898278)
  * ubi-console-setup:
    - To avoid issues when quickly changing the selection (easily done by
      using the keyboard), add a 600ms delay to any user action, reset with
      any further action.
      The UI is also now set_sensitive(False) while waiting for a UI
      refresh.
      This should be enough to limit or get rid of (LP: #645449)
  * Automatic update of included source packages: netcfg 1.68ubuntu12.
 -- Stephane Graber <email address hidden> Mon, 27 Feb 2012 20:21:30 -0500

Changed in ubiquity (Ubuntu Precise):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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