python-neuroshare
python-neuroshare copied to clipboard
Error
Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Sima>?????? '??????' is not recognized as an internal or external command, operable program or batch file.
C:\Users\Sima>python Python 2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)] on win 32 Type "help", "copyright", "credits" or "license" for more information.
import neuroshare as ns fd = ns.File('C:\Ilya\Data\Plating_28.10.11_balb\3011\a.mcd') Traceback (most recent call last): File "
", line 1, in File "C:\WinPython-64bit-2.7.5.1\python-2.7.5.amd64\lib\site-packages\neurosha re-0.8.5-py2.7-win-amd64.egg\neuroshare\File.py", line 32, in init (handle, info) = self._lib._open_file (filename) File "C:\WinPython-64bit-2.7.5.1\python-2.7.5.amd64\lib\site-packages\neurosha re-0.8.5-py2.7-win-amd64.egg\neuroshare\Library.py", line 114, in _open_file (fh, file_info) = _capi._open_file (self._handle, filename) _capi.error: Neuroshare-Error (-3):
Neuroshare-Error -3 means "File access or read error" which is directly reported from the underlying neuroshare library. Did you get the library form the multichannels website?
Hi I'm getting the same error I've downloaded the library from http://www.multichannelsystems.com/software/neuroshare-library (3.7b, 32 bits) And I've cloned today python-neuroshare (Installed /usr/lib/python2.7/site-packages/neuroshare-0.9.1-py2.7-linux-i686.egg) Not sure what else could I check. Could be a permissions issue?
Thanks!
Hi: On a 64 bits OS, using the same components, but the 64 bits version of nsMCDLibrary.so it worked OK
Sorry for the late answer, @casep. I am a bit confused, did you manage to solve the problem? The 64 bit libraries worked for you?
Hi: Yes, on Fedora 20 X86_64 the same code (python) but with the 64 bit libraries worked OK. So I think it's an issue with the library.
Thanks!