First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 202921
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Python Gentoo Team <python@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: proglottis@nothing.co.nz
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 202921 depends on: Show dependency tree
Bug 202921 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-12-21 09:13 0000
Version 2.0.0.44 of pyopengl does not seem to load textures. Immediately breaks
out with an error. Upgrading to the ~amd64 version (2.0.0.44) seems to fix the
problem.

Reproducible: Always

Steps to Reproduce:
1.$ cd /usr/lib64/python2.5/site-packages/OpenGL/Demo/NeHe/
2.$ python lesson6.py


Actual Results:  
$ python lesson6.py
Hit ESC key to quit.
Traceback (most recent call last):
  File "lesson6.py", line 228, in <module>
    main()
  File "lesson6.py", line 221, in main
    InitGL(640, 480)
  File "lesson6.py", line 87, in InitGL
    LoadTextures()
  File "lesson6.py", line 76, in LoadTextures
    glTexImage2D(GL_TEXTURE_2D, 0, 3, ix, iy, 0, GL_RGBA, GL_UNSIGNED_BYTE,
image)
OpenGL.GL.GLerror: [Errno 1280] invalid enumerant

Expected Results:  
$ python lesson6.py
Hit ESC key to quit.

Should show a rotating cube with a NeHe texture.

$ emerge --info
Portage 2.1.3.19 (default-linux/amd64/2007.0/desktop, gcc-4.1.2,
glibc-2.6.1-r0, 2.6.23-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r3 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor
4400+
Timestamp of tree: Thu, 20 Dec 2007 03:31:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r7, 2.5.1-r4
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf
/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c
/etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms
strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en_GB en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi aim alsa amarok amazon amd64 arts aspell
aspnet aspnet2 bash-completion berkdb bitmap-fonts boo bzip2 cairo caps cddb
cdinstall cdparanoia cdr cli cracklib crypt css cups dbus dri dvd dvdr dvdread
eds emboss encode esd evo fam firefox flac foomaticdb fortran gdbm gif gimp
gimpprint gpm gstreamer hal iconv ipv6 isdnlog java joystick jpeg kde kerberos
latex ldap libsamplerate mad midi mikmod mmx mmxext mods mp3 mpeg mplayer
mudflap musicbrainz ncurses nls noqmax nptl nptlonly ogg openal opengl openmp
oss pam parport pcre pdf perl png povray ppds pppd python qmax qt3 qt3support
qt4 quicktime rar readline reflection rogue samba sdl session smp spell spl
sqlite sqlite3 sse sse2 ssl svg tcpd threads tiff truetype truetype-fonts
type1-fonts unicode unzip upnp usb v4l v4l2 videos vorbis wxwindows xatrix
xcomposite xine xml xorg xv zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm
alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa
lfloat linear meter mulaw multi null plug rate route share shm softvol"
APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm
authn_default authn_file authz_dbm authz_default authz_groupfile authz_host
authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir
disk_cache env expires ext_filter file_cache filter headers include info
log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling
status unique_id userdir usertrack vhost_alias" ELIBC="glibc"
INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz
cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en"
USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From Gilles Dartiguelongue 2007-12-21 09:58:35 0000 -------
With 2.0.1.09-r1 (and a full ~amd64 system), I get

# python lesson6.py
Traceback (most recent call last):
  File "lesson6.py", line 50, in <module>
    from Image import *
ImportError: No module named Image

something else must be wrong.

------- Comment #2 From proglottis@nothing.co.nz 2007-12-21 10:32:38 0000 -------
(In reply to comment #1)
> With 2.0.1.09-r1 (and a full ~amd64 system), I get
> 
> # python lesson6.py
> Traceback (most recent call last):
>   File "lesson6.py", line 50, in <module>
>     from Image import *
> ImportError: No module named Image
> 
> something else must be wrong.
> 

Your missing PIL. Emerging dev-python/imaging should fix that error.

------- Comment #3 From Tiziano Müller 2008-02-24 08:24:49 0000 -------
Ok, put pyopengl-3.0.0_beta1 in the tree. The Demos aren't included anymore,
but the mentioned demo from PyOpenGL-2.x works like a charm now (tested on
amd64).

------- Comment #4 From Hans Meine 2008-08-15 13:29:41 0000 -------
I just ran into the same error (with KeyJnote^H^H^H^H^H^H^H^HCENSORED); this
makes version 2.0.0.44 pretty much unusable on amd64.  However,
dev-python/pyopengl-2.0.1.09-r1 has this problem fixed, so what about marking
this stable on amd64?

First Last Prev Next    No search results available      Search page      Enter new bug