i18n/app.fil
author Andrey Skvortsov <andrej.skvortzov@gmail.com>
Wed, 13 Mar 2019 14:27:24 +0300
changeset 2542 a3ec35ee94e7
parent 2426 aef7f2ca4e69
child 3328 01682a34a558
permissions -rw-r--r--
Fix crash in runtime if PSK secret is missing

./Beremiz_service.py -s $PWD/psk2.txt -n beremiz /tmp/beremiz
Beremiz_service: 1.2-1378c18402c3+

Traceback (most recent call last):
File "./Beremiz_service.py", line 511, in <module>
ensurePSK(servicename, PSKpath)
File "/home/developer/WorkData/PLC/beremiz/beremiz/runtime/Stunnel.py", line 32, in ensurePSK
PSKgen(ID, PSKpath)
File "/home/developer/WorkData/PLC/beremiz/beremiz/runtime/Stunnel.py", line 23, in PSKgen
call(restart_stunnel_cmdline)
File "/home/developer/WorkData/PLC/beremiz/beremiz/runtime/spawn_subprocess.py", line 116, in call
pid = posix_spawn.posix_spawnp(cmd[0], cmd)
File "/home/developer/.local/lib/python2.7/site-packages/posix_spawn/_impl.py", line 120, in posix_spawnp
return _posix_spawn(lib.posix_spawnp, *args, **kwargs)
File "/home/developer/.local/lib/python2.7/site-packages/posix_spawn/_impl.py", line 111, in _posix_spawn
_check_error(res, path)
File "/home/developer/.local/lib/python2.7/site-packages/posix_spawn/_impl.py", line 10, in _check_error
raise OSError(errno, os.strerror(errno), path)
OSError: [Errno 2] No such file or directory: '/etc/init.d/S50stunnel'
../canfestival/canfestival.py
../canfestival/SlaveEditor.py
../canfestival/config_utils.py
../canfestival/NetworkEditor.py
../BeremizIDE.py
../dialogs/LDElementDialog.py
../dialogs/ForceVariableDialog.py
../dialogs/SearchInProjectDialog.py
../dialogs/SFCStepDialog.py
../dialogs/SFCStepNameDialog.py
../dialogs/FindInPouDialog.py
../dialogs/SFCDivergenceDialog.py
../dialogs/SFCTransitionDialog.py
../dialogs/DurationEditorDialog.py
../dialogs/PouTransitionDialog.py
../dialogs/FBDVariableDialog.py
../dialogs/BlockPreviewDialog.py
../dialogs/AboutDialog.py
../dialogs/ProjectDialog.py
../dialogs/LDPowerRailDialog.py
../dialogs/ArrayTypeDialog.py
../dialogs/PouNameDialog.py
../dialogs/BrowseLocationsDialog.py
../dialogs/CommentEditDialog.py
../dialogs/FBDBlockDialog.py
../dialogs/ConnectionDialog.py
../dialogs/BrowseValuesLibraryDialog.py
../dialogs/ActionBlockDialog.py
../dialogs/PouActionDialog.py
../dialogs/DiscoveryDialog.py
../dialogs/PouDialog.py
../graphics/RubberBand.py
../graphics/FBD_Objects.py
../graphics/DebugDataConsumer.py
../graphics/ToolTipProducer.py
../graphics/LD_Objects.py
../graphics/SFC_Objects.py
../graphics/GraphicCommons.py
../bacnet/BacnetSlaveEditor.py
../bacnet/bacnet.py
../bacnet/ede_files/template_ObjTypes.csv
../bacnet/ede_files/template_Units.csv
../bacnet/ede_files/template_EDE.csv
../bacnet/ede_files/template_StateTexts.csv
../connectors/PYRO/__init__.py
../connectors/PYRO/dialog.py
../connectors/__init__.py
../connectors/WAMP/__init__.py
../connectors/WAMP/dialog.py
../targets/Generic/XSD
../targets/XSD_toolchain_makefile
../targets/Xenomai/__init__.py
../targets/Xenomai/XSD
../targets/XSD_toolchain_gcc
../targets/__init__.py
../targets/toolchain_gcc.py
../targets/toolchain_makefile.py
../targets/Linux/XSD
../targets/Win32/XSD
../PLCControler.py
../PLCOpenEditor.py
../py_ext/PythonEditor.py
../py_ext/PythonFileCTNMixin.py
../wxglade_hmi/wxglade_hmi.py
../modbus/modbus.py
../etherlab/EthercatCIA402Slave.py
../etherlab/EtherCATManagementEditor.py
../etherlab/CommonEtherCATFunction.py
../etherlab/EthercatSlave.py
../etherlab/etherlab.py
../etherlab/EthercatCFileGenerator.py
../etherlab/ConfigEditor.py
../etherlab/EthercatMaster.py
../runtime/NevowServer.py
../runtime/WampClient.py
../runtime/PlcStatus.py
../runtime/PLCObject.py
../runtime/ServicePublisher.py
../ConfigTreeNode.py
../editors/ConfTreeNodeEditor.py
../editors/ResourceEditor.py
../editors/Viewer.py
../editors/LDViewer.py
../editors/DataTypeEditor.py
../editors/IECCodeViewer.py
../editors/TextViewer.py
../editors/ProjectNodeEditor.py
../editors/EditorPanel.py
../editors/DebugViewer.py
../editors/SFCViewer.py
../editors/FileManagementPanel.py
../editors/CodeFileEditor.py
../ProjectController.py
../controls/LocationCellEditor.py
../controls/SearchResultPanel.py
../controls/PouInstanceVariablesPanel.py
../controls/CustomTable.py
../controls/EnhancedStatusBar.py
../controls/LibraryPanel.py
../controls/UriLocationEditor.py
../controls/CustomToolTip.py
../controls/LogViewer.py
../controls/FolderTree.py
../controls/ProjectPropertiesPanel.py
../controls/DebugVariablePanel/DebugVariablePanel.py
../controls/DebugVariablePanel/DebugVariableViewer.py
../controls/DebugVariablePanel/DebugVariableTextViewer.py
../controls/DebugVariablePanel/DebugVariableGraphicViewer.py
../controls/DebugVariablePanel/GraphButton.py
../controls/DebugVariablePanel/DebugVariableItem.py
../controls/TextCtrlAutoComplete.py
../controls/DurationCellEditor.py
../controls/CustomStyledTextCtrl.py
../controls/VariablePanel.py
../controls/CustomGrid.py
../controls/CustomIntCtrl.py
../controls/CustomTree.py
../controls/CustomEditableListBox.py
../CodeFileTreeNode.py
../docutil/dochtml.py
../c_ext/CFileEditor.py
../xmlclass/xsdschema.py
../xmlclass/xmlclass.py
../Beremiz.py
../version.py
../POULibrary.py
../util/MiniTextControler.py
../util/ExceptionHandler.py
../util/misc.py
../util/ProcessLogger.py
../features.py
../svgui/svgui.py
../svgui/svgui_server.py
../svgui/svguilib.py
../plcopen/InstancesPathCollector.py
../plcopen/types_enums.py
../plcopen/InstanceTagnameCollector.py
../plcopen/BlockInstanceCollector.py
../plcopen/iec_std.csv
../plcopen/structures.py
../plcopen/XSLTModelQuery.py
../plcopen/POUVariablesCollector.py
../plcopen/VariableInfoCollector.py
../plcopen/plcopen.py
../plcopen/definitions.py
../IDEFrame.py
../PLCGenerator.py
../Beremiz_service.py
../plcopen/Additional_Function_Blocks.xml
../plcopen/Standard_Function_Blocks.xml