PLM之家PLMHome-工业软件践行者

[升级] Linux 验证teamcenter字符集ISO8859-1方法

  [复制链接]

2019-8-2 07:49:27 5743 2

2470

主题

1275

回帖

8万

积分

管理员

PLM之家站长

积分
82162
QQ
发表于 2014-4-4 13:23:35 | 显示全部楼层 |阅读模式

请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!

您需要 登录 才可以下载或查看,没有账号?注册

x
Linux 验证Teamcenter字符集ISO8859-1方法
# Z3 B# ]9 k5 p& x! g2 M2 [" Y/ O9 X
( u% T/ r& H: k. ^0 P9 x
Linux系统,teamcenter安装工具需要ISO8859-1的字符集。
% v& M* g9 f5 ~: U为什么一定需要这个字符集呢?) G8 ?! e" t: o
主要是因为teamcenter10.1 的安装bat不再是使用.dat的格式文件了,都用xml格式了。XML在读取和转化的过程中,系统必须能够处理非英文non-ASCII的字符集,所以在本地化之前系统必须加载这种字符集。
- l, r- W  ^/ E  n3 O通过locale –a  可以查看当前系统的字符集,如果不是要求的字符集,需要添加,具体方法如下:
: `7 u. O0 k4 Y+ v! A8 f, S% p- w1 eexport LC_ALL=en_US.ISO8859-1
! y: T, [0 M  R& X+ Oecho LC_ALL

  w8 {1 r; [- g
$ X) b6 h% x  y. C/ P; P: q- V2 k7 x4 x$ Z' G
上海点团信息科技有限公司,承接UG NX,CATIA,CREO,Solidworks 等CAx软件,Teamcenter,3D Experience等PLM软件,工业4.0数字化软件的实施\二次开发\培训相关业务,详情QQ 939801026 Tel 18301858168 网址 doTeam.tech
回复

使用道具 举报

全部回复2

2

主题

66

回帖

563

积分

高级会员

积分
563
发表于 2014-9-27 16:47:11 | 显示全部楼层
为什么有人windows平台下TC10不能用utf-8
上海点团信息科技有限公司,承接UG NX,CATIA,CREO,Solidworks 等CAx软件,Teamcenter,3D Experience等PLM软件,工业4.0数字化软件的实施\二次开发\培训相关业务,详情QQ 939801026 Tel 18301858168 网址 www.doteam.tech
回复 支持 反对

使用道具 举报

0

主题

29

回帖

92

积分

注册会员

积分
92
发表于 2019-8-2 07:49:27 | 显示全部楼层
修改了,但model_backup.xml中还是有乱码呢,处理这个文件时报错。. e1 f+ R! c/ X* A& B" ]
Executing process templates
+ w+ @' @) N- lAdding Template to Master File...1 l8 n8 }8 K$ u4 L
Backing up the Consolidated Model File...4 v  N; v2 S, ~& o0 b/ u& ?
Backing up the Consolidated Model Localization File...
* f9 U) h6 j5 B0 P$ r- a/ C! a7 uFinding Applicable Locales...
9 I% o$ g2 f2 I" @! J/ v% [Finding Applicable Locales...
$ c* z' Y$ K0 DCreating the Consolidated Model File...6 U+ m' r# E% C
Creating the Localization Consolidated Model File...
- N! \6 @8 k" V  eLoading the Backup File...5 V% ^! G' J6 m0 H
***ERROR : Data Model Errors in file /usr/Siemens/tcdata/model/model_backup.xml.) y! L+ h7 j1 q$ O5 ]4 I
Error! Model Error: /usr/Siemens/tcdata/model/lang/model_backup_lang.xml Line:19565 Column:206 The text "ÔÚ¹ØÁªÖд´½¨ - ÒÑÆúÓᣲμûÖ§³ÖÎĵµÖÐÓй..." cannot exceed "128" bytes. Your text is 142 bytes too long.7 w9 y& E+ Z5 w6 M6 f3 v  {, `
Error! Model Error: /usr/Siemens/tcdata/model/lang/model_backup_lang.xml Line:19569 Column:215 The text "ÔÚ¹ØÁªÖÐÌí¼ÓµÄ¸¸¼þ - ÒÑÆúÓᣲμûÖ§³ÖÎĵ..." cannot exceed "128" bytes. Your text is 154 bytes too long.5 V7 l, j* \# N0 T+ f
Error! Model Error: /usr/Siemens/tcdata/model/lang/model_backup_lang.xml Line:19617 Column:217 The text "ÔÚ¹ØÁªÖÐÒÆ³ýµÄ¸¸¼þ - ÒÑÆúÓᣲμûÖ§³ÖÎĵ..." cannot exceed "128" bytes. Your text is 154 bytes too long.
( H/ v, C+ j+ N: ^0 Q% `& A1 kError! Model Error: /usr/Siemens/tcdata/model/lang/model_backup_lang.xml Line:21805 Column:207 The text "ÓÃÓÚ´´½¨µÄ±à¼­¹ØÁª¡£²Î¼ûÖ§³ÖÎĵµÖÐÓÐ¹Ø F..." cannot exceed "128" bytes. Your text is 152 bytes too long.
6 ]' Q6 @9 \. A8 M) F; WError! Model Error: /usr/Siemens/tcdata/model/lang/model_backup_lang.xml Line:21857 Column:197 The text "µ±Ç°±à¼­¹ØÁª - ÒÑÆúÓᣲμûÖ§³ÖÎĵµÖÐÓй..." cannot exceed "128" bytes. Your text is 142 bytes too long.9 J0 A% r; N6 v3 w3 ^* Y
Error! Model Error: /usr/Siemens/tcdata/model/lang/model_backup_lang.xml Line:28007 Column:177 The text "Íâ¹Û¸üÐÂÆ÷°æ±¾ÊÓͼӰÏì¸ù½ÚµãÁÐ±í¡£ÒÑÆúÓÃ..." cannot exceed "128" bytes. Your text is 132 bytes too long.. U1 x0 H; H% v6 N7 N
Error! Model Error: /usr/Siemens/tcdata/model/lang/model_backup_lang.xml Line:337 Column:170 The text "Íâ¹Û¸üÐÂÆ÷°æ±¾ÊÓͼӰÏìÔöÁ¿¸ü¸ÄµÄ¸ù½Úµã¡£..." cannot exceed "128" bytes. Your text is 144 bytes too long.
, e" _3 H. R8 g" Q% I/ D) t& Y' RError! Model Error: /usr/Siemens/tcdata/model/lang/model_backup_lang.xml Line:421 Column:172 The text "Íâ¹Û¸üÐÂÆ÷£¨¸ù¾ÝÍâ¹Û¸ù½ÚµãÓÐЧÐÔ°ü£©¡£ÒÑ..." cannot exceed "128" bytes. Your text is 140 bytes too long.3 B( e) t. B9 m
Error! Model Error: /usr/Siemens/tcdata/model/lang/model_backup_lang.xml Line:705 Column:166 The text "Íâ¹Û°æ±¾¹ØÏµ¶ÔÏóÍâ¹ÛÀúÊ·¼Ç¼ÌõÄ¿¡£ÒÑÆúÓÃ..." cannot exceed "128" bytes. Your text is 132 bytes too long.
2 K4 J7 H& R: m3 X: p" IError! Model Error: /usr/Siemens/tcdata/model/lang/model_backup_lang.xml Line:1763 Column:175 The text "Íâ¹Û°æ±¾¹ØÏµ¶ÔÏóÈÕÆÚÓÐЧÐÔÀúÊ·¼Ç¼ÌõÄ¿¡£..." cannot exceed "128" bytes. Your text is 144 bytes too long.' [8 p/ O: U$ N% \- F( h8 r0 F
Error! Model Error: /usr/Siemens/tcdata/model/lang/model_backup_lang.xml Line:3819 Column:170 The text "Íâ¹Û¸üÐÂÆ÷£¨¸ù¾ÝÍâ¹Û¸ù½Úµã°æ±¾°ü£©¡£ÒÑÆú..." cannot exceed "128" bytes. Your text is 136 bytes too long.2 ~# n- U- B1 E
Error! Model Error: /usr/Siemens/tcdata/model/lang/model_backup_lang.xml Line:4271 Column:172 The text "Íâ¹Û¸üÐÂÆ÷°æ±¾ÊÓͼӰÏìÒѸü¸Ä°æ±¾µÄ¸ù½Úµã..." cannot exceed "128" bytes. Your text is 148 bytes too long.
- ~2 ~6 A% P+ a# X, K# e: Q/ hError! Model Error: /usr/Siemens/tcdata/model/lang/model_backup_lang.xml Line:4882 Column:174 The text "Íâ¹Û¸üÐÂÆ÷£¨¸ù¾ÝÍâ¹Û¸ù½Úµã¹¤×÷°ü£©¡£ÒÑÆú..." cannot exceed "128" bytes. Your text is 136 bytes too long.( x- Z- W+ e" L" o
Please check the errors.
7 r4 `, w) Z  V9 T4 t( \  e8 AAborting...  {, Q4 ?( ?/ r# ^" _. q
Error in Loading backup Model! L- |0 `/ W* `; f3 D
**The backup of all files used for delta generation is available in /usr/Siemens/Teamcenter11/logs/1908011712/compare_history/install/model_compare_2019_08_01_17-18-59.zip4 ^. p5 ^/ G" a' C
Restoring the files from the database.
9 f1 X: F. Y9 x' N! M8 [Updating FileVersions.txt before restoring files8 V/ `6 R6 b. I! g+ k7 a
java.lang.Exception5 D) t3 c) _! t: u# a, P4 N( E
        at com.teamcenter.bmide.foundation.core.consolidator.ProcessTemplates.generateDelta(Unknown Source)
0 C+ _+ j" ]3 X2 a2 y( i        at com.teamcenter.bmide.foundation.core.consolidator.ProcessTemplates.compareModels(Unknown Source)
$ N' e' k. U0 p7 o5 A" d        at com.teamcenter.bmide.foundation.core.consolidator.ProcessTemplates.bmideDbSetup(Unknown Source)7 C9 P; H1 Y: [6 ~
        at com.teamcenter.bmide.foundation.core.consolidator.ProcessTemplates.bmideDbSetup(Unknown Source)
# A3 V: d0 z1 w/ ^- v% @& ~        at com.teamcenter.bmide.foundation.core.internal.install.PreTemplateInstall.processTemplates(Unknown Source)6 R8 q0 z6 H, ?0 i/ z; W
        at com.teamcenter.bmide.foundation.core.internal.install.PreTemplateInstall.executePreTemplateInstall(Unknown Source)
- f3 \% h8 I. l        at com.teamcenter.bmide.foundation.core.internal.install.PreTemplateInstallMain.execute(Unknown Source)
3 b; H1 n+ z0 L! G. ^3 i        at com.teamcenter.bmide.foundation.core.internal.install.PreTemplateInstallMain.main(Unknown Source)
; I. X1 y9 n# a  P0 I/ h( b. wProcess Templates failed
! X: ~+ z' B( ]+ [2 s: }Script execution failed.
' h8 i3 J$ O! j2 E" `& d+ sCommand end time: Thu Aug 01 05:19:00 PM 2019
8 Z2 {4 X" u- WCommand duration: 2 minutes 20.278 seconds
2 j& u  p$ }/ R% X3 C" V, u) O5 vERROR: Execution of command 1 failed with error code 11 k( o  g$ l, Z/ T* Y
上海点团信息科技有限公司,承接UG NX,CATIA,CREO,Solidworks 等CAx软件,Teamcenter,3D Experience等PLM软件,工业4.0数字化软件的实施\二次开发\培训相关业务,详情QQ 939801026 Tel 18301858168 网址 www.doteam.tech
回复 支持 反对

使用道具 举报

发表回复

您需要登录后才可以回帖 登录 | 注册

返回列表 本版积分规则

  • 发布新帖

  • 在线客服

  • 微信

  • 客户端

  • 返回顶部

  • x
    温馨提示

    本网站(plmhome.com)为PLM之家工业软件学习官网站

    展示的视频材料全部免费,需要高清和特殊技术支持请联系 QQ: 939801026

    PLM之家NX CAM二次开发专题模块培训报名开始啦

    我知道了