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

Stuck at press 'play' button and can't start in Windows 10 1709 #18

Closed
vanloc0301 opened this issue May 8, 2018 · 9 comments
Closed

Comments

@vanloc0301
Copy link

Hi @hptruong93 ,

I have two problem when start Repeat on Windows 10 build 1709.

Information:

Repeat version: 4.0.1 latest version.
Windows 10 build 1709.
JDK 7 updated 79

The first problem:

I tried run Repeat in command line with command: java -jar Repeat_4_0_1.jar.

An error appear look like this:

capture

Error code:

Exception in thread "main" java.lang.IllegalArgumentException: URI is not hierarchical

Second:

When click button recoder to recoder all action in my screen. When recoder success, I tried to click button play to repeat all action but it stuck (don't run anything when I click button play).

Hope receive your response with this problem. Thank you very much. 💯

@hptruong93
Copy link
Contributor

Could you try changing the path to not containing a white space?
Your directory "tool auto" has a white space in it. Try renaming it to tool_auto to see whether the problem disappears.

@hptruong93
Copy link
Contributor

Confirmed that having space in the path was the cause of the problem.
For the second problem, when recording actions in other programs, you may need appropriate permissions. That is, you may need to run Repeat as administrator in Windows.

@vanloc0301
Copy link
Author

Thanks for first the problem.
At the second problem, I think to have the problem relate to Windows 10. I receive two response from the user for this problem.

@hptruong93
Copy link
Contributor

For the second problem, have you tried running it as administrator?
If running from terminal, you'll need to run the terminal as administrator (search for terminal in start menu, right click and choose run as administrator).

@vanloc0301
Copy link
Author

I tried to contact with user in my blog to test. He’s not response my email.
I will comment at this issues when receive email from the user in my blog.
Thanks @hptruong93

@neodingo
Copy link

neodingo commented Sep 1, 2018

Do we understand why the path to the jar cannot contain a space?

@hptruong93
Copy link
Contributor

There's a URL to URI conversion here

File root = new File(url.toURI());

URI doesn't like space apparently, which caused the exception.

@hptruong93
Copy link
Contributor

Looks like the problem is because of the space in directory path. I'm going to close this.

@neodingo
Copy link

neodingo commented Aug 4, 2019

So we closed a bug due to a space in a file path in 2019? Wow.

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

3 participants