You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When calling launch_gateway with javaopts=['-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005'] it'll fail to parse the server port from stdout:
File py4j/java_gateway.py:337, in launch_gateway(port, jarpath, classpath, javaopts, die_on_exit, redirect_stdout, redirect_stderr, daemonize_redirect, java_path, create_new_process_group, enable_auth, cwd, return_proc, use_shell)
331 proc = Popen(
332 command, stdout=PIPE, stdin=PIPE, stderr=stderr, cwd=cwd,
333 **popen_kwargs)
335 # Determine which port the server started on (needed to support
336 # ephemeral ports)
--> 337 _port = int(proc.stdout.readline())
339 # Read the auth token from the server if enabled.
340 _auth_token = None
ValueError: invalid literal for int() with base 10: b'Listening for transport dt_socket at address: 5005\n'
The text was updated successfully, but these errors were encountered:
When users expose JVM debug ports, the JVM prints information about
the debug port on initialization (ie before `main` is invoked).
Discard stdout noise until the port is successfully read.
When users expose JVM debug ports, the JVM prints information about
the debug port on initialization (ie before `main` is invoked).
Discard stdout noise until the port is successfully read.
When calling
launch_gateway
withjavaopts=['-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005']
it'll fail to parse the server port from stdout:The text was updated successfully, but these errors were encountered: