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# 31224

10.1 ISE - Project Navigator: Project -> Generate Tcl Script process fails if spaces are in the specified file name


Using the Project -> Generate Tcl Script process and entering a name with a blank space (e.g., "test 1.tcl" or "c:/my proj/test.tcl") does not create the desired script (no file is in the corresponding directory location.

In the console window the following error message is seen:


ERROR:ProjectMgmt:387 - TOE: ITclInterp::ExecuteCmd gave Tcl result 'wrong # args: should be "::Xilinx::Dpm::dpm_chGenTclScript sScriptName projname scriptopt projInfo fileInfo libInfo partInfo propInfo"'.

Tcl_ErrnoId: unknown error

Tcl_ErrnoMsg: No error



To work around this problem, a user can place curly brackets {} around the path and file name in the Generate Tcl Script dialog box (e.g., {test 1.tcl} or {c:/my proj/test.tcl}.

This problem has been fixed in the latest 10.1 Service Pack available at:

The first service pack containing the fix is 10.1 Service Pack 2

Note: The ISE software only officially supports spaces in directory names (not file names).

AR# 31224
Date Created 06/19/2008
Last Updated 05/13/2010
Status Archive
Type General Article