Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: undeclared identifier: 'DBusProxyClass00' #51

Closed
mrhdias opened this issue Jul 15, 2019 · 7 comments
Closed

Error: undeclared identifier: 'DBusProxyClass00' #51

mrhdias opened this issue Jul 15, 2019 · 7 comments

Comments

@mrhdias
Copy link

mrhdias commented Jul 15, 2019

/home/hdias/.nimble/pkgs/gintro-0.5.2/gintro/gtk.nim(49761, 23) Error: undeclared identifier: 'DBusProxyClass00'

@StefanSalewski
Copy link
Owner

That is a strange bug.

Have you used gintro before?

For latest v0.5.2 I have restricted the generation of unneeded class structs, that may be the cause for your error. But that should be fine, as there should be no reference to the class structs, they just waste disk space and increase compile time. And for me that works fine, maybe for others too, as you are the only reporter of this issue. And the line number for gtk module is very high, so I assume it is an rare error.

Please compile you program with "nim check myprog.nim" to get all error messages, so that we can see if there are more undefined symbols. If there are only a few, do "grep DBusProxyClass ~/.nimble/pkgs/gintro-0.5.2/gintro/*".

If there is only a single reference to that symbol, you may try to fix that manually, open ~/.nimble/pkgs/gintro-0.5.2/gintro/gtk.nim with an text editor, search for reference and delete that proc or whatever it is.

Are you sure your computer is in an valid state? Have you removed all older gintro versions before installing latest 0.5.2? Have you manually mixed different gtk versions somehow?

You may also try to install the version one before latest, that is 0.5.1. Should be identical to latest, but has all the class structs.

I am not sure how nimble command is, maybe 'nimble install gintro@" = 0.5.1"'
(But remove other gintro stuff before.)

If all that should not help, there is now a wNim package available, some people seems to like it, see

https://forum.nim-lang.org/t/4185 :-)

@mrhdias
Copy link
Author

mrhdias commented Jul 16, 2019

Compilation result with check.

