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.
<!DOCTYPE html>
<HTML lang="ru">
<HEAD><meta charset="utf-8" http-equiv="Content-Type" content="text/html; charset=utf-8">
<TITLE>О Beremiz</TITLE>
</HEAD>
<BODY>
<CENTER>
<IMG SRC="../images/splash.png">
<BR><BR>
<font size="3">Beremiz - это свободное программное обеспечение для автоматизации.</font>
<BR><BR>
<a href="http://www.beremiz.org/">http://www.beremiz.org/</a>
<BR><BR>
<TABLE border="0">
<TR>
<TD align="right" valign="top">
Спонсор разработки:
</TD>
<TD align="left" valign="top">
Университет Порту<BR>
<a href="http://www.fe.up.pt/si/web_page.inicial">http://www.fe.up.pt/si/web_page.inicial</a>
</TD>
</TR>
</TABLE>
</CENTER>
</BODY>
</HTML>