Closed Reenouneer closed 10 months ago
You may need a VPN that can connect to a Chinese network (from Microsoft Translation)
You probably don't need a VPN. Fetch Error means that your save file does not exist. Please log in to the corresponding account in Phigros and synchronize the game save. Then try again. (Google translate)
(A rubbish who dares not speak because he cannot speak English)(Baidu Translate)
You need to log in to your TapTap account in your Phigros and sync the archive
(A rubbish who dares not speak because he cannot speak English)(Baidu Translate)
byd我用的也是翻译啊(
You probably don't need a VPN. Fetch Error means that your save file does not exist. Please log in to the corresponding account in Phigros and synchronize the archive. Then try again. (Google translate)
It has an archive(but i don't know is it normal for it to be ≈12kb)
Yes, the cloud game save size is below 19 KB.
Your answer means that you can download the cloud save with the link, but it shows the socket connection timed out. Timeout means no response, possibly because the results of domain name resolution are obfuscated. You can check your DNS.
By the way, is your bot running in Russia or some other country?
By the way, is your bot running in Russia or some other country?
Yup. I run it in my phone via Termux for testing how it actually works.
And i think this is the reason. Because Phigros actually synchronise cloud save without problems so problem is not in save itself. Or maybe problem in TimeRainStarSky's Yunzai fork(i'm using it because it has Telegram bot plugin)
Yup. I run it in my phone via Termux for testing how it actually works.
And i think this is the reason. Because Phigros actually synchronise cloud save without problems so problem is not in save itself. Or maybe problem in TimeRainStarSky's Yunzai fork(i'm using it because it has Telegram bot plugin)
You can test with the repository of @7aGiven , he has a repository called Phigros-Libary
. if it doesn't works too, maybe there with some problems with your OS. (I guess)
Also, if it works, but you still can't make it work with TRSS-Yunzai, you can add some logger.mark
in the code to find where is the problem.
@Walkersifolia Shouldn't use my repository for testing as it could be the same result.
@Reenouneer You can use the nslookup tool within Termux to test whether the domain name's IP is correct.
nslookup rak3ffdi.tds1.tapfiles.cn
@Reenouneer After checking the domain name resolution, please check the connectivity.
curl http://rak3ffdi.tds1.tapfiles.cn
After doing all this, if you don't understand the result, please post the result here. We'll help you analyze the reasons.
@Reenouneer After checking the domain name resolution, please check the connectivity.
curl http://rak3ffdi.tds1.tapfiles.cn
After doing all this, if you don't understand the result, please post the result here. We'll help you analyze the reasons.
So, uh. Looks like 112121212167987534524 is partially right and the problem is my distance from the TapTap servers. Curl successfully downloaded the save file(i used the savefile link that bot gave me in error). But with one small issue. The file took 1 minute and 11 seconds to download (maybe the problem is that I was checking it on cellular data). Nslookup also shows that everything is okay. I guess the reason is the timeout time. Because the bot spends a conditionally small amount of time (from 6000 to 10000 ms) to try to download a file. I can assume that Phigros-Library uses a custom timeout window of 5-6 seconds (because it doesn't need more), and the real reason is that nobody expected that foreigners like me will be using it.
@Catrong Try to set a timeout key in config.yaml.
Yes, If you have a vpn to China. it's OK. If you have not, let author add a config to config.yaml.
@Catrong Try to set a timeout key in config.yaml.
Yes, If you have a vpn to China. it's OK. If you have not, let author add a config to config.yaml.
\废酱/\废酱/\废酱/\废酱/\废酱/\废酱/\废酱/\废酱/\废酱/\废酱/\废酱/
And, I found the reason(i should learn to read logs carefully). For some reason the bot cannot create a json-file of the account profile (tg-[tg-id-here]) (I don't know what name qq uses, but telegram uses the TG prefix to indicate it).
Log: [TRSSYz][21:28:09.291][WARN] [phi插件][/data/data/com.termux/files/home/Yunzai/plugins/phi-plugin/data/tg_1192890380.json] 读取失败 Error: ENOENT: no such file or directory, open '/data/data/com.termux/files/home/Yunzai/plugins/phi-plugin/data/tg_1192890380.json'
When I tried to create the file manually I got a syntax error.
[TRSSYz][21:25:53.023][WARN] [phi插件][/data/data/com.termux/files/home/Yunzai/plugins/phi-plugin/data/tg_1192890380.json] 读取失败 SyntaxError: Unexpected end of JSON input
Now I'm trying to figure out if it's something I broke or if there's some bug in Termux
If more precise, it's trying to read nonexistent file.
If more precise, it's trying to read nonexistent file.
Have you given termux storage permissions?
If more precise, it's trying to read nonexistent file.
This file is automatically written when you successfully bind it with sessiontoken.
If more precise, it's trying to read nonexistent file.
Have you given termux storage permissions?
Yes. But probably i should format Termux's space and try again. Because now it says in Google Files that 0mb of space is free(but few days ago it said that it has 7,7 gb of free space).
Yes. But probably i should format Termux's space and try again. Because now it says in Google Files that 0mb of space is free(but few days ago it said that it has 7,7 gb of free space).
Do you have discord? If you just need to use the bot function, you can come to my discord server. If you want the fun of building it yourself, just pretend I didn’t say it
Using bots running in China can indeed solve many problems.
My bot is running in China
Yes. But probably i should format Termux's space and try again. Because now it says in Google Files that 0mb of space is free(but few days ago it said that it has 7,7 gb of free space).
Do you have discord? If you just need to use the bot function, you can come to my discord server. If you want the fun of building it yourself, just pretend I didn’t say it
The situation that i'm admin of ru-speaking phigros chat, and i want to implement Phiplugin to it(with ru-translation of all bot, which will be harder with DeepL as only possible way to understand the text but not impossible). The problem is that i have zero skills in setting up a bot and programming.
Yes. But probably i should format Termux's space and try again. Because now it says in Google Files that 0mb of space is free(but few days ago it said that it has 7,7 gb of free space).
Do you have discord? If you just need to use the bot function, you can come to my discord server. If you want the fun of building it yourself, just pretend I didn’t say it
The situation that i'm admin of ru-speaking phigros chat, and i want to implement Phiplugin to it(with ru-translation of all bot, which will be harder with DeepL as only possible way to understand the text but not impossible). The problem is that i have zero skills in setting up a bot and programming.
About TapTap CN account. There is exploit with using older versions of TapTap CN to create account for Non-China users, so it's not a problem.
The situation that i'm admin of ru-speaking phigros chat, and i want to implement Phiplugin to it(with ru-translation of all bot, which will be harder with DeepL as only possible way to understand the text but not impossible). The problem is that i have zero skills in setting up a bot and programming.
None of us have learned Russian, so using a translation engine to translate Russian cannot guarantee absolute accuracy. We may make a plug-in for English text in the future.
I can teach you how to replace all text in a plugin, it requires almost no programming knowledge, just the translation needs to be done by yourself. But this is still a very large workload
I can teach you how to replace all text in a plugin, it requires almost no programming knowledge, just the translation needs to be done by yourself. But this is still a very large workload
Maybe we can use i18n, but it still requires a lot of work. We need to make a Chinese version, then translate it into English by me, and then translate the English into Russian by yourself
The situation that i'm admin of ru-speaking phigros chat, and i want to implement Phiplugin to it(with ru-translation of all bot, which will be harder with DeepL as only possible way to understand the text but not impossible). The problem is that i have zero skills in setting up a bot and programming.
None of us have learned Russian, so using a translation engine to translate Russian cannot guarantee absolute accuracy. We may make a plug-in for English text in the future.
No, i mean that i know how to translate something directly , but i have lack of skills in setting up a bot(to put it simple i'm dumb).
No, i mean that i know how to translate something directly , but i have lack of skills in setting up a bot(to put it simple i'm dumb).
Do you urgently need this plugin? We plan to do it, but it will take a while to complete it because the creator of this repository is a high school student and we all need to go to work, so we won’t have much free time.
The situation that i'm admin of ru-speaking phigros chat, and i want to implement Phiplugin to it(with ru-translation of all bot, which will be harder with DeepL as only possible way to understand the text but not impossible). The problem is that i have zero skills in setting up a bot and programming.
If in discord, you can invite me, and I will complete other works, if in telegram, maybe I need to regeitser it tomorrow.
No, i mean that i know how to translate something directly , but i have lack of skills in setting up a bot(to put it simple i'm dumb).
Do you urgently need this plugin? We plan to do it, but it will take a while to complete it because the creator of this repository is a high school student and we all need to go to work, so we won’t have much free time.
Not really. I can wait, it's not a big deal.
Nevermind. The simplest solution - Don't use Termux.
Thanks for everyone who read the consequences of me being an idiot and ignoring one simple message that Redis doesn't work properly with Android kernel, and thanks for all that tried to help me. Everything was solved by itself.
For Catrong (机器翻译,可能会出现眼痛症状)。请在自述文件中用大号字体写明:该插件无法在 TERMUX 中正常工作!请勿将 TERMUX 用于 PHI-PLUGIN
Nevermind. The simplest solution - Don't use Termux.
Thanks for everyone who read the consequences of me being an idiot and ignoring one simple message that Redis doesn't work properly with Android kernel, and thanks for all that tried to help me. Everything was solved by itself.
For Catrong (机器翻译,可能会出现眼痛症状)。请在自述文件中用大号字体写明:该插件无法在 TERMUX 中正常工作!请勿将 TERMUX 用于 PHI-PLUGIN
Using Google Translate will be more accurate (and please close this issue)
(English because i don't know chinese, i'm russian) . Trying to bind session token to bot gives error. FetchError: request to {savefile link here} failed, reason: Socket connection timeout.
No other errors and logs are given.
I'm using TRSS-Yunzai(it has Telegram plugin) and Termux.