doc/plcopen_about.ru.html
author Andrey Skvortsov <andrej.skvortzov@gmail.com>
Thu, 28 Apr 2016 12:58:58 +0300
changeset 1506 b9b8978dbc9d
parent 1492 14ce1a631f44
permissions -rw-r--r--
Fix error about missing attribute 'timeout' that happens sometimes during compilation

The fix [1476:49f1763a5613] of the problem with following trace was wrong.
Traceback (most recent call last):
File "./Beremiz.py", line 1229, in run_with_except_hook
run_old(*args, **kw)
File
"/home/developer/WorkData/PLC/beremiz/beremiz/util/ProcessLogger.py",
line 68, in run
self.endcallback(self.Proc.pid, err)
File
"/home/developer/WorkData/PLC/beremiz/beremiz/util/ProcessLogger.py",
line 169, in finish
if self.timeout: self.timeout.cancel()
AttributeError: ProcessLogger instance has no attribute 'timeout'
The problem was that compilation process was finished before the timeout attribute is set.
Now timeout is set before launcing of compilation process.
<HTML>
  <HEAD><meta charset="utf-8" http-equiv="Content-Type" content="text/html; charset=utf-8">  
    <TITLE>О PLCOpen Editor</TITLE>
  </HEAD>
  <BODY>
<CENTER>
<IMG SRC="../images/aboutlogo.png">
<BR><BR>
<font size="3">PLCopen Editor сохраняет и загружает XML
  проекты,<BR>созданные согласно PLCopen TC6-XML схемам.</font>
<BR><BR>
За подробной информацией обращаться:
<a href="http://www.beremiz.org/">http://www.beremiz.org/</a>
<BR><BR>
</CENTER>
</BODY>
</HTML>