Task exception was never retrieved
future: <Task finished name='Task-13' coro=<consumer() done, defined at .../lib/python3.10/site-packages/aio_pika/queue.py:28> exception=AttributeError("'Properties' object has no attribute 'id'")>
Traceback (most recent call last):
File ".../lib/python3.10/site-packages/aio_pika/queue.py", line 34, in consumer
message = IncomingMessage(msg, no_ack=no_ack)
File ".../lib/python3.10/site-packages/aio_pika/message.py", line 405, in __init__
user_id=message.header.properties.id,
AttributeError: 'Properties' object has no attribute 'id'
FROM ubuntu:latest
WORKDIR /discord-bot
RUN apt update && apt upgrade && \
apt install software-properties-common -y && \
add-apt-repository ppa:deadsnakes/ppa -y && \
apt update && \
apt install python3.10 -y && \
apt install python3.10-dev -y && \
apt install python3-pip -y && \
apt install python3.10-venv -y && \
apt-get install mysql-server -y && \
apt-get install libmysqlclient-dev -y && \
apt install libopus-dev libopus0 -y
RUN mkdir discord_bot && cd discord_bot && \
python3 -m venv discord-env && \
. ./discord-env/bin/activate
RUN pip3 install --upgrade pip
COPY requirements.txt requirements.txt
RUN pip3 install -r requirements.txt
COPY . .
CMD [ "python3", "bot_example.py" ]
Step 4/8 : RUN apt-get install -qy libxml2-dev libxslt-dev
---> Running in fbc3aa81f097
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package libxml2-dev
E: Unable to locate package libxslt-dev
Error response from daemon: The command '/bin/sh -c apt-get install -qy libxml2-dev libxslt-dev' returned a non-zero code: 100
other_player_mark = 'cross' if mark == 'zero' else 'zero'