Open EL-Dol opened 2 months ago
I confirmed the problem with 0.6.3, but it doesn't happen in 0.6.4. I haven't published that yet. If you checkout both MathCAT and MathCATForC and make them sibling dirs, then the current versions of the files will build correctly. If this doesn't work for you, I can "publish" 0.6.4, but I'd rather hold off until after I finish triaging issues.
Let me know if I need to publish 0.6.4.
Hi, thanks for your reply. I've tried using the latest code in MathCat & MathCat_c, and unfortunately it seems to be more broken. Because it can no longer read the default language "en". I was able to trace that issue down to "Add support for wasm with language conductor unpacking." (96f794d628322daa8b268a807dfbfb931583324b), but what inside it is causing the problem is still a mystery. If you want more logs in specific areas or want to run a specific branch, feel free to ask.
It could be connected to that I'm now getting a on Auto/Auto.zip not found error when trying to parse MathML. There is no Auto.zip in the build folder among the Languages from what I can see.
Summary: It worked like before until 96f794d628322daa8b268a807dfbfb931583324b after that it stopped responding to parsing requests add test for fixed bug #272.txt latest.txt
Issue: Android, Cannot change language through the API.
Expected The language should be set to what I provide, like “es”. Actual Uses the default language “en”
Issue confirmed in version: MathCat v0.6.3 Working in version: MathCat v0.5.3
Target OS: Android API 21 (Fire OS & Google Android) Build OS: Mac (Sonma) & Windows 11 Rust-C: Mac x86_64 (1.80.1) & Windows MSVC (1.80.1), Build tools: NDK 27, Cargo-NDK, MathCat_C
Message
Hi, I’m having trouble changing the language from the default language “en” (English) on Android trough MathCat_c with the latest MathCat v0.6.3, the default language “en” (English) works fine as it’s correctly parsing the MathML code. It worked fine with the old MathCat v0.5.3 which was before the zipped Rules items. So, I guess there have been more changes under the hood.
I can confirm that unzipping the Language works fine, as I can see the unzipped files in “es” (Spanish). So, I enabled logs on Android to see what’s happening. The summary from the logs is that it seems to be changing between “Auto” and “en” (English) for some reason in “fn find_file” inside prefs.rs, and it loads something from “Rules/prefs.yaml”.
Files
MathCat - logs.txt