hdias  ~/D/garlicterm    nim check src/garlicterm.nim                                                                              Tue 16 Jul 2019 03:33:59 PM WEST
Hint: used config file '/home/hdias/.choosenim/toolchains/nim-0.20.0/config/nim.cfg' [Conf]
Hint: system [Processing]
Hint: widestrs [Processing]
Hint: io [Processing]
Hint: garlicterm [Processing]
Hint: gtk [Processing]
Hint: xlib [Processing]
Hint: glib [Processing]
Hint: gdk [Processing]
Hint: gobject [Processing]
Hint: times [Processing]
Hint: strutils [Processing]
Hint: parseutils [Processing]
Hint: math [Processing]
Hint: bitops [Processing]
Hint: macros [Processing]
Hint: algorithm [Processing]
Hint: unicode [Processing]
Hint: options [Processing]
Hint: typetraits [Processing]
Hint: posix [Processing]
Hint: gdkpixbuf [Processing]
Hint: gio [Processing]
Hint: gmodule [Processing]
Hint: pango [Processing]
Hint: cairo [Processing]
Hint: atk [Processing]
/home/hdias/.nimble/pkgs/gintro-0.5.2/gintro/gtk.nim(49761, 23) Error: undeclared identifier: 'DBusProxyClass00'
/home/hdias/.nimble/pkgs/gintro-0.5.2/gintro/gtk.nim(49761, 22) Error: type expected
/home/hdias/.nimble/pkgs/gintro-0.5.2/gintro/gtk.nim(49779, 23) Error: undeclared identifier: 'DBusInterfaceSkeletonClass00'
/home/hdias/.nimble/pkgs/gintro-0.5.2/gintro/gtk.nim(49779, 22) Error: type expected
Hint: vte [Processing]
Hint: os [Processing]
Hint: pathnorm [Processing]
Hint: osseps [Processing]
Hint: parsecfg [Processing]
Hint: lexbase [Processing]
Hint: streams [Processing]
Hint: tables [Processing]
Hint: hashes [Processing]
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(308, 11) Error: undeclared identifier: 'initImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(308, 3) Error: undeclared identifier: 'initImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(259, 21) Error: undeclared identifier: 'rawGet'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(259, 15) Error: undeclared identifier: 'rawGet'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(259, 21) Error: undeclared identifier: 'rawGet'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(259, 15) Error: undeclared identifier: 'rawGet'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(379, 10) Error: undeclared identifier: 'putImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(379, 3) Error: undeclared identifier: 'putImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(397, 18) Error: undeclared identifier: 'rawGet'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(397, 12) Error: undeclared identifier: 'rawGet'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(427, 18) Error: undeclared identifier: 'hasKeyOrPutImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(427, 3) Error: undeclared identifier: 'hasKeyOrPutImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(446, 19) Error: undeclared identifier: 'getOrDefaultImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(446, 3) Error: undeclared identifier: 'getOrDefaultImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(464, 19) Error: undeclared identifier: 'getOrDefaultImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(464, 3) Error: undeclared identifier: 'getOrDefaultImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(484, 16) Error: undeclared identifier: 'mgetOrPutImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(484, 3) Error: undeclared identifier: 'mgetOrPutImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(501, 10) Error: undeclared identifier: 'addImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(501, 3) Error: undeclared identifier: 'addImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(516, 10) Error: undeclared identifier: 'delImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(516, 3) Error: undeclared identifier: 'delImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(540, 21) Error: undeclared identifier: 'rawGet'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(540, 15) Error: undeclared identifier: 'rawGet'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(544, 15) Error: undeclared identifier: 'delImplIdx'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(544, 5) Error: undeclared identifier: 'delImplIdx'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(558, 12) Error: undeclared identifier: 'clearImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(558, 3) Error: undeclared identifier: 'clearImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(563, 13) Error: undeclared identifier: 'dollarImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(563, 3) Error: undeclared identifier: 'dollarImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(574, 13) Error: undeclared identifier: 'equalsImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(574, 3) Error: undeclared identifier: 'equalsImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(776, 24) Error: undeclared identifier: 'genHash'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(776, 17) Error: undeclared identifier: 'genHash'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1051, 12) Error: undeclared identifier: 'clearImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1051, 3) Error: undeclared identifier: 'clearImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1056, 13) Error: undeclared identifier: 'dollarImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1056, 3) Error: undeclared identifier: 'dollarImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1070, 19) Error: undeclared identifier: 'equalsImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1070, 9) Error: undeclared identifier: 'equalsImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1221, 20) Error: undeclared identifier: 'rawGetKnownHCImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1221, 3) Error: undeclared identifier: 'rawGetKnownHCImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1224, 17) Error: undeclared identifier: 'rawGetDeepImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1224, 3) Error: undeclared identifier: 'rawGetDeepImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1227, 13) Error: undeclared identifier: 'rawGetImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1227, 3) Error: undeclared identifier: 'rawGetImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1232, 16) Error: undeclared identifier: 'rawInsertImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1232, 3) Error: undeclared identifier: 'rawInsertImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1284, 11) Error: undeclared identifier: 'initImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1284, 3) Error: undeclared identifier: 'initImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1359, 10) Error: undeclared identifier: 'putImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1359, 3) Error: undeclared identifier: 'putImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1408, 18) Error: undeclared identifier: 'hasKeyOrPutImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1408, 3) Error: undeclared identifier: 'hasKeyOrPutImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1427, 19) Error: undeclared identifier: 'getOrDefaultImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1427, 3) Error: undeclared identifier: 'getOrDefaultImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1445, 19) Error: undeclared identifier: 'getOrDefaultImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1445, 3) Error: undeclared identifier: 'getOrDefaultImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1465, 16) Error: undeclared identifier: 'mgetOrPutImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1465, 3) Error: undeclared identifier: 'mgetOrPutImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1482, 10) Error: undeclared identifier: 'addImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1482, 3) Error: undeclared identifier: 'addImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1504, 19) Error: undeclared identifier: 'genHash'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1504, 12) Error: undeclared identifier: 'genHash'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1526, 12) Error: undeclared identifier: 'clearImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1526, 3) Error: undeclared identifier: 'clearImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1591, 13) Error: undeclared identifier: 'dollarImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1591, 3) Error: undeclared identifier: 'dollarImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1990, 13) Error: undeclared identifier: 'dollarImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1990, 3) Error: undeclared identifier: 'dollarImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(2196, 11) Error: undeclared identifier: 'initImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(2196, 3) Error: undeclared identifier: 'initImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(2239, 15) Error: undeclared identifier: 'insertImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(2239, 5) Error: undeclared identifier: 'insertImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(2255, 15) Error: undeclared identifier: 'insertImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(2255, 5) Error: undeclared identifier: 'insertImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(2315, 12) Error: undeclared identifier: 'clearImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(2315, 3) Error: undeclared identifier: 'clearImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(2370, 13) Error: undeclared identifier: 'dollarImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(2370, 3) Error: undeclared identifier: 'dollarImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(2375, 13) Error: undeclared identifier: 'equalsImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(2375, 3) Error: undeclared identifier: 'equalsImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(2605, 12) Error: undeclared identifier: 'clearImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(2605, 3) Error: undeclared identifier: 'clearImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(2632, 13) Error: undeclared identifier: 'dollarImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(2632, 3) Error: undeclared identifier: 'dollarImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/parsecfg.nim(447, 27) template/generic instantiation of `newOrderedTable` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1759, 36) template/generic instantiation of `initOrderedTable` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1284, 3) Error: undeclared identifier: 'initImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/parsecfg.nim(447, 27) template/generic instantiation of `newOrderedTable` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1759, 36) template/generic instantiation of `initOrderedTable` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1284, 11) Error: attempting to call routine: 'initImpl'
  found 'initImpl' of kind 'unknown'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/parsecfg.nim(447, 27) template/generic instantiation of `newOrderedTable` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1759, 36) template/generic instantiation of `initOrderedTable` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1284, 11) Error: attempting to call routine: 'initImpl'
  found 'initImpl' of kind 'unknown'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/parsecfg.nim(447, 27) template/generic instantiation of `newOrderedTable` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1759, 36) template/generic instantiation of `initOrderedTable` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1284, 11) Error: expression 'initImpl' cannot be called
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/parsecfg.nim(447, 27) template/generic instantiation of `newOrderedTable` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1776, 39) template/generic instantiation of `add` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1938, 6) template/generic instantiation of `add` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1482, 3) Error: undeclared identifier: 'addImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/parsecfg.nim(447, 27) template/generic instantiation of `newOrderedTable` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1776, 39) template/generic instantiation of `add` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1938, 6) template/generic instantiation of `add` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1482, 10) Error: attempting to call routine: 'addImpl'
  found 'addImpl' of kind 'unknown'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/parsecfg.nim(447, 27) template/generic instantiation of `newOrderedTable` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1776, 39) template/generic instantiation of `add` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1938, 6) template/generic instantiation of `add` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1482, 10) Error: attempting to call routine: 'addImpl'
  found 'addImpl' of kind 'unknown'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/parsecfg.nim(447, 27) template/generic instantiation of `newOrderedTable` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1776, 39) template/generic instantiation of `add` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1938, 6) template/generic instantiation of `add` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1482, 10) Error: expression 'addImpl' cannot be called
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/parsecfg.nim(466, 30) template/generic instantiation of `newOrderedTable` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1759, 36) template/generic instantiation of `initOrderedTable` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1284, 11) Error: attempting to call routine: 'initImpl'
  found 'initImpl' of kind 'unknown'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/parsecfg.nim(466, 30) template/generic instantiation of `newOrderedTable` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1759, 36) template/generic instantiation of `initOrderedTable` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1284, 11) Error: attempting to call routine: 'initImpl'
  found 'initImpl' of kind 'unknown'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/parsecfg.nim(466, 30) template/generic instantiation of `newOrderedTable` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1759, 36) template/generic instantiation of `initOrderedTable` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1284, 11) Error: expression 'initImpl' cannot be called
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/parsecfg.nim(466, 30) template/generic instantiation of `newOrderedTable` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1776, 39) template/generic instantiation of `add` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1938, 6) template/generic instantiation of `add` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1482, 10) Error: attempting to call routine: 'addImpl'
  found 'addImpl' of kind 'unknown'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/parsecfg.nim(466, 30) template/generic instantiation of `newOrderedTable` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1776, 39) template/generic instantiation of `add` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1938, 6) template/generic instantiation of `add` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1482, 10) Error: attempting to call routine: 'addImpl'
  found 'addImpl' of kind 'unknown'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/parsecfg.nim(466, 30) template/generic instantiation of `newOrderedTable` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1776, 39) template/generic instantiation of `add` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1938, 6) template/generic instantiation of `add` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1482, 10) Error: expression 'addImpl' cannot be called
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/parsecfg.nim(467, 14) template/generic instantiation of `hasKey` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1834, 15) template/generic instantiation of `hasKey` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1378, 18) template/generic instantiation of `rawGet` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1227, 3) Error: undeclared identifier: 'rawGetImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/parsecfg.nim(467, 14) template/generic instantiation of `hasKey` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1834, 15) template/generic instantiation of `hasKey` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1378, 18) template/generic instantiation of `rawGet` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1227, 13) Error: attempting to call routine: 'rawGetImpl'
  found 'rawGetImpl' of kind 'unknown'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/parsecfg.nim(467, 14) template/generic instantiation of `hasKey` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1834, 15) template/generic instantiation of `hasKey` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1378, 18) template/generic instantiation of `rawGet` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1227, 13) Error: attempting to call routine: 'rawGetImpl'
  found 'rawGetImpl' of kind 'unknown'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/parsecfg.nim(467, 14) template/generic instantiation of `hasKey` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1834, 15) template/generic instantiation of `hasKey` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1378, 18) template/generic instantiation of `rawGet` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1227, 13) Error: expression 'rawGetImpl' cannot be called
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/parsecfg.nim(467, 14) template/generic instantiation of `hasKey` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1834, 15) template/generic instantiation of `hasKey` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1378, 18) template/generic instantiation of `rawGet` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1227, 13) Error: illformed AST: 
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/parsecfg.nim(566, 21) template/generic instantiation of `hasKey` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1834, 15) template/generic instantiation of `hasKey` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1378, 18) template/generic instantiation of `rawGet` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1227, 13) Error: attempting to call routine: 'rawGetImpl'
  found 'rawGetImpl' of kind 'unknown'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/parsecfg.nim(566, 21) template/generic instantiation of `hasKey` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1834, 15) template/generic instantiation of `hasKey` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1378, 18) template/generic instantiation of `rawGet` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1227, 13) Error: attempting to call routine: 'rawGetImpl'
  found 'rawGetImpl' of kind 'unknown'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/parsecfg.nim(566, 21) template/generic instantiation of `hasKey` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1834, 15) template/generic instantiation of `hasKey` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1378, 18) template/generic instantiation of `rawGet` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1227, 13) Error: expression 'rawGetImpl' cannot be called
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/parsecfg.nim(566, 21) template/generic instantiation of `hasKey` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1834, 15) template/generic instantiation of `hasKey` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1378, 18) template/generic instantiation of `rawGet` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1227, 13) Error: illformed AST: 
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/parsecfg.nim(578, 4) template/generic instantiation of `[]=` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1816, 12) template/generic instantiation of `[]=` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1359, 3) Error: undeclared identifier: 'putImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/parsecfg.nim(578, 4) template/generic instantiation of `[]=` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1816, 12) template/generic instantiation of `[]=` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1359, 10) Error: attempting to call routine: 'putImpl'
  found 'putImpl' of kind 'unknown'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/parsecfg.nim(578, 4) template/generic instantiation of `[]=` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1816, 12) template/generic instantiation of `[]=` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1359, 10) Error: attempting to call routine: 'putImpl'
  found 'putImpl' of kind 'unknown'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/parsecfg.nim(578, 4) template/generic instantiation of `[]=` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1816, 12) template/generic instantiation of `[]=` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1359, 10) Error: expression 'putImpl' cannot be called
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/parsecfg.nim(579, 7) template/generic instantiation of `[]=` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1816, 12) template/generic instantiation of `[]=` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1359, 10) Error: attempting to call routine: 'putImpl'
  found 'putImpl' of kind 'unknown'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/parsecfg.nim(579, 7) template/generic instantiation of `[]=` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1816, 12) template/generic instantiation of `[]=` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1359, 10) Error: attempting to call routine: 'putImpl'
  found 'putImpl' of kind 'unknown'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/parsecfg.nim(579, 7) template/generic instantiation of `[]=` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1816, 12) template/generic instantiation of `[]=` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1359, 10) Error: expression 'putImpl' cannot be called
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/parsecfg.nim(583, 7) template/generic instantiation of `del` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1952, 6) template/generic instantiation of `del` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1504, 12) Error: undeclared identifier: 'genHash'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/parsecfg.nim(583, 7) template/generic instantiation of `del` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1952, 6) template/generic instantiation of `del` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1504, 19) Error: attempting to call routine: 'genHash'
  found 'genHash' of kind 'unknown'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/parsecfg.nim(583, 7) template/generic instantiation of `del` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1952, 6) template/generic instantiation of `del` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1504, 19) Error: attempting to call routine: 'genHash'
  found 'genHash' of kind 'unknown'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/parsecfg.nim(583, 7) template/generic instantiation of `del` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1952, 6) template/generic instantiation of `del` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1504, 19) Error: expression 'genHash' cannot be called
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/parsecfg.nim(583, 7) template/generic instantiation of `del` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1952, 6) template/generic instantiation of `del` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1511, 35) template/generic instantiation of `rawGetKnownHC` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1221, 3) Error: undeclared identifier: 'rawGetKnownHCImpl'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/parsecfg.nim(583, 7) template/generic instantiation of `del` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1952, 6) template/generic instantiation of `del` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1511, 35) template/generic instantiation of `rawGetKnownHC` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1221, 20) Error: attempting to call routine: 'rawGetKnownHCImpl'
  found 'rawGetKnownHCImpl' of kind 'unknown'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/parsecfg.nim(583, 7) template/generic instantiation of `del` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1952, 6) template/generic instantiation of `del` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1511, 35) template/generic instantiation of `rawGetKnownHC` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1221, 20) Error: attempting to call routine: 'rawGetKnownHCImpl'
  found 'rawGetKnownHCImpl' of kind 'unknown'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/parsecfg.nim(583, 7) template/generic instantiation of `del` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1952, 6) template/generic instantiation of `del` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1511, 35) template/generic instantiation of `rawGetKnownHC` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1221, 20) Error: expression 'rawGetKnownHCImpl' cannot be called
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/parsecfg.nim(583, 7) template/generic instantiation of `del` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1952, 6) template/generic instantiation of `del` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1511, 35) template/generic instantiation of `rawGetKnownHC` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1221, 20) Error: illformed AST: 
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/parsecfg.nim(592, 22) template/generic instantiation of `del` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1952, 6) template/generic instantiation of `del` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1504, 19) Error: attempting to call routine: 'genHash'
  found 'genHash' of kind 'unknown'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/parsecfg.nim(592, 22) template/generic instantiation of `del` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1952, 6) template/generic instantiation of `del` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1504, 19) Error: attempting to call routine: 'genHash'
  found 'genHash' of kind 'unknown'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/parsecfg.nim(592, 22) template/generic instantiation of `del` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1952, 6) template/generic instantiation of `del` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1504, 19) Error: expression 'genHash' cannot be called
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/parsecfg.nim(592, 22) template/generic instantiation of `del` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1952, 6) template/generic instantiation of `del` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1511, 35) template/generic instantiation of `rawGetKnownHC` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1221, 20) Error: attempting to call routine: 'rawGetKnownHCImpl'
  found 'rawGetKnownHCImpl' of kind 'unknown'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/parsecfg.nim(592, 22) template/generic instantiation of `del` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1952, 6) template/generic instantiation of `del` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1511, 35) template/generic instantiation of `rawGetKnownHC` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1221, 20) Error: attempting to call routine: 'rawGetKnownHCImpl'
  found 'rawGetKnownHCImpl' of kind 'unknown'
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/parsecfg.nim(592, 22) template/generic instantiation of `del` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1952, 6) template/generic instantiation of `del` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1511, 35) template/generic instantiation of `rawGetKnownHC` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1221, 20) Error: expression 'rawGetKnownHCImpl' cannot be called
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/parsecfg.nim(592, 22) template/generic instantiation of `del` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1952, 6) template/generic instantiation of `del` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1511, 35) template/generic instantiation of `rawGetKnownHC` from here
/home/hdias/.choosenim/toolchains/nim-0.20.0/lib/pure/collections/tables.nim(1221, 20) Error: illformed AST: 
/home/hdias/Downloads/garlicterm/src/garlicterm.nim(57, 11) Error: type mismatch: got <Window, string, proc (win: Window){.noSideEffect, gcsafe, locks: 0.}>
but expected one of: 
proc connect(self: Socket; address: SocketAddress; cancellable: Cancellable = nil): bool
  first type mismatch at position: 1
  required type: Socket
  but expression 'window' is of type: Window
