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/LFBBZB6MD3BRTRAI45TEMLSSZIXQOBDE/

If any other information is required, please specify.

Regards,
Poplar.at.twilight.


You are receiving this mail because: