Closed juliusbaxter closed 8 years ago
I've got quite similar issue. If I try to execute:
fusesoc system-info atlys
I receive the following:
... Private Testbench files:bench/orpsoc_tb.v bench/uart_decoder.v
SYSTEM INFO Name: atlys Backend name: ise run(parsed_args) File "/home/BAndViG/ORPSoC/fusesoc/bin/fusesoc", line 179, in run args.func(args) File "/home/BAndViG/ORPSoC/fusesoc/bin/fusesoc", line 110, in system_info core.system.info() File "/home/BAndViG/ORPSoC/fusesoc/fusesoc/system.py", line 35, in info print(" family: " + self.backend['family']) TypeError: 'IseSection' object has no attribute 'getitem'
However, list-cores option works fine.
Thanks for reporting this. I can confirm the issue that @bandvig is seeing, and I'll probably remove the system info printouts until this is properly resolved. The issue that @juliusbaxter is seeing is probably due to an internal change to FuseSoC in commit c199bfabbb75 . We didn't think of it then when we commited that, but it requires the user to remove the old version of FuseSoC before installing a new one. The easiest way that I have found is to get a version before that commit and run ./configure && make uninstall
to remove the old files
The system-info problem is fixed in a94acbc87f136
Closing now
I've just updated to 15cf8143c30b4bb and I am seeing the following:
By following the helpful advice of stekern here I was able to get this to work again. So I did something like:
.. and list-cores worked again. However, probably the root cause of this should be identified?
Not sure if this is Python issue or what, but maybe a clean should clear away .pycs?