Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Error on using gir #72

Open
wolfgangmauer opened this issue Oct 21, 2018 · 5 comments
Open

Error on using gir #72

wolfgangmauer opened this issue Oct 21, 2018 · 5 comments

Comments

@wolfgangmauer
Copy link

wolfgangmauer commented Oct 21, 2018

My first use of git generates the following error(warning?)
Where is my mistake?

mono ./Gir.exe ~/gtksourceview-3/gtksourceview/GtkSource-3.0.gir

Unhandled Exception:
System.Collections.Generic.KeyNotFoundException: The given key 'Gdk.Event' was not present in the dictionary.
at System.Collections.Generic.Dictionary2[TKey,TValue].get_Item (TKey key) [0x0001e] in <389c4d4236ae48b79e09300e03bb02e8>:0 at Gir.SymbolTable.get_Item (System.String type) [0x00000] in <efc50789cfd34fb3ace840b1a88b601b>:0 at Gir.Type.GetSymbol (Gir.GenerationOptions opts) [0x00007] in <efc50789cfd34fb3ace840b1a88b601b>:0 at Gir.ITypeOrArrayExtensions.Resolve (Gir.ITypeOrArray toResolve, Gir.GenerationOptions opts) [0x00022] in <efc50789cfd34fb3ace840b1a88b601b>:0 at Gir.IGeneratableExtensions.BuildParameters (Gir.IMethodLike callable, Gir.GenerationOptions opts, System.Boolean appendInstanceParameters) [0x00078] in <efc50789cfd34fb3ace840b1a88b601b>:0 at Gir.IGeneratableExtensions.GenerateImport (Gir.INativeCallable callable, Gir.IGeneratable parent, Gir.IndentWriter writer) [0x00010] in <efc50789cfd34fb3ace840b1a88b601b>:0 at Gir.IGeneratableExtensions.GenerateMembers (Gir.IGeneratable gen, Gir.IndentWriter writer, System.Func2[T,TResult] where) [0x00051] in :0
at Gir.Class.Generate (Gir.GenerationOptions opts) [0x000d3] in :0
at Gir.MainClass.Main (System.String[] args) [0x000b8] in :0
[ERROR] FATAL UNHANDLED EXCEPTION: System.Collections.Generic.KeyNotFoundException: The given key 'Gdk.Event' was not present in the dictionary.
at System.Collections.Generic.Dictionary2[TKey,TValue].get_Item (TKey key) [0x0001e] in <389c4d4236ae48b79e09300e03bb02e8>:0 at Gir.SymbolTable.get_Item (System.String type) [0x00000] in <efc50789cfd34fb3ace840b1a88b601b>:0 at Gir.Type.GetSymbol (Gir.GenerationOptions opts) [0x00007] in <efc50789cfd34fb3ace840b1a88b601b>:0 at Gir.ITypeOrArrayExtensions.Resolve (Gir.ITypeOrArray toResolve, Gir.GenerationOptions opts) [0x00022] in <efc50789cfd34fb3ace840b1a88b601b>:0 at Gir.IGeneratableExtensions.BuildParameters (Gir.IMethodLike callable, Gir.GenerationOptions opts, System.Boolean appendInstanceParameters) [0x00078] in <efc50789cfd34fb3ace840b1a88b601b>:0 at Gir.IGeneratableExtensions.GenerateImport (Gir.INativeCallable callable, Gir.IGeneratable parent, Gir.IndentWriter writer) [0x00010] in <efc50789cfd34fb3ace840b1a88b601b>:0 at Gir.IGeneratableExtensions.GenerateMembers (Gir.IGeneratable gen, Gir.IndentWriter writer, System.Func2[T,TResult] where) [0x00051] in :0
at Gir.Class.Generate (Gir.GenerationOptions opts) [0x000d3] in :0
at Gir.MainClass.Main (System.String[] args) [0x000b8] in :0

@decriptor
Copy link
Contributor

@wolfgangmauer Thanks for the issue. As we have time we are trying to bring this effort to 1.0. It isn't useful... yet :)

@decriptor
Copy link
Contributor

Would you mind including the gir file however.

@wolfgangmauer
Copy link
Author

wolfgangmauer commented Jan 25, 2019 via email

@decriptor
Copy link
Contributor

Maybe just a link would work. I assume it is up somewhere public?

@Dadoum
Copy link

Dadoum commented Dec 8, 2019

https://dpaste.org/EZF0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants