So I changed my directory structure to look like this:
The only way I can get pabot to run is like this:
pabot --processes 2 --pabotlib --resourcefile "my\ data\ files/users.dat" "my tests"
But then it gives the same error you got,
Anything else I’ve tried it gives me:
ValueError: invalid literal for int() with base 10: 'files/users.dat'
Indicating that it’s spitting the path on the spaces
When I renamed the path to the data file replacing the spaces with - like this:
and running the command:
pabot --processes 2 --pabotlib --resourcefile my-data-files/users.dat "my tests"
It works, so it seems you can’t have a space in the path to the resource file, but spaces in the path to the tests is ok.
I couldn’t see an issue already logged for this, so I suggest you raise one:
[ERROR] PLEASE CONSIDER REPORTING THIS ISSUE TO https://github.com/mkorpela/pabot/issues
Then you’ll know when it gets fixed.
Dave.