Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 1738 by heiko.th...@gmail.com: "Start Process Keyword" does not
accept integer arguments
http://code.google.com/p/robotframework/issues/detail?id=1738
$ python --version
Python 2.7.3
$ pybot --version
Robot Framework 2.8.5 (Python 2.7.3 on linux2)
The port variable is calculated as:
${port}= Evaluate random.randint(1025, 65535) random,sys
Then I see the following error:
KEYWORD: Process.Start Process nc, -l, -p, ${port}, -c, "cat ${file}"
Expand All
Documentation:
Starts a new process on background.
Start / End / Elapsed: 20140623 11:32:50.491 / 20140623 11:32:50.492 /
00:00:00.001
11:32:50.492 FAIL AttributeError: 'int' object has no attribute 'encode'
11:32:50.492 DEBUG Traceback (most recent call last):
File "/home/robot/.local/lib/python2.7/site-packages/robot/libraries/Process.py",
line 345, in start_process
executable_command = self._cmd(command, arguments, config.shell)
File "/home/robot/.local/lib/python2.7/site-packages/robot/libraries/Process.py",
line 355, in _cmd
command = [encode_to_system(item) for item in [command] + list(args)]
File "/home/robot/.local/lib/python2.7/site-packages/robot/utils/encoding.py",
line 58, in encode_to_system
return string.encode(SYSTEM_ENCODING, errors)
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
---
You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to robotframework-commit+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.