FreeSpeak 0.1.1 freezes in 8.10, possibly python2.5 issue

Bug #317646 reported by tdflanders
4
Affects Status Importance Assigned to Milestone
freespeak (Ubuntu)
New
Undecided
Unassigned

Bug Description

thomas@thomas-laptop:~$ sudo dpkg-reconfigure debconf
[sudo] password for thomas:
thomas@thomas-laptop:~$ sudo su
root@thomas-laptop:/home/thomas# dpkg-reconfigure freespeak
root@thomas-laptop:/home/thomas# freespeak
/usr/lib/python2.5/site-packages/freespeak/freespeak.py:359: GtkDeprecationWarning: gtk.threads_init is deprecated, use gtk.gdk.threads_init instead
  gtk.threads_init()
/usr/lib/python2.5/site-packages/freespeak/freespeak.py:375: GtkDeprecationWarning: gtk.threads_enter is deprecated, use gtk.gdk.threads_enter instead
  gtk.threads_enter()
/usr/lib/python2.5/site-packages/freespeak/src/translation.py:179: GtkDeprecationWarning: gtk.threads_enter is deprecated, use gtk.gdk.threads_enter instead
  gtk.threads_enter()
/usr/lib/python2.5/site-packages/freespeak/src/translation.py:181: GtkDeprecationWarning: gtk.threads_leave is deprecated, use gtk.gdk.threads_leave instead
  gtk.threads_leave()
Unhandled exception in thread started by <bound method Translation.translate of <Translation object at 0x8c13d74 (GtkFrame at 0x8dbff60)>>
^Z
[1]+ Stopped freespeak
root@thomas-laptop:/home/thomas# freespeak --help
Usage: freespeak.py [-c] [-q] [ module [ from [ to ] ] ]

Options:
  --version show program's version number and exit
  -h, --help show this help message and exit
  -c, --clipboard use clipboard instead of stdin
  -q, --quiet start minimized in tray icon
