Jump to content

Problem with PyOpenGL

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
2 replies to this topic

#1
madjak

madjak

    Newbie

  • Members
  • Pip
  • 1 posts
I've been stuck on this problem for a while now, so I'd really appreciate any help.

I'm trying to run code that ran fine on a different computer. This is in Python, btw.

This line:
glTexImage2D(GL_TEXTURE_2D, 0, 3, each.w, each.h, 0, GL_RGBA, GL_UNSIGNED_BYTE, each.image)

Gives this error:
OpenGL\arrays\arraydatatype.py", line 36, in getHandler
typ, repr(value)[:50]
TypeError: No array-type handler for type <type 'str'> (value: 'Zw#\xff]\x83,\xffi\x850\xffTx\x1e\xffFm\x12\xffYz) registered

Does anyone please know what that means?

#2
owenclivet

owenclivet

    Newbie

  • Members
  • Pip
  • 4 posts
same problem i had mate
but it will be fine

#3
owenclivet

owenclivet

    Newbie

  • Members
  • Pip
  • 4 posts
hi my name is owen
new here
Acne treatment review cute myspace layouts and graphics