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

can not run example from Readme #147

Closed
apahl opened this issue Aug 10, 2016 · 2 comments
Closed

can not run example from Readme #147

apahl opened this issue Aug 10, 2016 · 2 comments

Comments

@apahl
Copy link

apahl commented Aug 10, 2016

Hi, I just installed nimx via nimble on Ubuntu 16.04 and tried to run the example from the Readme with nim devel, but get the following error:

$ nim c -r --noMain --threads:on main.nim
.....
/home/pahl/.nimble/pkgs/variant-0.1.0/variant.nim(69) getTypeId
/home/pahl/.nimble/pkgs/variant-0.1.0/variant.nim(69) getTypeId(62) mangledName
/home/pahl/.nimble/pkgs/variant-0.1.0/variant.nim(69) getTypeId(62) mangledName(29) mangledName
/home/pahl/.nimble/pkgs/variant-0.1.0/variant.nim(69) getTypeId(62) mangledName(29) mangledName(29) mangledName
/home/pahl/.nimble/pkgs/variant-0.1.0/variant.nim(69) getTypeId(62) mangledName(29) mangledName(29) mangledName(40) mangledName
lib/system.nim(3416)     failedAssertImpl
lib/system.nim(3408)     raiseAssert
lib/system.nim(2547)     sysFatal
/home/pahl/.nimble/pkgs/nimx-0.1/nimx/view.nim(362, 7) template/generic instantiation from here
/home/pahl/.nimble/pkgs/nimx-0.1/nimx/property_visitor.nim(64, 39) template/generic instantiation from here
/home/pahl/.nimble/pkgs/variant-0.1.0/variant.nim(69) getTypeId(62) mangledName(29) mangledName(29) mangledName(40) mangledName(111, 30) template/generic instantiation from here
lib/system.nim(2547, 7) Error: unhandled exception: false
@yglukhov
Copy link
Owner

My only guess for now is that you have some old version of variant for some reason? Can you try nimble install -y variant?

@apahl
Copy link
Author

apahl commented Aug 13, 2016

Wow, that did it.
Now it works. Thanks a lot, I am looking forward to try nimx.
Kind regards,
Axel

@apahl apahl closed this as completed Aug 13, 2016
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