[Python-talk] mat3d error
Labitt, Bruce
labittb1 at tycoelectronics.com
Thu Sep 11 17:37:53 EDT 2008
OK, found that. I needed a tab, instead of two spaces. Jeesh.
Width is: 640.
Height is: 480.
GL_RGB is: GL_RGB (6407)
GL_UNSIGNED_BYTE is: GL_UNSIGNED_BYTE (5121)
how is an unsigned byte > 255 ?
-Bruce
-----Original Message-----
From: python-talk-bounces at dlslug.org
[mailto:python-talk-bounces at dlslug.org] On Behalf Of Labitt, Bruce
Sent: Thursday, September 11, 2008 5:12 PM
To: Python
Cc: python-talk at dlslug.org
Subject: Re: [Python-talk] mat3d error
I thought I fixed that. Now I'm getting
IndentationError: unindent does not match any outer indentation level
-Bruce
-----Original Message-----
From: Python [mailto:python at venix.com]
Sent: Thursday, September 11, 2008 4:54 PM
To: Labitt, Bruce
Cc: python-talk at dlslug.org
Subject: RE: [Python-talk] mat3d error
Python is sensitive to leading space. The indentation of your source
code is not just pretty printing. It defines the nesting of your code
blocks.
I presume that print was too far to the left or right. Line the first
character up exactly with line 645 below it. (A fixed width font
helps.)
On Thu, 2008-09-11 at 16:41 -0400, Labitt, Bruce wrote:
> But I get the following error:
> print "width is:", width
> ^
>
> SyntaxError: invalid syntax
>
> What am I doing wrong?
>
> -Bruce
>
> -----Original Message-----
> From: python-talk-bounces at dlslug.org
> [mailto:python-talk-bounces at dlslug.org] On Behalf Of Labitt, Bruce
> Sent: Thursday, September 11, 2008 4:33 PM
> To: Python
> Cc: python-talk at dlslug.org
> Subject: Re: [Python-talk] mat3d error
>
> Umm, I figured out the line # part
>
>
> Could you add the line
> print "width is:", width
> into the mat3d.py file to send some debugging info to the console?
>
> [Labitt, Bruce] Thanks
> _______________________________________________
> Python-talk mailing list
> Python-talk at dlslug.org
> http://dlslug.org/mailman/listinfo/python-talk
--
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://dlslug.org/library.html
http://www.librarything.com/catalog/dlslug
http://www.librarything.com/rsshtml/recent/dlslug
http://www.librarything.com/rss/recent/dlslug
_______________________________________________
Python-talk mailing list
Python-talk at dlslug.org
http://dlslug.org/mailman/listinfo/python-talk
More information about the Python-talk
mailing list