msgbyte / msgbyte/tailchat

error during deployment || error during deployment

Open
#145 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
3.6k
Forks
398
Avg merge
1h 14m
Merged PRs (30d)
2

Description

I get this error

File "/usr/lib/python3.6/site-packages/pkg_resources/init.py", line 888, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3.6/site-packages/pkg_resources/init.py", line 782, in resolve
new_requirements = dist.requires(req.extras)[::-1]
File "/usr/lib/python3.6/site-packages/pkg_resources/init.py", line 2607, in requires
dm = self._dep_map
File "/usr/lib/python3.6/site-packages/pkg_resources/init.py", line 2663, in getattr
raise AttributeError(attr)
AttributeError: _dep_map

when I deploy using
docker-compose -f docker-compose.devops.yml up -d

following https://tailchat.msgbyte.com/zh-Hans/blog/2023/03/27/deploy-in-synology

my env is
centOS on tencent cloud, python 3.6


I get this error

File "/usr/lib/python3.6/site-packages/pkg_resources/init.py", line 888, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3.6/site-packages/pkg_resources/init.py", line 782, in resolve
new_requirements = dist.requires(req.extras)[::-1]
File "/usr/lib/python3.6/site-packages/pkg_resources/init.py", line 2607, in requires
dm = self._dep_map
File "/usr/lib/python3.6/site-packages/pkg_resources/init.py", line 2663, in getattr
raise AttributeError(attr)
AttributeError: _dep_map

when I deploy using
docker-compose -f docker-compose.devops.yml up -d

following https://tailchat.msgbyte.com/zh-Hans/blog/2023/03/27/deploy-in-synology

my env is
centOS on tencent cloud, python 3.6

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with docker-compose.devops.yml and the deployment instructions linked in the issue, then reproduce the pkg_resources traceback in the reported CentOS and Python 3.6 environment. Identify whether the deployment configuration or environment causes AttributeError: _dep_map; done means the documented docker-compose deployment completes successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
centos, docker-compose, python
Domain
devops, infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.