[Bug 1075429] Re: autokey-gtk crashes when clipboard.get_clipboard() is invoked

2020-02-17 Thread Lonnie Lee Best
Fantastic!

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

Title:
  autokey-gtk crashes when clipboard.get_clipboard() is invoked

To manage notifications about this bug go to:
https://bugs.launchpad.net/autokey/+bug/1075429/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1075429] Re: autokey-gtk crashes when clipboard.get_clipboard() is invoked

2020-02-17 Thread Thomas
This issue is fixed in 0.95.9, which is part of Ubuntu 20.04

** Changed in: autokey (Ubuntu)
   Status: Confirmed => Fix Released

** Changed in: autokey (Ubuntu)
 Assignee: (unassigned) => Thomas (tux12345)

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

Title:
  autokey-gtk crashes when clipboard.get_clipboard() is invoked

To manage notifications about this bug go to:
https://bugs.launchpad.net/autokey/+bug/1075429/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1075429] Re: autokey-gtk crashes when clipboard.get_clipboard() is invoked

2017-10-26 Thread Bug Watch Updater
Launchpad has imported 9 comments from the remote bug at
https://bugzilla.redhat.com/show_bug.cgi?id=1089695.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.


On 2014-04-21T17:07:59+00:00 Larry wrote:

Description of problem:
If autokey phrase is set to use paste using clipboard, it will hang. If the 
same phrase is attempted a second time, it seems that the input device becomes 
non-responsive and can only be resolved by switching to a virtual terminal 
(outside of GNOME) to kill the misbehaving autokey-gtk process.

Version-Release number of selected component (if applicable):
Name: autokey-gtk
Arch: noarch
Version : 0.90.4
Release : 4.fc20
Size: 438 k
Repo: installed
>From repo   : fedora

How reproducible:
Always

Steps to Reproduce:
1. Create a autokey phrase that uses Paste using Clipboard (Ctrl+V)
2. Type the phrase's abbreviation

Actual results:
Abbreviation is erased by no output appears.

Expected results:
Abbreviation is erased and phrase appears.

Additional info:
If multiple attempts are performed, the keyboard stops responding to key input 
and you are left with no keyboard input device. To resolve this, you must 
switch to a virtual terminal (Ctrl+Alt+F2) and perform a killall autokey-gtk as 
the user who started the autokey process.

This was also reported for Ubuntu in Launchpad -
https://bugs.launchpad.net/ubuntu/+source/autokey/+bug/1075429

The root cause of this issue is identified by the following stack:

2014-04-21 11:47:09,832 DEBUG - interface - Sending string: u'some text that 
should be pasted\n'
ERROR:interface:Error in X event loop thread
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/autokey/interface.py", line 116, in 
__eventLoop
method(*args)
  File "/usr/lib/python2.7/site-packages/autokey/interface.py", line 500, in 
__sendStringClipboard
self.__fillClipboard(string)
  File "/usr/lib/python2.7/site-packages/autokey/interface.py", line 537, in 
__fillClipboard
self.clipBoard.set_text(string.encode("utf-8"))
TypeError: set_text() takes exactly 3 arguments (2 given)



After this issue occurred, I had to terminate autokey which resulted in the 
following abrt report: https://retrace.fedoraproject.org/faf/reports/415062/

It is important to note that the abrt report wasn't actually triggered
by the hang but instead by killing the process because it became
unresponsive.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/autokey/+bug/1075429/comments/4


On 2015-05-29T11:38:11+00:00 Fedora wrote:

This message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '20'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 20 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/autokey/+bug/1075429/comments/5


On 2015-06-08T15:10:39+00:00 Christopher wrote:

*** Bug 1229371 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/autokey/+bug/1075429/comments/6


On 2015-06-08T15:14:46+00:00 Christopher wrote:

This is still an issue in F22. The upstream issue hasn't been fixed for
years. It would be great if this can be fixed in the Fedora RPM since
the app itself works ok with the following patch:

$ cat autokey-gtk-rhbz1089695.patch 
--- autokey-0.90.4/src/lib/interface.py 2012-05-15 07:27:57.0 -0400
+++ autokey-0.90.4/src/lib/interface-b.py   2015-06-08 10:49:04.269038660 
-0400
@@ -534,7 +534,7 @@
 text = self.clipBoard.wait_for_text()
 self.__savedClipboard = ''
   

