python-neuroshare icon indicating copy to clipboard operation
python-neuroshare copied to clipboard

Error

Open aloevirubil opened this issue 11 years ago • 5 comments

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):

aloevirubil avatar Aug 07 '13 11:08 aloevirubil

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?

gicmo avatar Aug 08 '13 11:08 gicmo

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!

casep avatar Apr 30 '14 16:04 casep

Hi: On a 64 bits OS, using the same components, but the 64 bits version of nsMCDLibrary.so it worked OK

casep avatar Apr 30 '14 20:04 casep

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?

gicmo avatar May 13 '14 14:05 gicmo

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!

casep avatar May 13 '14 14:05 casep