root@thomas-laptop:/home/thomas# gdb freespeak 2>&1 | tee freespeak.txt
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
"/usr/bin/freespeak": not in executable format: File format not recognized
(gdb) quit
root@thomas-laptop:/home/thomas# rm freespeak.txt
root@thomas-laptop:/home/thomas# rm freespeak.txt
rm: cannot remove `freespeak.txt': No such file or directory
root@thomas-laptop:/home/thomas# freespeak -v
Usage: freespeak.py [-c] [-q] [ module [ from [ to ] ] ]

freespeak.py: error: no such option: -v
root@thomas-laptop:/home/thomas# freespeak --version
FreeSpeak 0.1.1

Revision history for this message
tdflanders (thomasdelbeke) wrote :

thomas@thomas-laptop:~$ gdb freespeak 2>&1 | tee freespeak.txt
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
"/usr/bin/freespeak": not in executable format: File format not recognized
(gdb) quit
thomas@thomas-laptop:~$ firefox http://bugs.launchpad.net/bugs/freespeak/+filebug
thomas@thomas-laptop:~$

Revision history for this message
tdflanders (thomasdelbeke) wrote :

thomas@thomas-laptop:~$ lsb_release -rd ; uname -a ; apt-cache policy freespeak firefox python2.5
Description: Ubuntu 8.10
Release: 8.10
Linux thomas-laptop 2.6.27-11-generic #1 SMP Thu Jan 15 11:03:58 UTC 2009 i686 GNU/Linux
freespeak:
  Installed: 0.1.1-0ubuntu4
  Candidate: 0.1.1-0ubuntu4
  Version table:
 *** 0.1.1-0ubuntu4 0
        500 http://archive.ubuntu.com intrepid/universe Packages
        100 /var/lib/dpkg/status
firefox:
  Installed: 3.0.5+nobinonly-0ubuntu0.8.10.1
  Candidate: 3.0.5+nobinonly-0ubuntu0.8.10.1
  Version table:
 *** 3.0.5+nobinonly-0ubuntu0.8.10.1 0
        500 http://archive.ubuntu.com intrepid-updates/main Packages
        500 http://archive.ubuntu.com intrepid-security/main Packages
        100 /var/lib/dpkg/status
     3.0.3+nobinonly-0ubuntu2 0
        500 http://archive.ubuntu.com intrepid/main Packages
python2.5:
  Installed: 2.5.2-11.1ubuntu1
  Candidate: 2.5.2-11.1ubuntu1
  Version table:
 *** 2.5.2-11.1ubuntu1 0
        500 http://archive.ubuntu.com intrepid/main Packages
        100 /var/lib/dpkg/status
thomas@thomas-laptop:~$

Revision history for this message
Luca Bruno (lucabru) wrote :

Freespeak 0.1.1 is old and unmaintained upstream. Debian has packaged the 0.3.0 version.

Revision history for this message
tdflanders (thomasdelbeke) wrote :

Thanks for that, still: I installed it through gnome-app-install. I have all intrepid reps in /etc/apt/sources.list. I do not get prompted for an upgrade, so it is a bug. I will now try to use version. Thanks a lot for that!

Revision history for this message
tdflanders (thomasdelbeke) wrote :

BTW, need a debdiff?

Cheers,

Thomas

Revision history for this message
tdflanders (thomasdelbeke) wrote :

Hi there Luca, I am having trouble with the install. I cannot find a single debian rep. I don't want to start adding backports. The config make make install stuff all works. I just get: intltools autdated, while in fact it is not installed in 8.10. I will try to install all the dependencies manually and see if that changes anything. If not, I will try the unstable git clone thing. I will get back to you, any other suggestions?

Thanks,

Thomas

root@thomas-laptop:/home/thomas/Desktop/freespeak-0.3.0# freespeak
Traceback (most recent call last):
  File "/usr/local/bin/freespeak", line 60, in <module>
    main ()
  File "/usr/local/bin/freespeak", line 52, in main
    from freespeak import application
  File "/usr/local/lib/python2.5/site-packages/freespeak/application.py", line 46, in <module>
    from freespeak.ui.globalkeybinding import GlobalKeyBinding
  File "/usr/local/lib/python2.5/site-packages/freespeak/ui/globalkeybinding.py", line 30, in <module>
    from Xlib.display import Display
ImportError: No module named Xlib.display
root@thomas-laptop:/home/thomas/Desktop/freespeak-0.3.0# apt-cache policy freespeak intltool
freespeak:
  Installed: 0.1.1-0ubuntu4
  Candidate: 0.1.1-0ubuntu4
  Version table:
 *** 0.1.1-0ubuntu4 0
        500 http://archive.ubuntu.com intrepid/universe Packages
        100 /var/lib/dpkg/status
intltool:
  Installed: 0.40.5-0ubuntu1
  Candidate: 0.40.5-0ubuntu1
  Version table:
 *** 0.40.5-0ubuntu1 0
        500 http://archive.ubuntu.com intrepid/main Packages
        100 /var/lib/dpkg/status
root@thomas-laptop:/home/thomas/Desktop/freespeak-0.3.0#

Revision history for this message
tdflanders (thomasdelbeke) wrote :

BTW,

here is an strace.

Revision history for this message
Luca Bruno (lucabru) wrote :

I said it's been packaged in Debian, so you won't find it on Ubuntu.

1. Remove the old installed freespeak
2. Do a ./configure && make && make install
3. killall -HUP gconfd-2
4. Wait some seconds
5. Run freespeak as non-root

Anyway, this is not the right place to discuss about. Mail me for further information. This bug should be blocked by #303539.

Revision history for this message
tdflanders (thomasdelbeke) wrote :

Okido,

sorry, our messages crossed.

So one test run went fine as root:

Hallo Luca!

FreeSpeak ist freie Software; Sie können neu es verteilen bzw. können es unter den Begriffen der GNU Allgemeinheit Erlaubnis als von der Freien Softwaregrundlage; entweder Version 2 von der Erlaubnis, oder (an Ihrer
Option) irgendeine spätere Version modifizieren wird herausgegeben. FreeSpeak ist in der Hoffnung verteilt, die es nützlich sein wird, aber OHNE IRGENDEINE GARANTIE; ohne sogar die angedeutete Garantie von
MARKTGÄNGIGKEIT oder GESUNDHEIT FÜR EINEN BESONDEREN ZWECK. Siehe die GNU Bibliothek Allgemeinheit Erlaubnis für mehr Details. Sie hätten eine Kopie die GNU Allgemeinheit Erlaubnis zusammen mit diesem Programm
empfangen sollen; wenn nicht, schreibt an die Freie Softwaregrundlage, Inc., 51 Franklin St, Fünften Stock, Boston, MA 02110-1301, Vereinigten Staaten.

It just hangs when closing down ...

Revision history for this message
tdflanders (thomasdelbeke) wrote :
Download full text (6.5 KiB)

thomas@thomas-laptop:~$ pidof freespeak
thomas@thomas-laptop:~$ ps -A
  PID TTY TIME CMD
    1 ? 00:00:02 init
    2 ? 00:00:00 kthreadd
    3 ? 00:00:00 migration/0
    4 ? 00:00:09 ksoftirqd/0
    5 ? 00:00:00 watchdog/0
    6 ? 00:00:00 migration/1
    7 ? 00:00:04 ksoftirqd/1
    8 ? 00:00:00 watchdog/1
    9 ? 00:00:00 events/0
   10 ? 00:00:00 events/1
   11 ? 00:00:00 khelper
   51 ? 00:00:00 kintegrityd/0
   52 ? 00:00:00 kintegrityd/1
   54 ? 00:00:00 kblockd/0
   55 ? 00:00:00 kblockd/1
   57 ? 00:00:00 kacpid
   58 ? 00:00:00 kacpi_notify
  142 ? 00:00:00 cqueue
  146 ? 00:00:00 kseriod
  192 ? 00:00:00 pdflush
  193 ? 00:00:02 pdflush
  194 ? 00:00:04 kswapd0
  236 ? 00:00:00 aio/0
  237 ? 00:00:00 aio/1
 1303 ? 00:00:00 ksuspend_usbd
 1304 ? 00:00:00 khubd
 1367 ? 00:00:15 ata/0
 1368 ? 00:00:00 ata/1
 1369 ? 00:00:00 ata_aux
 1805 ? 00:00:00 scsi_eh_0
 1808 ? 00:00:10 scsi_eh_1
 2262 ? 00:00:05 kjournald
 2442 ? 00:00:00 udevd
 2674 ? 00:00:00 tifm
 2693 ? 00:00:00 kmmcd
 2774 ? 00:00:00 kpsmoused
 2792 ? 00:00:00 pccardd
 2820 ? 00:00:07 iwl3945/0
 2821 ? 00:00:00 iwl3945/1
 2823 ? 00:00:03 iwl3945
 4090 ? 00:00:00 kstriped
 4467 tty4 00:00:00 getty
 4468 tty5 00:00:00 getty
 4475 tty2 00:00:00 getty
 4476 tty3 00:00:00 getty
 4477 tty6 00:00:00 getty
 4664 ? 00:00:00 acpid
 4705 ? 00:00:03 kondemand/0
 4706 ? 00:00:00 kondemand/1
 4788 ? 00:00:00 syslogd
 4838 ? 00:00:00 dd
 4840 ? 00:00:00 klogd
 4863 ? 00:00:27 dbus-daemon
 4885 ? 00:00:01 avahi-daemon
 4886 ? 00:00:00 avahi-daemon
 5012 ? 00:00:01 console-kit-dae
 5077 ? 00:00:00 freshclam
 5108 ? 00:00:00 cupsd
 5310 ? 00:00:00 winbindd
 5322 ? 00:00:00 winbindd
 5333 ? 00:00:30 hald
 5334 ? 00:00:03 hald-runner
 5353 ? 00:00:00 hald-addon-inpu
 5363 ? 00:00:00 hald-addon-cpuf
 5364 ? 00:00:00 hald-addon-acpi
 5380 ? 00:00:15 hald-addon-stor
 5413 ? 00:00:00 bluetoothd
 5419 ? 00:00:00 btaddconn
 5421 ? 00:00:00 btdelconn
 5440 ? 00:00:00 krfcommd
 5475 ? 00:00:09 NetworkManager
 5485 ? 00:00:00 wpa_supplicant
 5487 ? 00:00:01 nm-system-setti
 5517 ? 00:00:00 gdm
 5520 ? 00:00:00 gdm
 5525 tty7 00:31:34 Xorg
 5540 ? 00:00:00 system-tools-ba
 5575 ? 00:00:00 atd
 5603 ? 00:00:00 cron
 5684 tty1 00:00:00 getty
 5760 ? 00:00:00 gnome-keyring-d
 5771 ? 00:00:00 x-session-manag
 5830 ? 00:00:00 dbus-launch
 5835 ? 00:00:02 dbus-daemon
 5838 ? 00:04:51 pulseaudio
 5841 ? 00:00:00 gconf-helper
 5843 ? 00:00:06 gconfd-2
 5849 ? 00:00:00 seahorse-agent
 5854 ? 00:00:00 gnome-keyring-d
 5856 ? 00:00:07 gnome-settings-
 5857 ? 00:00:00 compiz
 5885 ? 00:00:00 gvfs...

Read more...

Revision history for this message
tdflanders (thomasdelbeke) wrote :

[...]
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
root@thomas-laptop:/home/thomas# freespeak
location: /usr/lib/xulrunner-1.9.0.5/libxpcom.so
before 3
^Z
[1]+ Stopped freespeak
root@thomas-laptop:/home/thomas# kill -9 12352
root@thomas-laptop:/home/thomas# kill -9 12357
bash: kill: (12357) - No such process
[1]+ Killed freespeak
root@thomas-laptop:/home/thomas#

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.