runtime_files.list
author Andrey Skvortsov <andrej.skvortzov@gmail.com>
Tue, 28 Aug 2018 17:19:13 +0300
changeset 2299 8df93571af65
parent 2294 da288f63612f
child 2305 56f1d8aca886
permissions -rw-r--r--
Avoid dictionary initialization during import in PouDialog

Because initialization happened before i18n setup, then it causes later
problems during creating new POU on non-English locales (Russian for example).

Traceback (most recent call last):
File "/home/developer/WorkData/PLC/beremiz/beremiz/IDEFrame.py", line 2332, in OnAddPouMenu
dialog = PouDialog(self, pou_type, type_readonly)
File "/home/developer/WorkData/PLC/beremiz/beremiz/dialogs/PouDialog.py", line 101, in __init__
self.RefreshLanguage()
File "/home/developer/WorkData/PLC/beremiz/beremiz/dialogs/PouDialog.py", line 154, in RefreshLanguage
if language != "SFC" or PouDialog.POU_TYPES_DICT[self.PouType.GetStringSelection()] != "function":
KeyError: u'\u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430'
1902
2b7e2db31d81 Clarify licensing, and packaging of runtime only files :
Edouard Tisserant
parents:
diff changeset
     1
# those files are used in runtime
2b7e2db31d81 Clarify licensing, and packaging of runtime only files :
Edouard Tisserant
parents:
diff changeset
     2
# licensed according to LGPL, see COPYING.runtime 
2b7e2db31d81 Clarify licensing, and packaging of runtime only files :
Edouard Tisserant
parents:
diff changeset
     3
2b7e2db31d81 Clarify licensing, and packaging of runtime only files :
Edouard Tisserant
parents:
diff changeset
     4
images/icostop24.png
2b7e2db31d81 Clarify licensing, and packaging of runtime only files :
Edouard Tisserant
parents:
diff changeset
     5
images/icoplay24.png
2b7e2db31d81 Clarify licensing, and packaging of runtime only files :
Edouard Tisserant
parents:
diff changeset
     6
images/brz.png
2b7e2db31d81 Clarify licensing, and packaging of runtime only files :
Edouard Tisserant
parents:
diff changeset
     7
util/__init__.py
2b7e2db31d81 Clarify licensing, and packaging of runtime only files :
Edouard Tisserant
parents:
diff changeset
     8
util/paths.py
2b7e2db31d81 Clarify licensing, and packaging of runtime only files :
Edouard Tisserant
parents:
diff changeset
     9
runtime/WampClient.py
2b7e2db31d81 Clarify licensing, and packaging of runtime only files :
Edouard Tisserant
parents:
diff changeset
    10
runtime/PLCObject.py
2b7e2db31d81 Clarify licensing, and packaging of runtime only files :
Edouard Tisserant
parents:
diff changeset
    11
runtime/NevowServer.py
2b7e2db31d81 Clarify licensing, and packaging of runtime only files :
Edouard Tisserant
parents:
diff changeset
    12
runtime/webinterface.js
2b7e2db31d81 Clarify licensing, and packaging of runtime only files :
Edouard Tisserant
parents:
diff changeset
    13
runtime/__init__.py
2b7e2db31d81 Clarify licensing, and packaging of runtime only files :
Edouard Tisserant
parents:
diff changeset
    14
runtime/ServicePublisher.py
2b7e2db31d81 Clarify licensing, and packaging of runtime only files :
Edouard Tisserant
parents:
diff changeset
    15
runtime/typemapping.py 
2b7e2db31d81 Clarify licensing, and packaging of runtime only files :
Edouard Tisserant
parents:
diff changeset
    16
runtime/loglevels.py 
2b7e2db31d81 Clarify licensing, and packaging of runtime only files :
Edouard Tisserant
parents:
diff changeset
    17
Beremiz_service.py
2294
da288f63612f Make Beremiz_service print version information
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1902
diff changeset
    18
version.py