AR# 24744: 9.1i ISE - Project Navigator cannot open a project; problem occurs while loading a project
9.1i ISE - Project Navigator cannot open a project; problem occurs while loading a project
Project Navigator fails to open an ISE project. What are the options to restore the project?
If an ISE project file is corrupt due to a system or software crash (or another event), you can try one of the following to attempt to recover the project:
- Replace the .ise file with the .ise_backup file. Rename the backup file to use the .ise extension. Depending on the timing of the crash and when the project corruption is noticed, this option might not work. In 9.1i, the .ise_backup file is replaced before a project is opened. Consequently, if the project file is corrupt at the time an open project is attempted, the .ise_backup file will also be corrupted.
- Use a snapshot file (.snp) from a recent project snapshot as the project file. Replace the .ise file with the .snp file and change the .snp extension to .ise. Allow the new .ise file to have Read/Write permissions.
- Use revision control software. Revision control through Project -> Source Control ... or any third-party revision control software can be used to preserve the content of a project.
- In ISE 9.1i Service Pack 2, a restore feature is available. When a project is opened in ISE 9.1.02i (or later), a <project_name>.restore file is created. This file is a Tcl script that can be used to recreate the project.
Once the <project_Name>.restore file exists, if the project file develops a problem, attempting to open the project returns an error stating the following:
"A problem occurred while loading the project."
The project can be recreated with the Project Restoration script, <Project_Name>.restore.
To use this project script, select the Project Navigator Tcl tab and execute the following commands:
The <project_name>.restore script can be used to recreate the project from scratch. Note that the restoration will recreate the project with all of the source files, process and project settings that the project contained when last opened. The restoration script will not restore the synthesis or implementation status of the project.
To use this script, source it in a Xilinx Tcl shell, such as xtclsh or the Project Navigator Tcl Shell tab, and call the 'restore' procedure.
First source the script:
% source Project_name>.restore
then run the restore command
# Note that restoring a project this way has the following limitations:
# - Process status will not be restored.
# - A root-level source will be set as "Top", even if a lower-level source had previously been set as "Top".
# - Sources with non-default Design View associations will revert to the default association.
# - Snapshots will not be restored.
The project that failed to load is backed up as <project_name>.fail.
Please open a Technical Support WebCase and submit this file, along with the project source files, for evaluation: