Error When trying to save OCR file

Issue #667 resolved
Jonas Verhaeghe created an issue
  • Open Subler ( Version 1.6.13 (1.6.13) ) on MacBook Pro 2021 (with macOs Monterey)
  • Choose File->New
  • Add file with Vobsub
  • Click on Save As…
  • Subler crashes and creates an corrupt file

Comments (9)

  1. Jonas Verhaeghe reporter

    I still got the error with Subler 1.7, but after a bit of fiddling, I found out that it no longer crashes if I remove the Dutch Language files in the OCR tab.

    Edit: If I Iook at ~/Library/Application Support/Subler/tessdata/v4

    ~/Library/Application Support/Subler/tessdata/v4 
    

    I can see:

    ...   237K  9 dec 19:46 eng.traineddata
    ...   237K  9 dec 19:46 nld.traineddata
    

    I still have my old MacBook an there the files were around 22 MB, I’ve copied them from my old MacBook to my new MacBook and now it works again.

    I don't work with Swift, but I think the error is in

    https://bitbucket.org/galad87/subler/src/8355e678b3300af8605513e25f81734095a4379b/Classes/OCRManager.swift#lines-237

    I might work if changed to https://github.com/tesseract-ocr/tessdata/raw/main/

  2. Sjoerd Groos

    I can confirm replacing the traineddata files solved the issue for me. Thanks a lot guys. The files in position were only 221kb in size, the downloaded sets are ~ 23mb and with them in place the issue is resolved.

    I also see there is an update of the app now, thanks!

  3. Log in to comment