[Bug 1075429] Re: autokey-gtk crashes when clipboard.get_clipboard() is invoked

2014-04-21 Thread Larry
** Bug watch added: Red Hat Bugzilla #1089695
   https://bugzilla.redhat.com/show_bug.cgi?id=1089695

** Also affects: autokey (Fedora) via
   https://bugzilla.redhat.com/show_bug.cgi?id=1089695
   Importance: Unknown
   Status: Unknown

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

Title:
  autokey-gtk crashes when clipboard.get_clipboard() is invoked

To manage notifications about this bug go to:
https://bugs.launchpad.net/autokey/+bug/1075429/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1075429] Re: autokey-gtk crashes when clipboard.get_clipboard() is invoked

2013-10-07 Thread Lonnie Lee Best
I can confirm that this bug is also currently present in Ubuntu 13.04

Background:

I've created a simple python script so that AutoKey-GTK can alphabetize
lines of selected text I select in a text editor (like gedit). The
script is short and this is the entire script:

-

str = clipboard.get_selection()
ary = str.split('\n')
ary.sort()
str = '\n'.join(ary)
keyboard.send_keys(str)

-

Debugging:

I ran autokey-gtk in debug mode by typing this command in a terminal:
autokey-gtk -l

When I triggered the script, here's the output that was produced:

2013-10-07 16:48:39,105 DEBUG - service - Script runner executing: 
Script('Alphabetize Lines')
2013-10-07 16:48:39,105 ERROR - service - Script error
Traceback (most recent call last):
  File /usr/lib/python2.7/dist-packages/autokey/service.py, line 454, in 
execute
exec script.code in scope
  File string, line 1, in module
  File /usr/lib/python2.7/dist-packages/autokey/scripting.py, line 820, in 
get_selection
self.__execAsync(self.selection.request_text, self.__receive)
  File /usr/lib/python2.7/dist-packages/autokey/scripting.py, line 865, in 
__execAsync
callback(*args)
  File /usr/lib/python2.7/dist-packages/gi/types.py, line 113, in function
return info.invoke(*args, **kwargs)
TypeError: request_text() takes exactly 3 arguments (2 given)
Exception in thread Phrase-thread:
Traceback (most recent call last):
  File /usr/lib/python2.7/threading.py, line 810, in __bootstrap_inner
self.run()
  File /usr/lib/python2.7/threading.py, line 763, in run
self.__target(*self.__args, **self.__kwargs)
  File /usr/lib/python2.7/dist-packages/autokey/service.py, line 464, in 
execute
self.app.notify_error(_(The script '%s' encountered an error) % 
script.description)
  File /usr/lib/python2.7/dist-packages/autokey/gtkapp.py, line 239, in 
notify_error
self.notifier.notify_error(message)
  File /usr/lib/python2.7/dist-packages/autokey/gtkui/notifier.py, line 145, 
in notify_error
self.show_notify(message, Gtk.STOCK_DIALOG_ERROR)
  File /usr/lib/python2.7/dist-packages/autokey/gtkui/notifier.py, line 156, 
in show_notify
Gdk.threads_enter()
NameError: global name 'Gdk' is not defined


** Bug watch added: AutoKey Tracker #197
   http://code.google.com/p/autokey/issues/detail?id=197

** Also affects: autokey via
   http://code.google.com/p/autokey/issues/detail?id=197
   Importance: Unknown
   Status: Unknown

** Tags added: precise saucy

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

Title:
  autokey-gtk crashes when clipboard.get_clipboard() is invoked

To manage notifications about this bug go to:
https://bugs.launchpad.net/autokey/+bug/1075429/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1075429] Re: autokey-gtk crashes when clipboard.get_clipboard() is invoked

2013-10-06 Thread Luke Faraone
** Changed in: autokey (Ubuntu)
   Importance: Undecided = High

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

Title:
  autokey-gtk crashes when clipboard.get_clipboard() is invoked

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autokey/+bug/1075429/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1075429] Re: autokey-gtk crashes when clipboard.get_clipboard() is invoked

2013-02-26 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: autokey (Ubuntu)
   Status: New = Confirmed

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

Title:
  autokey-gtk crashes when clipboard.get_clipboard() is invoked

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autokey/+bug/1075429/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs