jtalkbotがreplitで動かなくなってそう
Nixとかいうのになってから勝手にインストールできない?
code:error2.txt
~/discord-jtalkbot-2$ install-pkg open-jtalk
bash: install-pkg: command not found
~/discord-jtalkbot-2$ apt install xxx
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
code:error.txt
./start.sh
./start.sh: line 5: open_jtalk: command not found
open_jtalkがインストールされていないため、インストールを試みる
./start.sh: line 10: install-pkg: command not found
dicは準備済
ダウンロード済
Installing dependencies from lock file
Package operations: 0 installs, 1 update, 0 removals
• Updating pycparser (2.20 /nix/store/0hgwshx1mb9v68rm1jrxclvww6hlqcrw-python3.9-pycparser-2.20/lib/python3.9/site-packages -> 2.20)
Traceback (most recent call last):
File "/home/runner/discord-jtalkbot-2/discordjtalkbot/discordjtalkbot.py", line 11, in <module>
import discord
File "/home/runner/.cache/pypoetry/virtualenvs/discord-bot-heroku-jbcNV32a-py3.9/lib/python3.9/site-packages/discord/__init__.py", line 25, in <module>
from .client import Client
File "/home/runner/.cache/pypoetry/virtualenvs/discord-bot-heroku-jbcNV32a-py3.9/lib/python3.9/site-packages/discord/client.py", line 33, in <module>
import aiohttp
File "/home/runner/.cache/pypoetry/virtualenvs/discord-bot-heroku-jbcNV32a-py3.9/lib/python3.9/site-packages/aiohttp/__init__.py", line 6, in <module>
from .client import BaseConnector as BaseConnector
File "/home/runner/.cache/pypoetry/virtualenvs/discord-bot-heroku-jbcNV32a-py3.9/lib/python3.9/site-packages/aiohttp/client.py", line 32, in <module>
from . import hdrs, http, payload
File "/home/runner/.cache/pypoetry/virtualenvs/discord-bot-heroku-jbcNV32a-py3.9/lib/python3.9/site-packages/aiohttp/http.py", line 7, in <module>
from .http_parser import HeadersParser as HeadersParser
File "/home/runner/.cache/pypoetry/virtualenvs/discord-bot-heroku-jbcNV32a-py3.9/lib/python3.9/site-packages/aiohttp/http_parser.py", line 15, in <module>
from .helpers import NO_EXTENSIONS, BaseTimerContext
File "/home/runner/.cache/pypoetry/virtualenvs/discord-bot-heroku-jbcNV32a-py3.9/lib/python3.9/site-packages/aiohttp/helpers.py", line 607, in <module>
class CeilTimeout(async_timeout.timeout):
TypeError: function() argument 'code' must be code, not str
exit status 1