View Single Post
Old 08-21-2025, 04:31 PM   #365
crypteronia
Junior Member
crypteronia began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Aug 2025
Device: vivlio touch lux 5 (pocketbook)
oh wow thank you so so much @Markismus!! that's so lovely of you.

I admit I was pulling my hair trying to get your script to work haha.

For the record, first I converted the StarDict file to CSV using pyglossary. then i ran into the issue i mentioned, with the $isConvertImagesUsingOCR variable (your fix didn't help, I did set the variable to 0 in the DicControls script as well but pocketbookdic.pl was still clamouring for the tesseract module... So i went into DicConversion and savagely deleted the entire "sub" responsible for OCR conversion lmao. that worked)

but then i ran into a new bug involving $isRemoveBreakTag in DicControls.pm. Apparently it needed to be declared? So i added a line at the top of the file to declare it. that seemed to fix it.

then, finally it seemed the script was starting to run; but something jammed again. fwiw i got these 3 messages:
Code:
DicConversion.pm line 930 in function Dic2Screen::die2
DicPrepare.pm line 277 in function DicConversion::convertCVStoXDXF
pocketbookdic.pl line 110 in function DicPrepare::loadXDXF
at that point i decided, ok, i'll let your program handle the whole conversion. but that meant i now had to install stardict-tools.

suffice it to say, after several hours and many open tabs, i was about to give up... and then i saw you'd posted the dic file <3 <3 and, it works!

so.. yeah! thanks a million =)
crypteronia is offline   Reply With Quote