proc connect(self: Proxy; connection: IOStream; proxyAddress: ProxyAddress;
            cancellable: Cancellable = nil): IOStream
  first type mismatch at position: 1
  required type: Proxy
  but expression 'window' is of type: Window
proc connect(self: Cancellable; callback: Callback; data: pointer;
            dataDestroyFunc: DestroyNotify): uint64
  first type mismatch at position: 1
  required type: Cancellable
  but expression 'window' is of type: Window
proc connect(self: SocketClient; connectable: SocketConnectable | NetworkService |
    UnixSocketAddress | ProxyAddress | InetSocketAddress | NetworkAddress |
    SocketAddress; cancellable: Cancellable = nil): SocketConnection
  first type mismatch at position: 1
  required type: SocketClient
  but expression 'window' is of type: Window
proc connect(self: SocketConnection; address: SocketAddress;
            cancellable: Cancellable = nil): bool
  first type mismatch at position: 1
  required type: SocketConnection
  but expression 'window' is of type: Window
proc connect(self: AccelGroup; accelKey: int; accelMods: gdk.ModifierType;
            accelFlags: AccelFlags; closure: gobject.Closure)
  first type mismatch at position: 1
  required type: AccelGroup
  but expression 'window' is of type: Window

expression: connect(window, "destroy", app_exit)
/home/hdias/Downloads/garlicterm/src/garlicterm.nim(94, 20) Error: type mismatch: got <Terminal, PtyFlags, string, cstringArray, nil, set[SpawnFlag], nil, nil, int, nil>
but expected one of: 
proc spawnSync(self: Terminal; ptyFlags: PtyFlags; workingDirectory: cstring = "";
              argv: openArray[string]; envv: openArray[string];
              spawnFlags: glib.SpawnFlags; childSetup: SpawnChildSetupFunc;
              childSetupData: pointer; childPid: var int;
              cancellable: gio.Cancellable = nil): bool
  first type mismatch at position: 4
  required type: openarray[string]
  but expression 'cast[cstringArray](unsafeAddr(cmd))' is of type: cstringArray
