ValueError

10 views
Skip to first unread message

Дмитрий Злобин

unread,
Nov 7, 2017, 11:48:01 AM11/7/17
to ANNarchy
Hi!
I have some problems with Annarchy, when I start program,there is an error.
But earlier the program worked.


Traceback (most recent call last):
File "/home/dmitry/diplom-cikl.py", line 87, in <module>
compile()
File "/usr/local/lib/python3.5/dist-packages/ANNarchy/generator/Compiler.py", line 234, in compile
compiler.generate()
File "/usr/local/lib/python3.5/dist-packages/ANNarchy/generator/Compiler.py", line 305, in generate
changed = self.copy_files()
File "/usr/local/lib/python3.5/dist-packages/ANNarchy/generator/Compiler.py", line 348, in copy_files
basename, extension = f.split('.')
ValueError: not enough values to unpack (expected 2, got 1)

Julien Vitay

unread,
Nov 7, 2017, 1:51:38 PM11/7/17
to ANNarchy
Hi,

which version of ANNarchy do you use? Installed from source or through pip?

Try removing the annarchy/ subfolder and recompile several times, perhaps something went wrong during the last code generation.

Best
Julien
Reply all
Reply to author
Forward
0 new messages