Closed RicoLouis24 closed 8 months ago
I have same issue.
userData\log.txt
点选项里的复制URL,看有没有内容。发给我邮箱 luna@css.moe 看看
Yes, the URL exists.
Could be an error in the getItemTypeNameMap
function.
The following is the content of the console.
TypeError: Cannot read properties of undefined (reading 'find')
at D:\path\to\Genshin-Wish-Export\resources\app\dist\electron\main\main.js:26:9931
at Array.forEach (<anonymous>)
at dN (D:\path\to\Genshin-Wish-Export\resources\app\dist\electron\main\main.js:26:9909)
at ng.getItemTypeNameMap (D:\path\to\Genshin-Wish-Export\resources\app\dist\electron\main\main.js:26:10015)
at ex (D:\path\to\Genshin-Wish-Export\resources\app\dist\electron\main\main.js:101:8044)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async D:\path\to\Genshin-Wish-Export\resources\app\dist\electron\main\main.js:101:8558
at async node:electron/js2c/browser_init:197:563
Try v0.11.3
Thank you. But v0.11.3 had the same error.
So I inserted debug code to verify.
It seems that the lang format has changed and I need to make sure for all languages.
I checked all of them. It seems to have changed to a string before the delimiter "-" except for Chinese.
prev | now |
---|---|
en-us | en |
fr-fr | fr |
de-de | de |
es-es | es |
pt-pt | pt |
ru-ru | ru |
ja-jp | ja |
ko-kr | ko |
th-th | th |
vi-vn | vi |
id-id | id |
zh-cn | zh-cn |
zh-tw | zh-tw |
tr-tr | tr |
it-it | it |
@sugtao4423
https://hk4e-api-os.hoyoverse.com/gacha_info/api/getGachaLog?{SOME_PARAMS}&lang=ja&{SOME_PARAMS_INCLUDES_AUTHKEY}
When you replace “ja” with “ja-jp,” does the request still return data correctly?
@biuuu Thank you for the merge!
Yes, it has been confirmed.
At least ja-jp
and en-us
were returned correctly.
点选项里的复制URL,看有没有内容。发给我邮箱 luna@css.moe 看看
可以了最新的版本 修好了 0.11.4 可以了
请问这个问题如何解决? 可以帮忙修复这个问题吗? 今天抽了千織想要更新 就发生这样的问题了。。。 海砂帮忙修一修