1 other mismatching symbols have been suppressed; compile with --showAllMismatches:on to see them

expression: spawnSync(terminal, cast[PtyFlags](0), "", cast[cstringArray](unsafeAddr(cmd)), nil,
          {leaveDescriptorsOpen}, nil, nil, pid, nil)
/home/hdias/Downloads/garlicterm/src/garlicterm.nim(114, 13) Error: type mismatch: got <Terminal, string, proc (widget: Terminal, window: Window){.noSideEffect, gcsafe, locks: 0.}, Window>
but expected one of: 
proc connect(self: Socket; address: SocketAddress; cancellable: Cancellable = nil): bool
  first type mismatch at position: 1
  required type: Socket
  but expression 'terminal' is of type: Terminal
proc connect(self: Proxy; connection: IOStream; proxyAddress: ProxyAddress;
            cancellable: Cancellable = nil): IOStream
  first type mismatch at position: 1
  required type: Proxy
  but expression 'terminal' is of type: Terminal
proc connect(self: Cancellable; callback: Callback; data: pointer;
            dataDestroyFunc: DestroyNotify): uint64
  first type mismatch at position: 1
  required type: Cancellable
  but expression 'terminal' is of type: Terminal
proc connect(self: SocketClient; connectable: SocketConnectable | NetworkService |
    UnixSocketAddress | ProxyAddress | InetSocketAddress | NetworkAddress |
    SocketAddress; cancellable: Cancellable = nil): SocketConnection
  first type mismatch at position: 1
  required type: SocketClient
  but expression 'terminal' is of type: Terminal
