[Bug 1279987] Re: usb-creator-gtk crashed with TypeError in __call__(): first argument must be the method signature string: GLib.Variant('a{sv}', {})

Marc Culler mcbugs000 at gmail.com
Thu Dec 18 18:54:07 UTC 2014


This bug can be fixed by changing two lines in the python script
/usr/lib/python3/dist-packages/usbcreator/backends/udisks$ diff -u
backend.py.orig backend.py.

It seems rather important to fix it, since it will prevent people from
installing Ubuntu.  Also, it is rather off-putting to find a webpage
which explains how easy it is to make a bootable USB stick, and then
have the easy solution instantly crash.

I am attaching a patch which fixed this problem for me.

** Patch added: "fs.mount_sync(no_options, None) -> fs.call_mount_sync(no_options, None)"
   https://bugs.launchpad.net/ubuntu/+source/usb-creator/+bug/1279987/+attachment/4283625/+files/backend.patch

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to usb-creator in Ubuntu.
https://bugs.launchpad.net/bugs/1279987

Title:
  usb-creator-gtk crashed with TypeError in __call__(): first argument
  must be the method signature string: GLib.Variant('a{sv}', {})

Status in usb-creator package in Ubuntu:
  Confirmed

Bug description:
  Crashed when trying to create a start-up disk.  Got as far as trying
  to erase the USB drive when it froze and I got the error.

  ProblemType: Crash
  DistroRelease: Ubuntu 14.04
  Package: usb-creator-gtk 0.2.53
  ProcVersionSignature: Ubuntu 3.13.0-8.28-generic 3.13.2
  Uname: Linux 3.13.0-8-generic x86_64
  ApportVersion: 2.13.2-0ubuntu2
  Architecture: amd64
  CurrentDesktop: GNOME
  Date: Thu Feb 13 16:17:24 2014
  ExecutablePath: /usr/bin/usb-creator-gtk
  InstallationDate: Installed on 2014-01-24 (19 days ago)
  InstallationMedia: Ubuntu-GNOME 14.04 "Trusty Tahr" - Alpha amd64 (20140121.1)
  InterpreterPath: /usr/bin/python3.3
  ProcCmdline: /usr/bin/python3 /usr/bin/usb-creator-gtk
  PythonArgs: ['/usr/bin/usb-creator-gtk']
  SourcePackage: usb-creator
  Title: usb-creator-gtk crashed with TypeError in __call__(): first argument must be the method signature string: GLib.Variant('a{sv}', {})
  UDisksDump: Error: [Errno 2] No such file or directory: 'udisks'
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/usb-creator/+bug/1279987/+subscriptions



More information about the foundations-bugs mailing list