Dear all,
I tried to install a custom module into Nest first using the MyModule example as described here https://nest.github.io/nest-simulator/extension_modules
The installation works fine without errors, however when I try to load the model into pynest with
import nest
import('mymodule')
I get a "Segmentation fault (core dumped)". The last traceback of debbugging with python pdb is the following:
-> engine.run('{%s} runprotected' % decode(cmd)) (Pdb) s --Call--
/home/user/.local/lib/python2.7/site-packages/nest/__init__.py(107)decode() -> def decode(s): (Pdb) s
/home/user/.local/lib/python2.7/site-packages/nest/__init__.py(108)decode() -> return s.decode('utf-8') (Pdb) s --Call--
/usr/lib/python2.7/encodings/utf_8.py(15)decode()
-> def decode(input, errors='strict'): (Pdb) s
/usr/lib/python2.7/encodings/utf_8.py(16)decode()
-> return codecs.utf_8_decode(input, errors, True) (Pdb) s --Return--
/usr/lib/python2.7/encodings/utf_8.py(16)decode()->(u'(cereb...
Install', 26) -> return codecs.utf_8_decode(input, errors, True) (Pdb) s --Return--
/home/user/.local/lib/python2.7/site-packages/nest/__init__.py(108)decode()->u'(mymod... Install' -> return s.decode('utf-8') (Pdb) s Segmentation fault (core dumped)
I already added the model path to my LD_LIBRARY_PATH variable so that the module can be found, but now it cannot be loaded. It looks like a decoding issue, but I don't know what went wrong during the installation. Do you have any idea what could be the issue? I am using python 2.7 and NEST 2.3.1
Thanks!
Benedikt Feldotto