proc connect(self: SocketConnection; address: SocketAddress;
            cancellable: Cancellable = nil): bool
  first type mismatch at position: 1
  required type: SocketConnection
  but expression 'terminal' is of type: Terminal
proc connect(self: AccelGroup; accelKey: int; accelMods: gdk.ModifierType;
            accelFlags: AccelFlags; closure: gobject.Closure)
  first type mismatch at position: 1
  required type: AccelGroup
  but expression 'terminal' is of type: Terminal

expression: connect(terminal, "window-title-changed", update_title, window)
/home/hdias/Downloads/garlicterm/src/garlicterm.nim(115, 13) Error: type mismatch: got <Terminal, string, proc (widget: Terminal, status: int){.noSideEffect, gcsafe, locks: 0.}>
but expected one of: 
proc connect(self: Socket; address: SocketAddress; cancellable: Cancellable = nil): bool
  first type mismatch at position: 1
  required type: Socket
  but expression 'terminal' is of type: Terminal
proc connect(self: Proxy; connection: IOStream; proxyAddress: ProxyAddress;
            cancellable: Cancellable = nil): IOStream
  first type mismatch at position: 1
  required type: Proxy
  but expression 'terminal' is of type: Terminal
proc connect(self: Cancellable; callback: Callback; data: pointer;
            dataDestroyFunc: DestroyNotify): uint64
  first type mismatch at position: 1
  required type: Cancellable
  but expression 'terminal' is of type: Terminal
