On Tue, Mar 09, 2004 at 12:02:31PM -0600, John Hunter wrote:
>
> I just installed gtk+-2.2.4 and pygtk-2.0.0 from src on OS X 10.3.
> Most everything works properly, but I find any call to gtk.ProgressBar
> raises
>
> SystemError: NULL result without error in PyObject_Call
>
> Has anyone seen this before or have any ideas for a fix?
>
> import pygtk
> pygtk.require('2.0')
> import gtk
>
> progBar = gtk.ProgressBar()
is it raising the error here,
> progBar.set_size_request(10, 100)
or here? You said "any call", which makes me wonder what specifically.
I trust this runs on other platforms, so let's look this through a bit
more. First, it would be great if we found out *which* method/function
call we're failing; the message is generated inside PyObject_Call (see
Python/Objects/abstract.c) and indicates that we called a function that
returned NULL but didn't set up an exception. There are a number of
other similar errors in other situations archived:
http://www.google.com/search?q=pyobject_call+%22null+result+without+error%22&hl=en&lr=&ie=UTF-8&oe=UTF-8&safe=off&start=10&sa=N
Can you get a stacktrace from where the error is generated? I'd suggest
you file a bug [with stacktrace and testcase attached] to ensure this
isn't forgotten, at any rate.
Take care,
--
Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 261 2331
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/