tests/svgui/beremiz.xml
author Andrey Skvortsov <andrej.skvortzov@gmail.com>
Mon, 14 Jan 2019 12:30:32 +0300
changeset 2506 8dbdf20f795b
parent 2231 7d87a0f98345
permissions -rw-r--r--
fix 'SaveAs' in case of overwriting existing project

Traceback (most recent call last):
File "/home/developer/WorkData/PLC/beremiz/beremiz/BeremizIDE.py", line 959, in OnSaveProjectAsMenu
self.CTR.SaveProjectAs()
File "/home/developer/WorkData/PLC/beremiz/beremiz/ProjectController.py", line 600, in SaveProjectAs
self.SaveProject(old_project_path)
File "/home/developer/WorkData/PLC/beremiz/beremiz/ProjectController.py", line 579, in SaveProject
self._getProjectFilesPath(self.ProjectPath))
File "/usr/lib/python2.7/shutil.py", line 200, in copytree
os.makedirs(dst)
File "/usr/lib/python2.7/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 17] File exists: '/tmp/tests/project_files'
2231
7d87a0f98345 Explicitly enable required libraries in test projects
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 411
diff changeset
     1
<?xml version='1.0' encoding='utf-8'?>
411
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
     2
<BeremizRoot URI_location="LOCAL://">
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
     3
  <TargetType/>
2231
7d87a0f98345 Explicitly enable required libraries in test projects
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 411
diff changeset
     4
  <Libraries Enable_SVGUI_Library="true" Enable_Python_Library="true"/>
411
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
     5
</BeremizRoot>