Error when converting muse file to any format


I get the following error when I run - python -f nikola_5min_sample.txt

C:\Program Files (x86)\Muse>python -f nikola_5min_sample.txt
Muse Player 1.4.2

  • Muse file(s): [‘nikola_5min_sample.txt’]


  • Screen output mode
    Exception in thread Thread-1:
    Traceback (most recent call last):
    File “C:\Python27\lib”, line 810, in __bootstrap_inner
    File “C:\Python27\lib”, line 763, in run
    self.__target(*self.__args, **self.__kwargs)
    File “C:\Program Files (x86)\Muse\”, line 118, in parse_files
    self.__parse_head(file_stream, verbose, as_fast_as_possible, jump_data_gaps)

File “C:\Program Files (x86)\Muse\”, line 147, in __parse_head

parse_thread = threading.Thread(target=self.protobuf_reader[in_streams.index

(in_stream)].parse, args=[in_stream])
IndexError: list index out of range

Can anyone please help me fix this?



try by giving output file name with .csv
python -f nikola_5min_sample.txt -c nikola_5min_output.csv


I’m not sure what has caused this issue, but it could be related to how you created nikola_5min_sample.txt.

If you choose -f as your input type than you must have saved the file in Muse-Lab or in Muse-Player using the -F output type.

Choosing an output type should always be a capital letter. -F is Muse file out, -f is Muse file in.

If you did do -F or muselab as your output I could look at your file directly to get a better understanding of what has gone wrong. From the error it is not clear.

Please upload an example file for testing purposes.