AR# 24473: 9.1i ISE - Project -> Source Control -> Import error: "ERROR:ProjectMgmt - TOE: ITclInterp::ExecuteCmd gave Tcl result 'A failure occurred while attempting to fetch a ptrHandle parameter '"
AR# 24473
|
9.1i ISE - Project -> Source Control -> Import error: "ERROR:ProjectMgmt - TOE: ITclInterp::ExecuteCmd gave Tcl result 'A failure occurred while attempting to fetch a ptrHandle parameter '"
A project is exported using Project -> Source Control -> Export and "Create a Tcl script to regenerate the project file" is selected under "Project File Export options." When this newly created Tcl script is imported (Project -> Source Control -> Import), the following error occurs:
"ERROR:ProjectMgmt - TOE: ITclInterp::ExecuteCmd gave Tcl result 'A failure occurred while attempting to fetch a ptrHandle parameter from the tcl var file_type Failure(s) took place while fetching parameters'. Tcl_ErrnoId: unknown error Tcl_ErrnoMsg: No error _cmd: source "<exported project>.tcl" import "<import directory>" "<export directory>" $this
errorInfo: A failure occurred while attempting to fetch a ptrHandle parameter from the tcl var file_type Failure(s) took place while fetching parameters while executing "$i_file_mgr AddFile $filename file_type hdl_file" (procedure "import" line 70) invoked from within "import "<import directory>" "<export directory>" $this" Copying files from "<export directory>" to "<import directory>" Recreating project <project name>.ise Initializing device settings"
The newly created project does not show the correct project hierarchy in the Sources window.
Solution
This error occurs in ISE 9.1i if all of the source files are not selected to be exported with the .tcl script.