Re: [gtk-osx-devel] [gtk-osx-users] New Modulesets and gtk-mac-integration-2.0.3



On 10/02/2013 12:57 AM, John Ralls wrote:
On Oct 1, 2013, at 2:30 PM, Ronan Waide <waider gmail com> wrote:

Ok, it appears to have gotten past that and is now choking on the below - g-ir-scanner running in goocanvas2. 
I must dig the 10.7 box back out and try it on this tree as well.

Cheers,
Waider

<unknown>:: Warning: GooCanvas: (Signal)child-notify: context=Signal('child-notify') GLib.ParamSpec: Unknown 
type: 'GLib.ParamSpec'
Traceback (most recent call last):
  File "/Users/localwaider/gtk/inst/bin/g-ir-scanner", line 46, in <module>
    sys.exit(scanner_main(sys.argv))
  File "/Users/localwaider/gtk/inst/lib/gobject-introspection/giscanner/scannermain.py", line 486, in 
scanner_main
    final.validate()
  File "/Users/localwaider/gtk/inst/lib/gobject-introspection/giscanner/introspectablepass.py", line 37, in 
validate
    self._namespace.walk(self._analyze_node)
  File "/Users/localwaider/gtk/inst/lib/gobject-introspection/giscanner/ast.py", line 485, in walk
    node.walk(callback, [])
  File "/Users/localwaider/gtk/inst/lib/gobject-introspection/giscanner/ast.py", line 581, in walk
    self._walk(callback, chain)
  File "/Users/localwaider/gtk/inst/lib/gobject-introspection/giscanner/ast.py", line 1073, in _walk
    sig.walk(callback, chain)
  File "/Users/localwaider/gtk/inst/lib/gobject-introspection/giscanner/ast.py", line 576, in walk
    res = callback(self, chain)
  File "/Users/localwaider/gtk/inst/lib/gobject-introspection/giscanner/introspectablepass.py", line 189, in 
_analyze_node
    self._introspectable_param_analysis(obj, param)
  File "/Users/localwaider/gtk/inst/lib/gobject-introspection/giscanner/introspectablepass.py", line 83, in 
_introspectable_param_analysis
    "Unresolved type: %r" % (node.type.unresolved_string, ))
  File "/Users/localwaider/gtk/inst/lib/gobject-introspection/giscanner/ast.py", line 92, in unresolved_string
    assert False
AssertionError
That's weird. I wouldn't expect the compiler to have an effect on gi.

I have naively hacked around this; the assertion is occuring because unresolved_string is invoked to create a warning message, so I figured I'd replace the assertion with return None. This looks to be allowing me to continue the build for now; I'll circle back and see if I can figure out what's actually broken this.

cheers,
Waider.

--
waider gmail com / It's about as impersonal as you can get.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]