Re: Introspection Errors



On Tue, Jun 9, 2009 at 6:28 PM, Daniel Espinosa<esodan gmail com> wrote:
> I'm working to add GObject Introspection to GDA but g-ir-scanner returns the
> following error:
>
> Traceback (most recent call last):
>   File "/usr/bin/g-ir-scanner", line 39, in <module>
>     sys.exit(scanner_main(sys.argv))
>   File "/usr/lib/gobject-introspection/giscanner/scannermain.py", line 320,
> in scanner_main
>     glibtransformer.get_get_type_functions())
>   File "/usr/lib/gobject-introspection/giscanner/dumper.py", line 234, in
> compile_introspection_binary
>     return dc.run()
>   File "/usr/lib/gobject-introspection/giscanner/dumper.py", line 94, in run
>     print '  GEN   ' + self._options.output
> TypeError: cannot concatenate 'str' and 'NoneType' objects
>
>
>
> Is it a Bug?

Yes, it's caused by a missing --output option.  You can work around
this by specifying one, like --output=GDA-1.0.gir.  It's fixed in git
now by commit: 31317a9ffa31af959dd51eedfa2f31f586687475


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