scancode.io icon indicating copy to clipboard operation
scancode.io copied to clipboard

Child process terminated abruptly

Open RabeeaEgbareia opened this issue 1 year ago • 8 comments

I got this exception while scanning my project: Any idea what's wrong here ?

image

Version: image

RabeeaEgbareia avatar Oct 29 '23 10:10 RabeeaEgbareia

@RabeeaEgbareia You can try again disabling multiprocessing first, as suggested previously: https://github.com/nexB/scancode.io/issues/642#issuecomment-1496308424

tdruez avatar Oct 30 '23 03:10 tdruez

@tdruez It could take a lot of time since the project is large. I will try, but is there any other suggestion or workaround ? Btw: this link in the comment #642 is not valid (https://scancodeio.readthedocs.io/en/latest/scancodeio-settings.html#scancodeio-processes)

RabeeaEgbareia avatar Nov 07 '23 12:11 RabeeaEgbareia

https://scancodeio.readthedocs.io/en/latest/application-settings.html#scancodeio-processes

tdruez avatar Nov 07 '23 12:11 tdruez

It could take a lot of time since the project is large. I will try, but is there any other suggestion or workaround ?

The time it takes to complete is irrelevant at the moment, we need to figure out the issue first. Thus my suggestion for running the pipeline outside of any multiprocessing context. The goal is to determine if the issue is related to multiprocessing or not.

I cannot help you further until you can confirm that the pipeline is running fine with multiprocessing disabled, as suggested a while ago https://github.com/nexB/scancode.io/issues/642#issuecomment-1496326078

tdruez avatar Nov 07 '23 12:11 tdruez

@tdruez Ok, I started a new "scan_codebase" pipeline with "SCANCODEIO_PROCESSES=-1". I will update later here .. Thanks

RabeeaEgbareia avatar Nov 07 '23 12:11 RabeeaEgbareia

@tdruez Still failing (SCANCODEIO_PROCESSES=-1) image

I have these messages as well:

image

RabeeaEgbareia avatar Nov 07 '23 14:11 RabeeaEgbareia

Have you restarted the whole app after changing the settings? It appears from your output that the multiprocessing is still enabled.

tdruez avatar Nov 07 '23 14:11 tdruez

@tdruez Yes.

This is my docker.env file

image

And then:

  • docker compose build
  • docker compose up

RabeeaEgbareia avatar Nov 07 '23 15:11 RabeeaEgbareia