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

Occasional error during --build after import completes #3

Open
ajudd-dataforge opened this issue May 9, 2024 · 0 comments
Open

Occasional error during --build after import completes #3

ajudd-dataforge opened this issue May 9, 2024 · 0 comments

Comments

@ajudd-dataforge
Copy link

Describe the bug
Receiving an error occasionally when running dataforge --build. When it happens, it's always after the message "Import completed successfully". Full error below and in screenshot. Rerunning once or twice resolves the issue.

ERROR:root:Exception while sending command.
Traceback (most recent call last):
  File "C:\Python312\Lib\site-packages\py4j\clientserver.py", line 511, in send_command
    answer = smart_decode(self.stream.readline()[:-1])
                          ^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Python312\Lib\socket.py", line 707, in readinto
    return self._sock.recv_into(b)
           ^^^^^^^^^^^^^^^^^^^^^^^
ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Python312\Lib\site-packages\py4j\java_gateway.py", line 1038, in send_command
    response = connection.send_command(command)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Python312\Lib\site-packages\py4j\clientserver.py", line 539, in send_command
    raise Py4JNetworkError(
py4j.protocol.Py4JNetworkError: Error while sending or receiving

To Reproduce
Steps to reproduce the behavior:

  1. Configure project folder
  2. Open project folder in Command Prompt and run dataforge --build
  3. Error occurs at the end of the build

Expected behavior

  1. Configure project folder
  2. Open project folder in Command Prompt and run dataforge --build
  3. Build completes and command prompt returns successfully

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows 11 Enterprise
  • OS Build: 22631.3527
  • Browser N/A
  • Version N/A

Additional context
Rerunning the --build command after usually fixes the issue. Sometimes I need to run --build two more times for the error to go away.

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

1 participant