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: 'name' while installing with Nimble #21

Open
tejasjadhav opened this issue Jan 28, 2019 · 5 comments · May be fixed by #25
Open

Error: undeclared identifier: 'name' while installing with Nimble #21

tejasjadhav opened this issue Jan 28, 2019 · 5 comments · May be fixed by #25

Comments

@tejasjadhav
Copy link

I don't know if this issue is known, but when I try to install this package via nimble, it gives me the following error:

$ nimble install ncurses
Downloading https://github.com/rnowley/nim-ncurses using git
       Tip: 11 messages have been suppressed, use --verbose to show them.
     Error: Could not read package info file in /tmp/nimble_14345/githubcom_rnowleynimncurses/ncurses.nimble;
        ...   Reading as ini file failed with: 
        ...     Invalid section: .
        ...   Evaluating as NimScript file failed with: 
        ...     tmp/nimble_14345/githubcom_rnowleynimncurses/ncurses.nimble(2, 1) Error: undeclared identifier: 'name'.

Nim version: 0.18.0
Nimble version: 0.8.10

@tejasjadhav
Copy link
Author

As per the discussion on this issue on the Nimble issue board, it states that name parameter is not required.

@bitnom
Copy link

bitnom commented Mar 17, 2019

As per the discussion on this issue on the Nimble issue board, it states that name parameter is not required.

What do you mean? We can't use Nimble to install the package?

@ponyatov
Copy link

ponyatov commented Sep 5, 2019

dpon@dpon:~/nims/anygui$ nimble build
Verifying dependencies for [email protected]
Installing https://github.com/rnowley/nim-ncurses@any version
Downloading https://github.com/rnowley/nim-ncurses using git
Tip: 2 messages have been suppressed, use --verbose to show them.
Error: Could not read package info file in /tmp/nimble_13420/githubcom_rnowleynimncurses/ncurses.nimble;
... Reading as ini file failed with:
... Invalid section: .
... Evaluating as NimScript file failed with:
... /tmp/nimble_13420/githubcom_rnowleynimncurses/ncurses_13420.nims(7, 1) Error: undeclared identifier: 'name'
... printPkgInfo() failed.

@ghost
Copy link

ghost commented Sep 21, 2019

i also met this error:

nimble install ncurses
Downloading https://github.com/rnowley/nim-ncurses using git
       Tip: 1 messages have been suppressed, use --verbose to show them.
     Error: Could not read package info file in /var/folders/fq/rvgc_dmn0pnb2knhf0stpm4c0000gn/T/nimble_19970/githubcom_rnowleynimncurses/ncurses.nimble;
        ...   Reading as ini file failed with: 
        ...     Invalid section: .
        ...   Evaluating as NimScript file failed with: 
        ...     /private/var/folders/fq/rvgc_dmn0pnb2knhf0stpm4c0000gn/T/nimble_19970/githubcom_rnowleynimncurses/ncurses_19970.nims(7, 1) Error: undeclared identifier: 'name'
        ... printPkgInfo() failed.

the nim version: 0.20.2

@adrabarek adrabarek linked a pull request Apr 18, 2020 that will close this issue
@ponyatov
Copy link

ponyatov commented Jun 7, 2020

ponyatov@debian:~/nimde$ nimble install ncurses
Downloading https://github.com/rnowley/nim-ncurses using git
       Tip: 1 messages have been suppressed, use --verbose to show them.
     Error: Could not read package info file in /tmp/nimble_26967/githubcom_rnowleynimncurses/ncurses.nimble;
        ...   Reading as ini file failed with: 
        ...     Invalid section: .
        ...   Evaluating as NimScript file failed with: 
        ...     /tmp/nimble_26967/githubcom_rnowleynimncurses/ncurses_26967.nims(7, 1) Error: undeclared identifier: 'name'
        ... printPkgInfo() failed.
ponyatov@debian:~/nimde$ uname -a
Linux debian 4.19.0-9-amd64 #1 SMP Debian 4.19.118-2 (2020-04-29) x86_64 GNU/Linux
ponyatov@debian:~/nimde$ cat /etc/issue
Debian GNU/Linux 10 \n \l
ponyatov@debian:~/nimde$ nim -version
Nim Compiler Version 1.2.0 [Linux: amd64]
Compiled at 2020-04-03
Copyright (c) 2006-2020 by Andreas Rumpf

active boot switches: -d:release

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

Successfully merging a pull request may close this issue.

3 participants