Export to GitHub

autokey - issue #237

autokey-gtk crashed with TypeError in on_delete_item(): function takes at most 0 arguments (2 given)


Posted on Mar 1, 2013 by Grumpy Kangaroo

What steps will reproduce the problem? 1.Start autokey 2.Use File ->New -> Script 3.See a new script apeearing in the sidebar called "New Script" 4.Right mouse click on it -> delete script 5.See autokey crashing

What is the expected output? What do you see instead? No crasher.

What version of the product are you using? On what operating system? DistroRelease: Ubuntu 12.10 Package: autokey-gtk 0.90.1-1.1

Please provide any additional information below.

This is the upstream report to

https://bugs.launchpad.net/ubuntu/+source/autokey/+bug/1138033

The crasher database:

https://errors.ubuntu.com/

has counted 390 users so far that have observed this crash.

With me it, they are 391 people.

I copy the header of the original launchpad report here. It gives some information about what was going wrong:

-----------------------------------------------------:

Bug Description

autokey crashed on deleting a script right after created it.

Steps to reproducing:

1.Start autokey 2.Use File ->New -> Script 3.See a new script apeearing in the sidebar called "New Script" 4.Right mouse click on it -> delete script 5.See autokey crashing

ProblemType: Crash DistroRelease: Ubuntu 12.10 Package: autokey-gtk 0.90.1-1.1 ProcVersionSignature: Ubuntu 3.5.0-26.40-generic 3.5.7.6 Uname: Linux 3.5.0-26-generic x86_64 NonfreeKernelModules: fglrx ApportVersion: 2.6.1-0ubuntu10 Architecture: amd64 Date: Fri Mar 1 16:38:04 2013 ExecutablePath: /usr/bin/autokey-gtk InstallationDate: Installed on 2013-01-13 (47 days ago) InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5) InterpreterPath: /usr/bin/python2.7 MarkForUpload: True PackageArchitecture: all ProcCmdline: /usr/bin/python /usr/bin/autokey-gtk ProcEnviron: PATH=(custom, no username) XDG_RUNTIME_DIR=<set> LANG=de_DE.UTF-8 SHELL=/bin/bash PythonArgs: ['/usr/bin/autokey-gtk'] SourcePackage: autokey Title: autokey-gtk crashed with TypeError in on_delete_item(): function takes at most 0 arguments (2 given) Traceback: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/autokey/gtkui/configwindow.py", line 1156, in on_delete_item refs.append(Gtk.TreeRowReference(theModel, path)) TypeError: function takes at most 0 arguments (2 given) UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

Comment #1

Posted on Mar 7, 2013 by Quick Dog

This was already filed as Issue 236 and reported in Debian as #701950. This bug does not exist in the latest version 0.90.4. Ubuntu will either need to upgrade to the latest version or backport a patch to fix the issue.

Comment #2

Posted on Oct 7, 2013 by Happy Horse

(No comment was entered for this change.)

Status: Duplicate

Labels:
Type-Defect Priority-Medium