Troubleshooting > Troubleshoot Translators
NXToPvDirect translations hang
When translations for NxToPvDirect are submitted to the Dispatcher Server, the translator launches, but hangs and never completes the operation. When this translator runs in batch mode it must connect and log on to Teamcenter as a validated user. When the dispatcher module launches the translator, the validated user logging on to Teamcenter must be the same user as the Module, meaning that the translator must be running as the same user name as the Module service. There are two solutions for this: Run the Module as a user with a valid Teamcenter user. This is the correct solution for this problem. Modify the launch script used by Dispatcher to start the translator to add the user name and password as a parameter to the UgToPvDirect translator. This is not the best solution because this exposes the user name and password in a text file. If this approach is chosen, the Dispatcher batch script must be properly secured to avoid anyone (other than the module and translator) from being able to read or get access to this file. Linux example: Copy # Using single part option with individual @DB strings
if [ $1 = -single_part ]; then if [ $3 = defaultdef ]; then export UGII_DEFAULTS_FILE= else export UGII_DEFAULTS_FILE=$3 fi export UGII_LOAD_OPTIONS= $UGII_BASE_DIR/pvtrans/run_ugtopv -single_part -config=$UGII_CONFIG_FILE -noupdate -pim=yes $4 $5 $6 $7 $8 $9
Copying latest UG release status.
elif [ $1 = copyugrelstatus ]; then . $TC_DATA/tc_profilevars $TC_ROOT/bin/tc_workflow_postprocess $2 $3 $4 $5 $6 $7 $8 $9
Using text file with @DB Strings
else
$UGII_BASE_DIR/pvtrans/run_ugtopv -config=$UGII_CONFIG_FILE -noupdate -pim=yes $3 $4 $5 $6 $7 $8 $9
fi
exitvalue=$?
if [[ uname = SunOS ]] then
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH_ORG
elif [[ uname = HP-UX ]] then
export SHLIB_PATH=$SHLIB_PATH_ORG
elif [[ uname = AIX ]] then
export LIBPATH=$LIBPATH_ORG
elif [[ uname = IRIX64 ]] then
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH_ORG
export LD_LIBRARYN32_PATH=$LD_LIBRARYN32_PATH_ORG
fi
exit $exitvalue
Windows example: Copy REM
REM Using text file with @DB Strings
REM
"%UGII_BASE_DIR%\PVTRANS\run_ugtopv.bat" -config="%UGII_CONFIG_FILE%" -noupdate "-pim=yes" %3 %4 %5 %6 %7 %8 %9
goto done
REM
REM Using single part option with individual @DB strings
REM
:single_part
set UGII_DEFAULTS_FILE=%3
if %3==defaultdef set UGII_DEFAULTS_FILE=
set UGII_LOAD_OPTIONS=
"%UGII_BASE_DIR%\PVTRANS\run_ugtopv.bat" -single_part -config="%UGII_CONFIG_FILE%" -noupdate "-pim=yes" %4 %5 %6 %7 %8 %9
goto done
REM
REM Copying latest UG release status.
REM
:copyugrelstatus
call %TC_DATA%\tc_profilevars
"%TC_ROOT%\bin\tc_workflow_postprocess.exe" %2 %3 %4 %5 %6 %7 %8 %9
goto done
Source: https://docs.sw.siemens.com/documentation/external/PL20251212545240207/en-US/tc_help/plm00565/wol1737253050687/zhw1737253051614/NXToPvDirect_Translations_Hang.html · retrieved Fri Jul 31 2026 00:00:00 GMT+0000 (Coordinated Universal Time)