OSCAR v1.5.2 - Linux Versions - Printable Version +- Apnea Board Forum - CPAP | Sleep Apnea (https://www.apneaboard.com/forums) +-- Forum: Public Area (https://www.apneaboard.com/forums/Forum-Public-Area) +--- Forum: Software Support Forum (https://www.apneaboard.com/forums/Forum-Software-Support-Forum) +--- Thread: OSCAR v1.5.2 - Linux Versions (/Thread-OSCAR-v1-5-2-Linux-Versions) |
OSCAR v1.5.2 - Linux Versions - Crimson Nape - 03-17-2024 Do to an oversight, the Linux versions of OSCAR will not display the contents in the Help → About OSCAR screen. This does not affect the operation of OSCAR, just the display of the text in these screens. Also, this only pertains to the Linux versions only, and not the Windows or Mac versions. If you wish to see these missing items, I have provided steps to restore them and are listed below. If any Linux OSCAR user wishes to see the contents of the "Help → About OSCAR", or needs a language other than English, try one of the following commands. Code: sudo touch /usr/share/OSCAR/Translations/oscar_qt_fr.qm - If the above returns with an error, "No such file or directory", try the following command: Code: sudo touch /usr/local/share/OSCAR/Translations/oscar_qt_fr.qm - or - I have made a bash script to do this for you as well. Here is the download link: Download FixAbout.sh.tar.gz To run this script, in a terminal window and in the directory you have downloaded this script, use the following command: Code: sudo ./FixAbout.sh - Red RE: OSCAR v1.5.2 - Linux Versions - untoutseul05 - 03-17-2024 I have change nothing in the deb file creation. If you check the deb file, the files are available. Have you modify something in the C code which can explain this behavior ? RE: OSCAR v1.5.2 - Linux Versions - untoutseul05 - 03-17-2024 I have done tests. It seems what Oscar needs oscar_qt_fr.qm file to know where are the Translation files (only for Linux ?). Maybe someone can replace in the C code oscar_qt_fr.qm by something else. IN the OSCAR-code/oscar/translation.cpp file : Code: qtLangFile = "oscar_qt_" + qtLang + ".qm"; RE: OSCAR v1.5.2 - Linux Versions - Crimson Nape - 03-17-2024 It was just one of those things. The translation group updated all the files and names, not knowing (actually, no one knew) that someone, at some point in time, decided to pick that filename for path validation. Even normal debug testing did not encounter the error. It only occurs after an actual "apt install". It has now been addressed in the code, but for Linux users that want to use these documents, is the reason I have provided an easy workaround. As I write this, It just occurred to me, that the translations in a Linux install will probably not work without performing this update too. Don't you just love the Ides of March? - Red |