Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ocabot: issue creating readme #172

Open
GSLabIt opened this issue Mar 23, 2022 · 3 comments
Open

ocabot: issue creating readme #172

GSLabIt opened this issue Mar 23, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@GSLabIt
Copy link

GSLabIt commented Mar 23, 2022

Anyone is experiencing issue on ocabot while creating readme?

Error:

Traceback (most recent call last):
  File "/usr/local/bin/oca-gen-addon-readme", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/ocamt-readme/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3252, in <module>
    def _initialize_master_working_set():
  File "/ocamt-readme/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3235, in _call_aside
    f(*args, **kwargs)
  File "/ocamt-readme/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3264, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/ocamt-readme/lib/python3.8/site-packages/pkg_resources/__init__.py", line 583, in _build_master
    ws.require(__requires__)
  File "/ocamt-readme/lib/python3.8/site-packages/pkg_resources/__init__.py", line 900, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/ocamt-readme/lib/python3.8/site-packages/pkg_resources/__init__.py", line 786, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'PySocks!=1.5.7,<2.0,>=1.5.6; extra == "socks"' distribution was not found and is required by urllib3

Module

The name of the module that has a bug.

Describe the bug

A clear and concise description of what the bug is.

To Reproduce

Affected versions:

Steps to reproduce the behavior:
1.
2.
3.

Expected behavior
A clear and concise description of what you expected to happen.

Additional context
Add any other context about the problem here. (e.g. OS, Python version, ...)

@GSLabIt GSLabIt added the bug Something isn't working label Mar 23, 2022
@sbidoul
Copy link
Member

sbidoul commented Apr 3, 2022

@GSLabIt I have not noticed this. Can you provide more information on how to reproduce or a PR where you've seen the problem ?

@GSLabIt
Copy link
Author

GSLabIt commented Apr 3, 2022

@GSLabIt I have not noticed this. Can you provide more information on how to reproduce or a PR where you've seen the problem ?

It was related urllib3, maybe new versions need socks; fixed in Dockerfile, see:

https://github.com/GSLabIt/oca-github-bot/blob/ooops-custom/Dockerfile#L31

@legalsylvain
Copy link
Collaborator

@GSLabIt could you make a PR ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants