RAR5 vobsubs cause crash

Issue #69 resolved
Gfy repo owner created an issue
$ python pyrescene.py /Volcano.1997.iNTERNAL.DVDRip.x264-FADE/ 
--recursive --best --output /SRRs --always-yes
/Volcano.1997.iNTERNAL.DVDRip.x264-FADE
Processing file: volcano.1997.dvdrip.x264-fade.rar.
Processing file: volcano.1997.dvdrip.x264-fade.r00.
Processing file: volcano.1997.dvdrip.x264-fade.r01.
Processing file: volcano.1997.dvdrip.x264-fade.r02.
Processing file: volcano.1997.dvdrip.x264-fade.r03.
Processing file: volcano.1997.dvdrip.x264-fade.r04.
Processing file: volcano.1997.dvdrip.x264-fade.r05.
Processing file: volcano.1997.dvdrip.x264-fade.r06.
Processing file: volcano.1997.dvdrip.x264-fade.r07.
Processing file: volcano.1997.dvdrip.x264-fade.r08.
Processing file: volcano.1997.dvdrip.x264-fade.r09.
Processing file: volcano.1997.dvdrip.x264-fade.r10.
Processing file: volcano.1997.dvdrip.x264-fade.r11.
Processing file: volcano.1997.dvdrip.x264-fade.r12.
Processing file: volcano.1997.dvdrip.x264-fade.r13.
Processing file: volcano.1997.dvdrip.x264-fade.r14.
Processing file: volcano.1997.dvdrip.x264-fade.r15.
Processing file: volcano.1997.dvdrip.x264-fade.r16.
Processing file: volcano.1997.dvdrip.x264-fade.r17.
Processing file: volcano.1997.dvdrip.x264-fade.r18.
Processing file: volcano.1997.dvdrip.x264-fade.r19.
Processing file: volcano.1997.dvdrip.x264-fade.r20.
Processing file: volcano.1997.dvdrip.x264-fade.r21.
Processing file: volcano.1997.dvdrip.x264-fade.r22.
Processing file: volcano.1997.dvdrip.x264-fade.r23.
Processing file: volcano.1997.dvdrip.x264-fade.r24.
Processing file: volcano.1997.dvdrip.x264-fade.r25.
Processing file: volcano.1997.dvdrip.x264-fade.r26.
Processing file: volcano.1997.dvdrip.x264-fade.r27.
Processing file: volcano.1997.dvdrip.x264-fade.r28.
Processing file: volcano.1997.dvdrip.x264-fade.r29.
Processing file: volcano.1997.dvdrip.x264-fade.r30.
Processing file: volcano.1997.dvdrip.x264-fade.r31.
Processing file: volcano.1997.dvdrip.x264-fade.r32.
Processing file: volcano.1997.dvdrip.x264-fade.r33.
Processing file: volcano.1997.dvdrip.x264-fade.r34.
Processing file: volcano.1997.dvdrip.x264-fade.r35.
Processing file: volcano.1997.dvdrip.x264-fade.r36.
Processing file: volcano.1997.dvdrip.x264-fade.r37.
Processing file: volcano.1997.dvdrip.x264-fade.r38.
Processing file: volcano.1997.dvdrip.x264-fade.r39.
Processing file: volcano.1997.dvdrip.x264-fade.r40.
Processing file: volcano.1997.dvdrip.x264-fade.r41.
Processing file: volcano.1997.dvdrip.x264-fade.r42.
Processing file: volcano.1997.dvdrip.x264-fade.r43.
Processing file: volcano.1997.dvdrip.x264-fade.r44.
Processing file: volcano.1997.dvdrip.x264-fade.r45.
Processing file: volcano.1997.dvdrip.x264-fade.r46.
Processing file: volcano.1997.dvdrip.x264-fade.r47.
Processing file: volcano.1997.dvdrip.x264-fade.r48.
Processing file: volcano.1997.dvdrip.x264-fade.r49.
Processing file: volcano.1997.dvdrip.x264-fade.r50.
Processing file: volcano.1997.dvdrip.x264-fade.r51.
Processing file: volcano.1997.dvdrip.x264-fade.r52.
Processing file: volcano.1997.dvdrip.x264-fade.r53.
Processing file: volcano.1997.dvdrip.x264-fade.r54.
Processing file: volcano.1997.dvdrip.x264-fade.r55.
Processing file: volcano.1997.dvdrip.x264-fade.r56.
Processing file: volcano.1997.dvdrip.x264-fade.r57.
Processing file: volcano.1997.dvdrip.x264-fade.r58.
Processing file: volcano.1997.dvdrip.x264-fade.r59.
Processing file: volcano.1997.dvdrip.x264-fade.r60.
Processing file: volcano.1997.dvdrip.x264-fade.r61.
Processing file: volcano.1997.dvdrip.x264-fade.r62.
Checking against the following main files:
        /Volcano.1997.iNTERNAL.DVDRip.x264-FADE/volcano.1997.dvdrip.x264-fade.rar
                File Details:   Size           CRC
                -------------  --------
                    7,360,798  CB4AA9AD


Track Details:  Track  Length
                -----  -------------
                    1      6,425,214
                    2        913,036

Parse Details:  Metadata     Attachments   Track Data     Total
                -----------  ------------  -------------  -------------
                     22,548             0      7,338,250      7,360,798

Checking that sample exists in the specified full file...                                                                                                                                                                                Check Complete. All tracks located.
Successfully created SRS file: /tmp/tmp9Ya2Sp.pyReScene/Sample/sample-volcano.1997.dvdrip.x264-fade.srs
Traceback (most recent call last):
  File "pyrescene.py", line 1264, in <module>
    sys.exit(main())
  File "pyrescene.py", line 1189, in main
    options, mthread)
  File "pyrescene.py", line 798, in generate_srr
    new_srrs = create_srr_for_subs(unrar, esfv, working_dir, reldir)
  File "pyrescene.py", line 539, in create_srr_for_subs
    for sfile in extract_and_create_srr(dest_file[:-4], first_rars):
  File "pyrescene.py", line 508, in extract_and_create_srr
    for srr in extract_and_create_srr(dest):
  File "pyrescene.py", line 527, in extract_and_create_srr
    save_paths=False, compressed=True, oso_hash=False)
  File "/home/user/pyrescene/rescene/main.py", line 495, in create_srr
    rarfiles.extend(_handle_rar(infile))
  File "/home/user/pyrescene/rescene/main.py", line 838, in _handle_rar
    for block in _rarreader_usenet(rfile, read_retries):
  File "/home/user/pyrescene/rescene/main.py", line 566, in _rarreader_usenet
    rr = RarReader(rarfile)
  File "/home/user/pyrescene/rescene/rar.py", line 1412, in __init__
    raise ValueError("RAR5 files are not yet supported!")
ValueError: RAR5 files are not yet supported!