canfestival/test_config/nodelist.cpj
author Andrey Skvortsov <andrej.skvortzov@gmail.com>
Mon, 14 Jan 2019 12:30:32 +0300
changeset 2506 8dbdf20f795b
parent 721 ecf4d203c4d4
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'
34
2721e6910f5a config_utils.py rewritten
lbessard
parents:
diff changeset
     1
[TOPOLOGY]
2721e6910f5a config_utils.py rewritten
lbessard
parents:
diff changeset
     2
NetName=None
2721e6910f5a config_utils.py rewritten
lbessard
parents:
diff changeset
     3
Nodes=0x01
2721e6910f5a config_utils.py rewritten
lbessard
parents:
diff changeset
     4
Node64Present=0x01
2721e6910f5a config_utils.py rewritten
lbessard
parents:
diff changeset
     5
Node64Name=micromod
2721e6910f5a config_utils.py rewritten
lbessard
parents:
diff changeset
     6
Node64DCFName=PEAK MicroMod.eds
2721e6910f5a config_utils.py rewritten
lbessard
parents:
diff changeset
     7
EDSBaseName=eds