[Bug 1213764] New: There may be an issue with the packaging of crow-translate, libtesseract5, and libtesseract5-x86-64-v3.
https://bugzilla.suse.com/show_bug.cgi?id=1213764 Bug ID: 1213764 Summary: There may be an issue with the packaging of crow-translate, libtesseract5, and libtesseract5-x86-64-v3. Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: openSUSE Tumbleweed Status: NEW Severity: Normal Priority: P5 - None Component: Maintenance Assignee: screening-team-bugs@suse.de Reporter: poplar.cubic@gmail.com QA Contact: qa-bugs@suse.de Target Milestone: --- Found By: --- Blocker: --- Hi, I am Poplar, I've run into an issue and after discussing it with others I think it might be a packaging related issue. Symptom: When I start crow-translate, it prompts that the configuration file is missing, and then create a new tesseract_opencl_profile_devices.dat file in the user directory. This file will not affect the normal operation of crow-translate. How to reproduce: 1. Install crow-translate with zypper 2. Then start it 3. Then crow-translate will create a new configuration file in the user directory. Regarding tesseract_opencl_profile_devices.dat, its content is:
poplar@c004-h0:~> cat tesseract_opencl_profile_devices.dat <version>v0.1</version> <device><type></type><score>�N�></score></device>
After deleting this file and restarting crow-translate, the terminal will have the following output information:
poplar@c004-h0:~> crow-translate [DS] Profile file not available (tesseract_opencl_profile_devices.dat); performing profiling.
[DS] Device: "(null)" (Native) evaluation... Error in pixCloseBrick: pixs not 1 bpp Error in pixOpenBrick: pixs not defined Error in pixSubtract: pixs1 not defined Error in pixOpenBrick: pixs not defined Error in pixOpenBrick: pixs not defined [DS] Device: "(null)" (Native) evaluated [DS] composeRGBPixel: 0.029100 (w=1.2) [DS] HistogramRect: 0.068931 (w=2.4) [DS] ThresholdRectToPix: 0.047114 (w=4.5) [DS] getLineMasksMorph: 0.000045 (w=5.0) [DS] Score: 0.412594 [DS] Scores written to file (tesseract_opencl_profile_devices.dat). [DS] Device[1] 0:(null) score is 0.412594 [DS] Selected Device[1]: "(null)" (Native) ^C
My system environment:
Operating System: openSUSE Tumbleweed 20230724 KDE Plasma Version: 5.27.6 KDE Frameworks Version: 5.108.0 Qt Version: 5.15.10 Kernel Version: 6.4.4-1-default (64-bit) Graphics Platform: X11 Processors: 8 × Intel® Core™ i5-8250U CPU @ 1.60GHz Memory: 15.4 GiB of RAM Graphics Processor: Mesa Intel® UHD Graphics 620
Package information:
软件源 : openSUSE-Tumbleweed-Oss 名称 : crow-translate 版本 : 2.10.0-1.4 架构 : x86_64 出品方 : openSUSE 已安装大小 : 2.7 MiB 已安装 : 是 状态 : 最新 源代码包 : crow-translate-2.10.0-1.4.src 上游网址 : https://crow-translate.github.io/ 摘要 : A Qt GUI for Google, Yandex and Bing translators 描述 : A simple and lightweight translator that allows to translate and speak text using Google, Yandex and Bing written with Qt5.
The upstream developer stated that he was unable to reproduce the error and thought it might be a problem with Tesseract library files or distribution packaging. Related discussion links: - https://github.com/crow-translate/crow-translate/issues/593 - https://lists.opensuse.org/archives/list/support@lists.opensuse.org/thread/L... If any other information is required, please specify. Regards, Poplar.at.twilight. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1213764 https://bugzilla.suse.com/show_bug.cgi?id=1213764#c1 --- Comment #1 from Poplar.at.twilight <poplar.cubic@gmail.com> --- The reason this tesseract_opencl_profile_devices.dat caught my attention is that it has a .dat suffix. This made me a little anxious, wondering if something was wrong. I think such files should be placed in the application's data directory or public config/cache folder (eg ~/.config), or as a hidden file like .gitconfig. But it didn't, which got my attention. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1213764 Poplar.at.twilight <poplar.cubic@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |poplar.cubic@gmail.com Priority|P5 - None |P4 - Low URL| |https://github.com/crow-tra | |nslate/crow-translate/issue | |s/593 Found By|--- |Community User -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1213764 Andreas Stieger <Andreas.Stieger@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P4 - Low |P5 - None -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com