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

d2d pipeline fails if there are NO Java source file on the from side inputs #853

Closed
pombredanne opened this issue Aug 10, 2023 · 0 comments

Comments

@pombredanne
Copy link
Member

not an automaton yet; add some words and call make_automaton

Traceback:
  File "/opt/scancodeio/scanpipe/pipelines/__init__.py", line 120, in execute
    step(self)
  File "/opt/scancodeio/scanpipe/pipelines/deploy_to_develop.py", line 137, in map_java_to_class
    d2d.map_java_to_class(project=self.project, logger=self.log)
  File "/opt/scancodeio/scanpipe/pipes/d2d.py", line 246, in map_java_to_class
    _map_java_to_class_resource(to_resource, from_resources, from_classes_index)
  File "/opt/scancodeio/scanpipe/pipes/d2d.py", line 191, in _map_java_to_class_resource
    match = pathmap.find_paths(path=normalized_java_path, index=from_classes_index)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/scancodeio/scanpipe/pipes/pathmap.py", line 84, in find_paths
    matches = list(index.iter_long(reversed_path))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tdruez added a commit that referenced this issue Aug 16, 2023
Signed-off-by: Thomas Druez <tdruez@nexb.com>
tdruez added a commit that referenced this issue Aug 16, 2023
Signed-off-by: Thomas Druez <tdruez@nexb.com>
tdruez added a commit that referenced this issue Aug 16, 2023
Signed-off-by: Thomas Druez <tdruez@nexb.com>
tdruez added a commit that referenced this issue Aug 16, 2023
Signed-off-by: Thomas Druez <tdruez@nexb.com>
@tdruez tdruez closed this as completed Aug 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants