RecordEvolution / IMCtermite

Enables extraction of measurement data from binary files with extension 'raw' used by proprietary software imcFAMOS/imcSTUDIO and facilitates its storage in open source file formats
MIT License
27 stars 9 forks source link

Run time error / failed to open a file #24

Open sametyaldiz opened 1 year ago

sametyaldiz commented 1 year ago

Hello, I'm getting an error while trying to open Famos dat file. I also tried to Famos own test data, same problem is occurring. Do you have any idea about the problem? I'm also interested to understand source code of function. How can i reach or support to solve this problem.

Thank you,

I could not upload a picture of error therefore, i am copying the error below:

RuntimeError Traceback (most recent call last) Cell In [9], line 2 1 try : ----> 2 imcraw = IMCtermite.imctermite(b"C:\Users\YSA9BU\Desktop\Coding_sy\Python_syaldiz\signal_processing_environment\Famos_dat_file_reading\tacho.raw") 3 except RuntimeError as e :

File IMCtermite.pyx:16, in IMCtermite.imctermite.cinit()

RuntimeError: failed to open raw-file and stream data in buffer: failed to open file

During handling of the above exception, another exception occurred:

Exception Traceback (most recent call last) Cell In [9], line 4 2 imcraw = IMCtermite.imctermite(b"C:\Users\YSA9BU\Desktop\Coding_sy\Python_syaldiz\signal_processing_environment\Famos_dat_file_reading\tacho.raw") 3 except RuntimeError as e : ----> 4 raise Exception("failed to load/parse raw-file: " + str(e))

Exception: failed to load/parse raw-file: failed to open raw-file and stream data in buffer: failed to open file

mario-fink commented 1 year ago

Hi @sametyaldiz , can you actually provide a sample of the raw file "tacho.raw" ? The shown error message is pretty general and may be caused by a variety of problems. If you could provide a sample, I could try to reproduce the issue...

sametyaldiz commented 1 year ago

Hi Mario,

I have attached. Thank you for your interest. tacho.zip