Skip to content

Commit a6a25c3

Browse files
committed
#289 - improve init() error message
1 parent 8250785 commit a6a25c3

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# RPA for Python :snake:
22

3-
[**v1.43**](https://github.com/tebelorg/RPA-Python/releases) | [**Use Cases**](#use-cases) | [**API Reference**](#api-reference) | [**About & Credits**](#about--credits) | [**PyCon Video**](https://www.youtube.com/watch?v=F2aQKWx_EAE) | [**Run on Cloud**](https://colab.research.google.com/drive/13bQO6G_hzE1teX35a3NZ4T5K-ICFFdB5?usp=sharing) | [**Telegram Chat**](https://t.me/rpa_chat)
3+
[**v1.44**](https://github.com/tebelorg/RPA-Python/releases) | [**Use Cases**](#use-cases) | [**API Reference**](#api-reference) | [**About & Credits**](#about--credits) | [**PyCon Video**](https://www.youtube.com/watch?v=F2aQKWx_EAE) | [**Run on Cloud**](https://colab.research.google.com/drive/13bQO6G_hzE1teX35a3NZ4T5K-ICFFdB5?usp=sharing) | [**Telegram Chat**](https://t.me/rpa_chat)
44

55
>_This tool was previously known as TagUI for Python. [More details](https://github.com/tebelorg/RPA-Python/issues/100) on the name change, which is backward compatible so existing scripts written with `import tagui as t` and `t.function()` will still work._
66

rpa_package/rpa.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Apache License 2.0, Copyright 2019 Tebel.Automation Private Limited
33
# https://github.com/tebelorg/RPA-Python/blob/master/LICENSE.txt
44
__author__ = 'Ken Soh <opensource@tebel.org>'
5-
__version__ = '1.43.0'
5+
__version__ = '1.44.0'
66

77
# for backward compatibility, invoke tagui.py functions to use in rpa.py
88
from tagui import *

rpa_package/setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
setup(
44
name='rpa',
5-
version='1.43.0',
6-
py_modules=['rpa'], install_requires=['tagui>=1.43.0'],
5+
version='1.44.0',
6+
py_modules=['rpa'], install_requires=['tagui>=1.44.0'],
77
author='Ken Soh',
88
author_email='opensource@tebel.org',
99
license='Apache License 2.0',

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name='tagui',
5-
version='1.43.0',
5+
version='1.44.0',
66
py_modules=['tagui'],
77
author='Ken Soh',
88
author_email='opensource@tebel.org',

tagui.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Apache License 2.0, Copyright 2019 Tebel.Automation Private Limited
33
# https://github.com/tebelorg/RPA-Python/blob/master/LICENSE.txt
44
__author__ = 'Ken Soh <opensource@tebel.org>'
5-
__version__ = '1.43.0'
5+
__version__ = '1.44.0'
66

77
import subprocess
88
import os
@@ -509,7 +509,7 @@ def init(visual_automation = False, chrome_browser = True, headless_mode = False
509509
browser_option = 'headless'
510510

511511
# entry shell command to invoke tagui process
512-
tagui_cmd = tagui_executable + ' rpa_python ' + browser_option
512+
tagui_cmd = '"' + tagui_executable + '"' + ' rpa_python ' + browser_option
513513

514514
# run tagui end processes script to flush dead processes
515515
# for eg execution ended with ctrl+c or forget to close()
@@ -531,7 +531,7 @@ def init(visual_automation = False, chrome_browser = True, headless_mode = False
531531
if _process.poll() is not None:
532532
print('[RPA][ERROR] - following happens when starting TagUI...')
533533
print('')
534-
os.system('"' + tagui_cmd + '"')
534+
os.system(tagui_cmd)
535535
print('')
536536
_tagui_visual = False
537537
_tagui_chrome = False

0 commit comments

Comments
 (0)