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

Problem compiling #1

Closed
habiloid opened this issue Jul 29, 2015 · 3 comments
Closed

Problem compiling #1

habiloid opened this issue Jul 29, 2015 · 3 comments

Comments

@habiloid
Copy link

Hi
When running make -j$(nproc)

I get:

make -C icebox
make[1]: Entering directory '/home/habiloid/icestorm/icebox'
python icebox_chipdb.py > chipdb-1k.new
python icebox_chipdb.py -8 > chipdb-8k.new
Traceback (most recent call last):
File "icebox_chipdb.py", line 250, in
print_tile_nonrouting_bits("logic", ic.logic_tiles.keys()[0])
TypeError: 'dict_keys' object does not support indexing
Makefile:6: recipe for target 'chipdb-1k.txt' failed
make[1]: *** [chipdb-1k.txt] Error 1
make[1]: *** Waiting for unfinished jobs....
Traceback (most recent call last):
File "icebox_chipdb.py", line 250, in
print_tile_nonrouting_bits("logic", ic.logic_tiles.keys()[0])
TypeError: 'dict_keys' object does not support indexing
Makefile:10: recipe for target 'chipdb-8k.txt' failed
make[1]: *** [chipdb-8k.txt] Error 1
make[1]: Leaving directory '/home/brett/BUILDS/COMPILATIONS/icestorm/icebox'
Makefile:3: recipe for target 'all' failed
make: *** [all] Error 2

Any help would be appreciated

Ta

@cliffordwolf
Copy link
Collaborator

What version of Python are you using? (output of python --version)

@habiloid
Copy link
Author

3.4.3

On Wed, Jul 29, 2015 at 07:15:35AM -0700, Clifford Wolf wrote:

What version of Python are you using? (output of python --version)


Reply to this email directly or view it on GitHub:
#1 (comment)

@cliffordwolf
Copy link
Collaborator

Fixed in 4c1335f: Those python scripts are written in python 2, not python 3. Now the script call the "python2" binary instead of relying on "python" being a python 2 interpreter. Thanks for bringing this problem to my attention.

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