oakes / vim_cubed

Vim rendered on a cube for no reason
The Unlicense
2.71k stars 38 forks source link

seem having syntax error with nim version 1.5.x #42

Open ghost opened 3 years ago

ghost commented 3 years ago

hello,

while running it I immediately got error :

nimble run vim3
     Error: Could not read package info file in /home/francois/tmp/vim_cubed/vim3.nimble;
        ...   Reading as ini file failed with: 
        ...     Invalid section: .
        ...   Evaluating as NimScript file failed with: 
        ...     ../nimscriptapi_1323085986.nim(74, 3) Error: identifier expected, but got '('
        ... printPkgInfo() failed.

so I check my nim & nimble versions & ensure to get the last stable one then

nim --version
Nim Compiler Version 1.5.1 [Linux: amd64]
nimble --version
nimble v0.12.0 compiled at 2020-11-13 11:53:31

but error remain the same.

oakes commented 3 years ago

Did you build nim from source? The latest stable version is 1.4.0

yang573 commented 3 years ago

I'm having the same issue but on 1.4.2. I used snap to install the latest version.

nimble run vim3
     Error: Could not read package info file in /home/yang/Documents/Libraries/vim_cubed/vim3.nimble;
        ...   Reading as ini file failed with: 
        ...     Invalid section: .
        ...   Evaluating as NimScript file failed with: 
        ...     error: unknown command "e", see 'snap help'.
        ... printPkgInfo() failed.

nim version:

Nim Compiler Version 1.4.2 [Linux: amd64]
Compiled at 2020-12-02
Copyright (c) 2006-2020 by Andreas Rumpf

git hash: c5c9e12b5db6951342877feb3dae198c090c0ab6
active boot switches: -d:release

nimble version:

nimble v0.12.0 compiled at 2020-12-02 04:32:24
git hash: 8f7af860c5ce9634af880a7081c6435e1f2a5148
yang573 commented 3 years ago

Update: my issue seems to be with snap and nimble, not this repo specifically.