I seem to have a problem running 'ShaderMan.Next' under Fedora 7
(x86_64), and was wondering if anyone can confirm it?
Traceback (most recent call last):
File "prototype.py", line 1312, in <module>
InitNodeDraw()
File "/home/renderguy/Desktop/shaderman/core/node_draw.py", line 47,
in InitNodeDraw
hcolor = wx.Colour(hrgb[0], hrgb[1], hrgb[2])
File "/usr/lib64/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/
_gdi.py", line 114, in __init__
_gdi_.Colour_swiginit(self,_gdi_.new_Colour(*args, **kwargs))
OverflowError: in method 'new_Colour', expected argument 1 of type
'byte'
Python (2.5), PyOpenGL (3.0.0) and wxPython (2.8.4) have all been
installed via the default/official YUM repository.
Many thanks in advance.
I believe this might be a result of RGB/HSV convertion overflow. I've
checked in a small fix for /core/node_draw.py, please grab it a let me
know if you still see the error message.
Alexei
The GUI now displays/loads (progress), but if I do anything within the
'node' area ShaderMan closes and generates the following error
message...
The program 'python' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
(Details: serial 1122 error_code 8 request_code 70 minor_code 0)
(Note to programmers: normally, X errors are reported
asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error()
function.)
Trying to execute 'prototype.py' after this results in immediate
failure, generating the same message, though using the 'clear' command
within my console/terminal window seems to reset this issue - Allowing
me to see the GUI again, until the next time it falls-over.
On a side note...
The menus themselves work correctly, without crashing, though if I use
the 'Exit' menu item or close the window I am kicked out of my desktop
session (Gnome)! :-s
Let me know if you need anything further.
On Aug 11, 11:17 pm, "Alexei Puzikov" <puzi...@gmail.com> wrote:
> Hi,
>
> I believe this might be a result of RGB/HSV convertion overflow. I've
> checked in a small fix for /core/node_draw.py, please grab it a let me
> know if you still see the error message.
>
> Alexei
>