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

Use the "Start Application" keyword to start the Sample but "RemoteSwingLibrary.RemoteSwingLibraryTimeoutError: Agent port not received before timeout" appears Error message #108

Open
a9038889 opened this issue Feb 17, 2023 · 0 comments

Comments

@a9038889
Copy link

a9038889 commented Feb 17, 2023

I issued the following command and it successfully ran the sample but couldn't connect the Sample causing the keyword to fail. Another point I use the same command for another example to run and connect fine.

So it is successfully started then try to listed to the port then it couldn't find it!!!!

Robotframework:
Start Application my_app java -classpath "C:\Program Files\DigitalPersona\U.are.U SDK\Windows\Samples\Bin\Java\UareUSampleJava.jar";"C:\Program Files\DigitalPersona\U.are.U SDK\Windows\Lib\Java\dpuareu.jar" UareUSampleJava timeout=120

Windows: Windows 10x64
Python: 3.8.10
JAVA: jre1.8.0_361
RTL:2.3.1

Debug log:
20230217 13:17:17.955 : INFO : Link to stdout
20230217 13:17:17.955 : INFO : Link to stderr
20230217 13:17:17.955 : INFO : -javaagent:"C:\Users\yuwsuu\AppData\Local\Programs\Python\Python38\Lib\site-packages\remoteswinglibrary-2.3.1.jar"=127.0.0.1:56306:DEBUG
20230217 13:17:17.955 : INFO : Java version > 9: False
20230217 13:17:17.957 : INFO :
Starting process:
java -classpath "C:\Program Files\DigitalPersona\U.are.U SDK\Windows\Samples\Bin\Java\UareUSampleJava.jar";"C:\Program Files\DigitalPersona\U.are.U SDK\Windows\Lib\Java\dpuareu.jar" UareUSampleJava
20230217 13:19:17.971 : INFO :
Failed to start application: Traceback (most recent call last):
File "C:\Users\yuwsuu\AppData\Local\Programs\Python\Python38\Lib\site-packages\remoteswinglibrary-2.3.1.jar\RemoteSwingLibrary.py", line 446, in start_application
self._application_started(alias, timeout, name_contains, remote_port, accept_old=False)
File "C:\Users\yuwsuu\AppData\Local\Programs\Python\Python38\Lib\site-packages\remoteswinglibrary-2.3.1.jar\RemoteSwingLibrary.py", line 495, in _application_started
url = self._get_agent_address(name_contains, accept_old)
File "C:\Users\yuwsuu\AppData\Local\Programs\Python\Python38\Lib\site-packages\remoteswinglibrary-2.3.1.jar\RemoteSwingLibrary.py", line 516, in _get_agent_address
raise RemoteSwingLibraryTimeoutError('Agent port not received before timeout')
RemoteSwingLibrary.RemoteSwingLibraryTimeoutError: Agent port not received before timeout

20230217 13:19:17.971 : INFO : Waiting for process to complete.
20230217 13:19:17.986 : INFO : Process did not complete in 10 milliseconds.
20230217 13:19:17.986 : INFO : Leaving process intact.
20230217 13:19:17.986 : INFO : Process is running, but application startup failed
20230217 13:19:17.987 : FAIL : RemoteSwingLibraryTimeoutError: Agent port not received before timeout

@a9038889 a9038889 changed the title Use the "Start Application" keyword to start the Sample but "RemoteSwingLibrary.RemoteSwingLibraryTimeoutError: Agent port not received before timeout" appears "Error message Use the "Start Application" keyword to start the Sample but "RemoteSwingLibrary.RemoteSwingLibraryTimeoutError: Agent port not received before timeout" appears Error message Feb 17, 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

1 participant