beremiz

a3ec35ee94e7
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
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'
# SOME DESCRIPTIVE TITLE.
# Copyright (C) is 21st century inquisition
# This file is distributed under the same license as the Beremiz package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Beremiz 1.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-09-08 01:21\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
# e0e40f1a04d7450688029783c597a70d
#: ../../manual/install.rst:2
msgid "Beremiz installation"
msgstr ""
# 5e953bd727894d009ca24f196368efbe
#: ../../manual/install.rst:5
msgid "Windows"
msgstr ""
# 03cff4ee7cf34d00b1fb7b38fa005659
#: ../../manual/install.rst:6
msgid "Download installer, install."
msgstr ""
# 6acb8dbf0a7e49e580a933ea249db0f3
#: ../../manual/install.rst:9
msgid "Linux"
msgstr ""
# bc03e803fcdb4657a592f44f07394253
#: ../../manual/install.rst:10
msgid "Pre-requisites::"
msgstr ""
# 288ed8f1d1f54cd289b063ed32f254ff
#: ../../manual/install.rst:16
msgid "Prepare::"
msgstr ""
# 526e508b99f243d089c784221be33306
#: ../../manual/install.rst:21
msgid "Get Source Code::"
msgstr ""
# 8387822a9b0d44f0acfda034356c2895
#: ../../manual/install.rst:29
msgid "Build MatIEC compiler::"
msgstr ""
# 6e641f0bd7294cebbf9945f9b6f30f49
#: ../../manual/install.rst:35
msgid "Build CanFestival (optional)::"
msgstr ""
# 893b801ddc7e4136b0b27c409addf250
#: ../../manual/install.rst:47
msgid "Launch Beremiz::"
msgstr ""