Giter VIP home page Giter VIP logo

splatoon3-bot's Issues

use docker-compose has problem,it does‘t work.

How can i build my own splatoon3-bot for TG, i try docker, but it can't work. First, I edit token from .env.sample, then using commands docker-compose up -d. From logs it seems like open the http:1270.0.0.1:8080 url, I active but get none.

在Win系统下部署的bot无法进行stat.ink同步

02-20`` 00:13:51 [ INFO] nonebot.matcher:830 | Matcher(type='message', module=splatoon3_bot.plugins.splatoon3_nso.cmd_set, lineno=329) running complete
sed:-e 表达式 #1,字符 1:未知的命令:“'”
sed:-e 表达式 #1,字符 1:未知的命令:“'”
sed:-e 表达式 #1,字符 1:未知的命令:“'”
Exception in thread Thread-11 (sync_stat_ink_func):
Traceback (most recent call last):
File "D:\Python3.10\lib\threading.py", line 1016, in _bootstrap_inner
self.run()
File "D:\Python3.10\lib\threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\Hana-NAS\Desktop\Splatoon-TG\splatoon3-bot\splatoon3_bot\plugins\splatoon3_nso\sp3job.py", line 148, in sync_stat_ink_func
msg = get_post_stat_msg(u.id)
File "C:\Users\Hana-NAS\Desktop\Splatoon-TG\splatoon3-bot\splatoon3_bot\plugins\splatoon3_nso\sp3job.py", line 260, in get_post_stat_msg
res = exported_to_stat_ink(u.id, u.session_token, u.api_key, u.acc_loc)
File "C:\Users\Hana-NAS\Desktop\Splatoon-TG\splatoon3-bot\splatoon3_bot\plugins\splatoon3_nso\sp3job.py", line 232, in exported_to_stat_ink
rtn = subprocess.run(cmd.split(' '), stdout=subprocess.PIPE).stdout.decode('utf-8')
File "D:\Python3.10\lib\subprocess.py", line 503, in run
with Popen(*popenargs, **kwargs) as process:
File "D:\Python3.10\lib\subprocess.py", line 971, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "D:\Python3.10\lib\subprocess.py", line 1440, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
PermissionError: [WinError 5] 拒绝访问。

1.貌似是sed的命令格式有问题?能否提供解决方案。
2.目前只有tg有代理配置,能否添加访问NSO和上传对战记录到stat.ink的代理配置。
先提前感谢解答

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.