Bug 500704 - Crash when I try to open settings menu
Summary: Crash when I try to open settings menu
Status: RESOLVED DOWNSTREAM
Alias: None
Product: Crow Translate
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: openSUSE Linux
: NOR crash (vote)
Target Milestone: ---
Assignee: Gena
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-24 23:42 UTC by krovikan
Modified: 2025-04-01 07:00 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description krovikan 2025-02-24 23:42:19 UTC
SUMMARY
Crow-translate crash when I try to open settings menu.
Version of the Crow-translate: 3.1.0

STEPS TO REPRODUCE
1. Click in Settings (context menu or in application window)

OBSERVED RESULT
Crow-translate crash

EXPECTED RESULT
Open the menu settings

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20250222
KDE Plasma Version: 6.3.1
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Kernel Version: 6.13.3-1-default (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
Log of Crow-translate from a Konsole terminal

~ crow
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
terminate called after throwing an instance of ‘std::filesystem::__cxx11::filesystem_error’
what(): filesystem error: recursive directory iterator cannot open directory: No existe el fichero o el directorio [/usr/share/tessdata/]
Comment 1 John Kizer 2025-03-14 18:55:43 UTC
Hi - based on that last message about looking for /usr/share/tessdata/ , if you install tesseract-ocr, does it the crash still occur?
Comment 2 krovikan 2025-03-14 21:26:37 UTC
I installed:
tesseract-ocr 5.5.0-1.3
tesseract-ocr-traineddata-eng 4.1.0+git.20240801.8741641-1.2

Now works and don't crash anymore.

Maybe is necessary that the packager add these two packages as required dependency to avoid the crash? (I know more people with the problem).
Comment 3 John Kizer 2025-03-14 22:51:13 UTC
Yep, that would be it - the dependency on tesseract-ocr must just be missing in the openSUSE Tumbleweed packaging for Crow Translate - the openSUSE Factory maintainers would be the right contacts there to help make sure that's in place for others.

Thanks!
Comment 4 krovikan 2025-03-14 22:53:24 UTC
(In reply to John Kizer from comment #3)
> Yep, that would be it - the dependency on tesseract-ocr must just be missing
> in the openSUSE Tumbleweed packaging for Crow Translate - the openSUSE
> Factory maintainers would be the right contacts there to help make sure
> that's in place for others.
> 
> Thanks!

Do you take care of saying it?
Comment 5 John Kizer 2025-03-15 12:16:43 UTC
That should come from you or another Tumbleweed user to be able to verify the fix - the openSUSE bug reporting information is located here: https://en.opensuse.org/openSUSE:Submitting_bug_reports
Comment 6 krovikan 2025-03-15 12:30:08 UTC
(In reply to John Kizer from comment #5)
> That should come from you or another Tumbleweed user to be able to verify
> the fix - the openSUSE bug reporting information is located here:
> https://en.opensuse.org/openSUSE:Submitting_bug_reports

Thanks. I said it in https://bugzilla.opensuse.org/show_bug.cgi?id=1236838.
Comment 7 LandisTwo 2025-04-01 07:00:49 UTC
tesseract-ocr is not listed as a requirement in openSuse leap 15.6 either.
installing 'fixed' crow-translation crash for me too.
Thanks.