proc connect(self: SocketClient; connectable: SocketConnectable | NetworkService |
    UnixSocketAddress | ProxyAddress | InetSocketAddress | NetworkAddress |
    SocketAddress; cancellable: Cancellable = nil): SocketConnection
  first type mismatch at position: 1
  required type: SocketClient
  but expression 'terminal' is of type: Terminal
proc connect(self: SocketConnection; address: SocketAddress;
            cancellable: Cancellable = nil): bool
  first type mismatch at position: 1
  required type: SocketConnection
  but expression 'terminal' is of type: Terminal
proc connect(self: AccelGroup; accelKey: int; accelMods: gdk.ModifierType;
            accelFlags: AccelFlags; closure: gobject.Closure)
  first type mismatch at position: 1
  required type: AccelGroup
  but expression 'terminal' is of type: Terminal

expression: connect(terminal, "child-exited", exit_terminal)

@mrhdias
Copy link
Author

mrhdias commented Jul 16, 2019

I ran this example and got the same issue.

# nim c t0.nim
import gintro/[gtk, gobject]

proc bye(w: Window) =
  mainQuit()
  echo "Bye..."

proc main =
  gtk.init()
  let window = newWindow()
  window.title = "First Test"
  window.connect("destroy", bye)
  window.showAll
  gtk.main()

main()

@StefanSalewski
Copy link
Owner

I have no idea currently. All these table module errors? Can you compile some code at all?

Please try to install an older version of gintro, 0.5.1 or 0.5.0.

Or another GUI package, here is an overview:

https://matthiashager.com/gui-options-for-nim

@StefanSalewski
Copy link
Owner

See https://irclogs.nim-lang.org/16-07-2019.html#16:05:26

So messages about table module can be ignored.

try

nimble install pkgname@tag

nimble uninstall gintro
look in ls ~/.nimble/pkgs/
there should be no gintro entry, maybe delete remainings manually. Then
nimble install gintro@v0.5.0

@StefanSalewski
Copy link
Owner

Or maybe better install v0.4.23

That was the last tag with only GTK3 support, next was v0.5.0 which already supports GTK4. Maybe that is a problem for you. v0.4.23 worked for others, no issue reports, so should be fine for you.

@StefanSalewski
Copy link
Owner

OK, after one week with no reply I will assume that you have solved that issue or that you have retired, so I will close this issue.

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

No branches or pull requests

2 participants