UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

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 '"

Description

Keywords: export, Tcl, project, .ise, parameter, fetching, ptrHandle, ITclInterp

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.

This problem has been fixed in the latest 9.1i Service Pack available at:
http://www.xilinx.com/xlnx/xil_sw_updates_home.jsp
The first service pack containing the fix is 9.1i Service Pack 1.
AR# 24473
Date Created 09/04/2007
Last Updated 04/17/2009
Status Archive
Type General Article