joostvangils / BPMN_RPA

Robotic Process Automation in Windows and Linux by using Diagrams.net BPMN diagrams.
GNU General Public License v3.0
40 stars 8 forks source link

Settings file Error (debian) #2

Closed smaj13 closed 3 years ago

smaj13 commented 3 years ago

Hello, When I have tried to run the first flow:

python3 BPMN_RPA_Starter.py flux.xml

I get the next error:

Traceback (most recent call last): File "BPMN_RPA_Starter.py", line 13, in engine = WorkflowEngine(input_parameter=input_parameter) File "/usr/local/lib/python3.7/dist-packages/BPMN_RPA/WorkflowEngine.py", line 54, in init with open('settings') as json_file: FileNotFoundError: [Errno 2] No such file or directory: 'settings'

The first time when I tried to run the flow the path of the installation has not been asked.....

"First start The first time you will try to run a Flow, you will be asked to enter the path of your install directory. If you are using Windows, the path of the install directory will be saved in the registry (path saved in registry key 'HKEY_CURRENT_USER\Software\BPMN_RPA\dbPath') and is used to create a SQLite database for logging purposes, called 'Orchestrator.db'. The WorkflowEngine must also know where your python.exe is located. You will be asked to enter the full path to the python.exe file (including the '.exe' extension). Again, if you are using Windows this path will be saved in registry key 'HKEY_CURRENT_USER\Software\BPMN_RPA\PythonPath'. For Linux users a "settings" file together with the orchestrator database will be created."

Someone has executed a flow in Debian? BR

joostvangils commented 3 years ago

Yes, the BPMN-RPA library should also work on Linux. I've tested it and indeed there were some bugs in the last version. Thank you for letting me know.

I've uploaded a new version (4.1.1). In this version the flows will run on Linux. Please also download the new BPMN_RPS_Starter.py. When running in Linux, a config file will be created called /etc/BPMN_RPA_settings.