Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 39622 - Can't launch media-gfx/sketch-0.6.15. An error that seems related to python-2.3.3 is displayed
Summary: Can't launch media-gfx/sketch-0.6.15. An error that seems related to python-2...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High critical
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-27 16:19 UTC by Nuno Araujo
Modified: 2004-02-09 15:00 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 Nuno Araujo 2004-01-27 16:19:47 UTC
Once I emerged sketch and i tried to run it from the console the following messages were displayed:

/usr/lib/sketch-0.6.15/Sketch/Graphics/graphics.py:1245: FutureWarning: hex/oct constants > sys.maxint will return positive values in Python 2.4 and up
  self.gc = widget.CreateGC(foreground = 0xFFFFFFFF,
Traceback (most recent call last):
  File "/usr/bin/sketch", line 34, in ?
    Sketch.main.main()
  File "/usr/lib/sketch-0.6.15/Sketch/Base/main.py", line 148, in main
    run_script = options.run_script)
  File "/usr/lib/sketch-0.6.15/Sketch/UI/skapp.py", line 181, in __init__
    geometry = geometry)
  File "/usr/lib/sketch-0.6.15/Sketch/UI/skapp.py", line 100, in __init__
    self.init_tk(screen_name, geometry)
  File "/usr/lib/sketch-0.6.15/Sketch/UI/skapp.py", line 210, in init_tk
    geometry = geometry)
  File "/usr/lib/sketch-0.6.15/Sketch/UI/skapp.py", line 105, in init_tk
    className = self.tk_class_name)
  File "/usr/lib/python2.3/lib-tk/Tkinter.py", line 1565, in __init__
    self.tk.wantobjects(wantobjects)
AttributeError: wantobjects


I was able to run sketch before having installed python-2.3 and there were no problems. But I can't tell for sure that it has something to do with it, since I didn't run sketch for quite a while now.

I did run the python-updater script once I emerged the 2.3.3 version of python.

Reproducible: Always
Steps to Reproduce:
1. emerge sketch
2. launch it from the console
3.

Actual Results:  
Explained before.



Expected Results:  
Should run :-)

Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.4.23-ck1)
=================================================================
System uname: 2.4.23-ck1 i686 Intel(R) Pentium(R) M processor 1700MHz
Gentoo Base System version 1.4.3.10p1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-Os -march=pentium4 -pipe -fomit-frame-pointer -mfpmath=sse -mmmx -msse
-msse2"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-Os -march=pentium4 -pipe -fomit-frame-pointer -mfpmath=sse -mmmx
-msse -msse2"
DISTDIR="/home/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/
ftp://sunsite.cnlab-switch.ch/mirror/gentoo/
ftp://ibiblio.org/pub/Linux/distributions/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acpi alsa altivec apache2 apm avi berkdb bluetooth bonobo cdr crypt
cscope cups dga doc dvd encode esd ethereal evo flash foomaticdb gb gd gdbm ggi
gif gnome gnomedb gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hbci imap imlib
innodb java javascript jikes jpeg junit lcms ldap leim libg++ libgda libwww mad
mdb mikmod mmx motif moynocompose moynoirc moynomail mozilla mozsvg mpeg mule
mysql ncurses nls odbc offensive ofx oggvorbis opengl oss pam pcmcia pda pdflib
perl plotutils png pnp ppds python qt quicktime radeon readline samba sasl
scanner sdl slp spell sse ssl stencil-buffer svga tcltk tcpd tetex tiff truetype
usb v4l videos wmf wxwindows x86 xinerama xml xml2 xmms xv zeo zlib
video_cards_radeon video_cards_rage128"
Comment 1 Ed Catmur 2004-01-28 13:22:28 UTC
OK, you need to switch to skencil, the new name for sketch.
That is, emerge unmerge sketch && emerge skencil
The latest version of skencil in Portage, skencil-0.6.16_pre3, works with Python 2.3. However it is currently marked unstable.
Comment 2 Hanno Böck gentoo-dev 2004-02-09 15:00:29 UTC
skencil 0.6.16_pre3 is now stable. sketch will be removed.