targets/Xenomai/XSD
author Andrey Skvortsov <andrej.skvortzov@gmail.com>
Fri, 25 Aug 2017 11:22:08 +0300
changeset 1789 492e2cd6157e
parent 615 72bc3e53a1fa
permissions -rwxr-xr-x
fix problem when Beremiz is running without matiec installed

set matiec settings only once on first use of ProjectController class and give
user-friendly message on compilation about missing matiec
installation.


Traceback (most recent call last):
File "Beremiz.py", line 197, in <module>
beremiz.Start()
File "Beremiz.py", line 192, in Start
self.CreateApplication()
File "Beremiz.py", line 130, in CreateApplication
self.BackgroundInitialization()
File "Beremiz.py", line 137, in BackgroundInitialization
self.ImportModules()
File "Beremiz.py", line 176, in ImportModules
import BeremizIDE
File
"BeremizIDE.py", line 76, in <module>
from ProjectController import ProjectController, GetAddMenuItems,
MATIEC_ERROR_MODEL, ITEM_CONFNODE
File
"ProjectController.py", line 177, in <module>
iec2c_cfg = Iec2CSettings()
File
"ProjectController.py", line 101, in __init__
self.ieclib_c_path = self.findLibCPath()
File
"ProjectController.py", line 135, in findLibCPath
os.path.join(self.ieclib_path, "C"),
File "/usr/lib/python2.7/posixpath.py", line 70, in join
elif path == '' or path.endswith('/'):
AttributeError: 'NoneType' object has no attribute 'endswith'
203
cb9901076a21 Added concepts :
etisserant
parents:
diff changeset
     1
321
5a4e6278a18b Adding support for Xenomai targets.
lbessard
parents: 204
diff changeset
     2
                  <xsd:element name="Xenomai">
203
cb9901076a21 Added concepts :
etisserant
parents:
diff changeset
     3
                    <xsd:complexType>
cb9901076a21 Added concepts :
etisserant
parents:
diff changeset
     4
                      %(toolchain_gcc)s
615
72bc3e53a1fa Xenomai Fix : build
Edouard Tisserant
parents: 321
diff changeset
     5
                      <xsd:attribute name="XenoConfig" type="xsd:string" use="optional" default="xeno-config"/>
203
cb9901076a21 Added concepts :
etisserant
parents:
diff changeset
     6
                    </xsd:complexType>
615
72bc3e53a1fa Xenomai Fix : build
Edouard Tisserant
parents: 321
diff changeset
     7
                  </xsd:element>