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

infinite recursion on Windows #1555

Closed
pombredanne opened this issue May 8, 2019 · 1 comment
Closed

infinite recursion on Windows #1555

pombredanne opened this issue May 8, 2019 · 1 comment
Assignees

Comments

@pombredanne
Copy link
Member

Description

See https://ci.appveyor.com/project/nexB/scancode-toolkit/builds/24389675/job/0l6svxksrctojrrs

tests\scancode\test_resource.py:1203: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
src\scancode\resource.py:1380: in __init__
    self._populate(scan_data)
src\scancode\resource.py:1591: in _populate
    parent = self._get_or_create_parent(path, parent_by_path)
src\scancode\resource.py:1460: in _get_or_create_parent
    parent_parent = self._get_or_create_parent(parent_path, parent_by_path)
src\scancode\resource.py:1460: in _get_or_create_parent
    parent_parent = self._get_or_create_parent(parent_path, parent_by_path)
src\scancode\resource.py:1460: in _get_or_create_parent
    parent_parent = self._get_or_create_parent(parent_path, parent_by_path)
src\scancode\resource.py:1460: in _get_or_create_parent
    parent_parent = self._get_or_create_parent(parent_path, parent_by_path)
E   RuntimeError: maximum recursion depth exceeded
!!! Recursion detected (same locals & position)
=========================== short test summary info ===========================
FAIL tests/scancode/test_cli.py::test_scan_should_not_fail_on_faulty_pdf_or_pdfminer_bug_but_instead_report_errors_and_keep_trucking_with_html
FAIL tests/scancode/test_cli.py::test_merge_multiple_scans
FAIL tests/scancode/test_resource.py::TestVirtualCodebaseCreation::test_VirtualCodebase_create_from_multiple_scans
SKIP [1] c:\projects\scancode-toolkit\lib\site-packages\_pytest\nose.py:23: This test cannot run on windows as these are not legal file names.
SKIP [1] c:\projects\scancode-toolkit\lib\site-packages\_pytest\nose.py:23: Python tar cannot extract these files on Windows

@JonoYang do you mind to look into it since you likely introduced this with #1439 #1543 👼

@JonoYang
Copy link
Member

JonoYang commented Jun 4, 2019

This has been fixed

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

2 participants