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

Build failing - Tribler main #6187

Closed
xoriole opened this issue Jun 28, 2021 · 1 comment
Closed

Build failing - Tribler main #6187

xoriole opened this issue Jun 28, 2021 · 1 comment

Comments

@xoriole
Copy link
Contributor

xoriole commented Jun 28, 2021

...
File "C:\Users\tribler\AppData\Local\Programs\Python\Python38\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2885, in _load_package
    ns_pkgpath = _namespace_package_path(fqname, pkgpath or [], self.path)
  File "C:\Users\tribler\AppData\Local\Programs\Python\Python38\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 169, in _namespace_package_path
    working_set = pkg_resources.WorkingSet(path)
  File "C:\Users\tribler\AppData\Local\Programs\Python\Python38\lib\site-packages\pkg_resources\__init__.py", line 568, in __init__
    self.add_entry(entry)
  File "C:\Users\tribler\AppData\Local\Programs\Python\Python38\lib\site-packages\pkg_resources\__init__.py", line 624, in add_entry
    for dist in find_distributions(entry, True):
  File "C:\Users\tribler\AppData\Local\Programs\Python\Python38\lib\site-packages\pkg_resources\__init__.py", line 2076, in find_on_path
    for dist in factory(fullpath):
  File "C:\Users\tribler\AppData\Local\Programs\Python\Python38\lib\site-packages\pkg_resources\__init__.py", line 2148, in distributions_from_metadata
    yield Distribution.from_location(
  File "C:\Users\tribler\AppData\Local\Programs\Python\Python38\lib\site-packages\pkg_resources\__init__.py", line 2600, in from_location
    return cls(
  File "C:\Users\tribler\AppData\Local\Programs\Python\Python38\lib\site-packages\pkg_resources\__init__.py", line 3004, in _reload_version
    md_version = self._get_version()
  File "C:\Users\tribler\AppData\Local\Programs\Python\Python38\lib\site-packages\pkg_resources\__init__.py", line 2782, in _get_version
    version = _version_from_file(lines)
  File "C:\Users\tribler\AppData\Local\Programs\Python\Python38\lib\site-packages\pkg_resources\__init__.py", line 2566, in _version_from_file
    line = next(iter(version_lines), '')
  File "C:\Users\tribler\AppData\Local\Programs\Python\Python38\lib\site-packages\pkg_resources\__init__.py", line 2777, in _get_metadata
    for line in self.get_metadata_lines(name):
  File "C:\Users\tribler\AppData\Local\Programs\Python\Python38\lib\site-packages\pkg_resources\__init__.py", line 1434, in get_metadata_lines
    return yield_lines(self.get_metadata(name))
  File "C:\Users\tribler\AppData\Local\Programs\Python\Python38\lib\site-packages\pkg_resources\__init__.py", line 1421, in get_metadata
    path = self._get_metadata_path(name)
  File "C:\Users\tribler\AppData\Local\Programs\Python\Python38\lib\site-packages\pkg_resources\__init__.py", line 1409, in _get_metadata_path
    return self._fn(self.egg_info, name)
  File "C:\Users\tribler\AppData\Local\Programs\Python\Python38\lib\site-packages\pkg_resources\__init__.py", line 1489, in _fn
    self._validate_resource_path(resource_name)
  File "C:\Users\tribler\AppData\Local\Programs\Python\Python38\lib\site-packages\pkg_resources\__init__.py", line 1549, in _validate_resource_path
    posixpath.isabs(path) or
  File "C:\Users\tribler\AppData\Local\Programs\Python\Python38\lib\posixpath.py", line 63, in isabs
    sep = _get_sep(s)
  File "C:\Users\tribler\AppData\Local\Programs\Python\Python38\lib\posixpath.py", line 42, in _get_sep
    if isinstance(path, bytes):
RecursionError: maximum recursion depth exceeded while calling a Python object

https://jenkins-ci.tribler.org/job/Build-Tribler_release/job/Build-Win64/287/consoleFull

@xoriole xoriole added this to the 7.11.0 July milestone Jun 28, 2021
@xoriole
Copy link
Contributor Author

xoriole commented Jun 29, 2021

Recursion issue is reported on PyInstaller here.
Updating pydantic on the builder seems to fix the issue.
pip install pydantic --no-binary pydantic

Successful jenkins build: 290

@xoriole xoriole closed this as completed Jun 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant