Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 85628 - app-emulation/point2play-1.3.3 has problem with gtk.ProgressBar() call
Summary: app-emulation/point2play-1.3.3 has problem with gtk.ProgressBar() call
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Wine Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-17 06:10 UTC by Sophie Hamilton
Modified: 2005-03-17 07:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sophie Hamilton 2005-03-17 06:10:54 UTC
I'm assuming this problem is specific to 1.3.3. Basically, when I use Point2Play to try to download the latest version of Cedega, this comes up on the console:

---
Traceback (most recent call last):
  File "/usr/lib/transgaming_point2play/Point2Play_gui.py", line 1588, in get_latest_cb
    file_diag = winex_get_gui.WinexGetDialog( self.Point2Play, ver_list, latest["version"] )
  File "/usr/lib/transgaming_point2play/winex_get_gui.py", line 69, in __init__
    self.pb = gtk.ProgressBar()
SystemError: NULL result without error in PyObject_Call
---

Using the "Get Another Version" button pops up the version list fine, but when selecting a version to download, I get:

---
Traceback (most recent call last):
  File "/usr/lib/transgaming_point2play/Point2Play_gui.py", line 1415, in install_other_winexver_cb
    file_diag = winex_get_gui.WinexGetDialog( self.Point2Play, install_other_winexver_dialog.ver_list, ver["version"] )
  File "/usr/lib/transgaming_point2play/winex_get_gui.py", line 69, in __init__
    self.pb = gtk.ProgressBar()
SystemError: NULL result without error in PyObject_Call
---

I suspect that this is due to the version of pygtk that I have installed - I'm currently running pygtk 2.2.0, whereas the latest version is 2.4.1. I will test this after submitting this bug, and if it works, I would recommend that the dependencies of point2play-1.3.3 be changed to include >=dev-python/pygtk-2.4.

I'll post again when I've tested with a newer version of pygtk.

Reproducible: Always
Steps to Reproduce:
1. Run Point2Play.
2. Click on the "Get Latest Version" button.

-or-

1. Run Point2Play
2. Click on the "Get Another Version" button
3. Select a Cedega version from the list and click Continue.
Actual Results:  
The above error appeared in the console where I ran it from. Normally you
wouldn't run it from a console, so in this case nothing would appear to happen.

Expected Results:  
Downloaded the requested version of Cedega.

Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20041102-r1,
2.6.9-gentoo-r9 i686)
=================================================================
System uname: 2.6.9-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 1400MHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  8 2005, 02:51:43)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS=""
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/
http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://distfiles.gentoo.org/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/ciaran/portage/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa apm arts avi berkdb bitmap-fonts cdr crypt cups curl dga
divx4linux dvd emboss encode esd fam flac font-server foomaticdb fortran gd gdbm
gif gmail gnome gphoto2 gpm gstreamer gtk gtk2 imagemagick imlib ipv6 jack java
jbig joystick jpeg kde kdeenablefinal ladspa libg++ libwww mad mikmod mmx motif
mp3 mpeg multitarget mysql ncurses nls nodrm nptl oggvorbis opengl osspam pdflib
perl pic png povray python qt quicktime readline real samba sdl slang sse ssl
svga tcpd tiff truetype truetype-fonts type1-fonts v4l xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Sophie Hamilton 2005-03-17 06:17:09 UTC
Posting to confirm that this error no longer occurs with pygtk-2.4.1. I get the following warning on startup but I think it's okay otherwise:

---
/usr/lib/transgaming_point2play/Point2Play_gui.py:292: DeprecationWarning: use gtk.UIManager
  self.widgets = { "menu_items": gtk.ItemFactory( gtk.MenuBar, "<main>", accel_group ) }
/usr/lib/transgaming_point2play/Point2Play_gui.py:439: GtkWarning: gtk_table_resize: assertion `n_rows > 0 && n_rows < 65536' failed
  self.widgets["test_area_table"] = gtk.Table(0, 2, False)
---

I recommend that the dependencies be changed as above.
Comment 2 SpanKY gentoo-dev 2005-03-17 06:40:06 UTC
forced >=2.4

thanks