I've done a fresh install of neuronvision (on a Windows machine) and got the following error:
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\neuronvisio\controls.py", line 160, in populate_treeview_model
self.models = Models()
File "C:\Python27\lib\site-packages\neuronvisio\modeldb\ModelDB.py", line 267, in __init__
self._modelList = self._generate_models_list(os.path.join(path, 'ModelDB.xml'))
File "C:\Python27\lib\site-packages\neuronvisio\modeldb\ModelDB.py", line 293, in _generate_models_list
models=xml.etree.ElementTree.XML(open(data).read())
IOError: [Errno 2] No such file or directory: 'C:\\Python27\\lib\\site-packages\\neuronvisio\\modeldb\\ModelDB.xml'
Looking into the package file in pypi I see ModelDB.xml is indeed missing there. How is this file supposed to be added? I know you can do it either in the setup.py code or in MANIFEST.in .
I worked-around this by clicking Updater.py, which worked like a charm and created the missing file. :)
Uri Cohen