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

Unable to locate the resource file when the directory name has spaces upon using Pabotlib --resourcefile #575

Open
Gl1mpse-Git opened this issue Apr 3, 2024 · 0 comments

Comments

@Gl1mpse-Git
Copy link

I'm working on a RF project with directory names that contain spaces and special characters. When I tried to run a pabot command using --pabotlib --resourcefile I encountered a warning from the Pycharm's terminal “specified resource file doesn’t exist. Some test may fail or continue forever.”

The command I used is something like this:
pabot --processes 2 --pabotlib --resourcefile "my\ data\ files/users.dat" "my tests"

I've played around the quotes in the command but then I encountered this error:

ValueError: invalid literal for int() with base 10: 'files/users.dat'

It seems like it’s splitting the path on the spaces.

Locating resource file will only work by renaming the directory and removing the spaces, but spaces in the path to the tests is ok.

For additional info: You can refer to this thread:
https://forum.robotframework.org/t/how-do-you-setup-test-data-when-running-parallel-tests-using-pabot/7049/12

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