Closed mattions closed 12 years ago
I can't replicate this report.
It works on mine machine:
In [1]: INFO neuronvisio.modeldb.ModelDB 123 Model for 'Mainen et al 1995' already downloaded
INFO neuronvisio.modeldb.ModelDB 127 Model for 'Mainen et al 1995' already extracted
INFO neuronvisio.controls 369 Path changed to /home/mattions/Work/model/MSN/Neuronvisio/Models/8210
INFO neuronvisio.controls 651 Copy ./x86_64/na3h5.mod into model directory
INFO neuronvisio.controls 651 Copy ./x86_64/kd3h5.mod into model directory
/home/mattions/Work/model/MSN/Neuronvisio/Models/8210
kd3h5.mod na3h5.mod
kd3h5.mod na3h5.mod
"/usr/local/nrn/share/nrn/libtool" --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I"/usr/local/nrn/include/nrn" -I"/usr/local/nrn/x86_64/lib" -g -O2 -c -o mod_func.lo mod_func.c
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/nrn/include/nrn -I/usr/local/nrn/x86_64/lib -g -O2 -c mod_func.c -fPIC -DPIC -o .libs/mod_func.o
"/usr/local/nrn/share/nrn/libtool" --mode=link gcc -module -g -O2 -o libnrnmech.la -rpath "/usr/local/nrn/x86_64/lib" kd3h5.lo na3h5.lo mod_func.lo -L"/usr/local/nrn/x86_64/lib" -lnrnoc -loc -lmemacs -lnrnmpi -lscopmath -lsparse13 -lreadline -lncurses -L"/usr/local/nrn/x86_64/lib" "/usr/local/nrn/x86_64/lib/libnrniv.la" -livoc -lneuron_gnu -lmeschach -lsundials -lm -ldl
rm -fr .libs/libnrnmech.la .libs/libnrnmech.lai .libs/libnrnmech.so .libs/libnrnmech.so.0 .libs/libnrnmech.so.0.0.0
gcc -shared .libs/kd3h5.o .libs/na3h5.o .libs/mod_func.o -Wl,--rpath -Wl,/usr/local/nrn/x86_64/lib -Wl,--rpath -Wl,/usr/local/nrn/x86_64/lib -L/usr/local/nrn/x86_64/lib /usr/local/nrn/x86_64/lib/libnrnoc.so /usr/local/nrn/x86_64/lib/liboc.so /usr/local/nrn/x86_64/lib/libmemacs.so /usr/local/nrn/x86_64/lib/libnrnmpi.so /usr/local/nrn/x86_64/lib/libscopmath.so /usr/local/nrn/x86_64/lib/libsparse13.so /usr/local/nrn/x86_64/lib/libreadline.so -lncurses /usr/local/nrn/x86_64/lib/libnrniv.so /usr/local/nrn/x86_64/lib/libivoc.so /usr/local/nrn/x86_64/lib/libneuron_gnu.so /usr/local/nrn/x86_64/lib/libmeschach.so /usr/local/nrn/x86_64/lib/libsundials.so -lm -ldl -Wl,-soname -Wl,libnrnmech.so.0 -o .libs/libnrnmech.so.0.0.0
(cd .libs && rm -f libnrnmech.so.0 && ln -s libnrnmech.so.0.0.0 libnrnmech.so.0)
(cd .libs && rm -f libnrnmech.so && ln -s libnrnmech.so.0.0.0 libnrnmech.so)
creating libnrnmech.la
(cd .libs && rm -f libnrnmech.la && ln -s ../libnrnmech.la libnrnmech.la)
Successfully created x86_64/special
loading membrane mechanisms from ./x86_64/.libs/libnrnmech.so
Additional mechanisms from files
kd3h5.mod na3h5.mod
NEURON: unable to open font "*helvetica-medium-r-normal*--14*", using "fixed"
1
INFO neuronvisio.controls 387 Loading model in Models/8210 from mosinit.hoc
1
1
1
1
1
0
0
0
0
0
0
0
1
INFO neuronvisio.controls 391 Path changed back to /home/mattions/Work/model/MSN/Neuronvisio
In [1]:
Also on my (Windows) machine, same output as above. Maybe the 'Models' dir already existed and the code didn't handle it correctly? I'll look further into it.
When I ran it I don't have the problem with the truncated zip. Dunno exactly what that is. On my test it doesn't enter this if: https://github.com/mattions/neuronvisio/blob/master/neuronvisio/modeldb/ModelDB.py#L169
P.S.: Just updated the typo trancating to truncating.
We can't replicate this and there was not follow up from the user, therefore I close this bug.
It seems somebody found a problem to load the Mainen et al. model. It seems a path problem (double Models/Models directory.)