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

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

  [复制链接]

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

admin 发表于 2014-4-4 13:23:35 |阅读模式

admin 楼主

2014-4-4 13:23:35

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

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

x
Linux 验证Teamcenter字符集ISO8859-1方法5 b4 o! S' M4 n% |" ]& K

' ?: H! a  l2 D' q3 r4 X

1 r- |4 x0 }1 J5 _# xLinux系统,teamcenter安装工具需要ISO8859-1的字符集。
% j6 {* g# Q$ B3 D( o为什么一定需要这个字符集呢?
# Y( F7 R% e9 Z: B1 G' v主要是因为teamcenter10.1 的安装bat不再是使用.dat的格式文件了,都用xml格式了。XML在读取和转化的过程中,系统必须能够处理非英文non-ASCII的字符集,所以在本地化之前系统必须加载这种字符集。( S. T0 z7 [$ K( C  Z5 Q
通过locale –a  可以查看当前系统的字符集,如果不是要求的字符集,需要添加,具体方法如下:
: K" T, D6 L& p$ S6 Vexport LC_ALL=en_US.ISO8859-1. A, ?0 A9 N+ Z7 \/ T; s* l
echo LC_ALL
0 s' t- I. K2 T

  ^4 \+ N8 A& Q. b$ I$ R" [1 y$ _) h' P- \, D" v" a
上海点团信息科技有限公司,承接UG NX,CATIA,CREO,Solidworks 等CAx软件,Teamcenter,3D Experience等PLM软件,工业4.0数字化软件的实施\二次开发\培训相关业务,详情QQ 939801026 Tel 18301858168 网址 doTeam.tech
回复

使用道具 举报

全部回复2

superOcean 发表于 2014-9-27 16:47:11

superOcean 沙发

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.diantuankj.com/ doTeam.tech
回复 支持 反对

使用道具 举报

miter 发表于 2019-8-2 07:49:27

miter 板凳

2019-8-2 07:49:27

修改了,但model_backup.xml中还是有乱码呢,处理这个文件时报错。
/ _. L, N4 c& E) w3 }Executing process templates
) g( z& l1 g) n5 i+ IAdding Template to Master File...
4 P- `- K5 S& S: `3 E8 j) DBacking up the Consolidated Model File...
5 K! f/ u! G# j% CBacking up the Consolidated Model Localization File...
6 K  m9 b" F( N1 }0 U7 MFinding Applicable Locales...
5 Z' P# h% e0 \  U1 L! nFinding Applicable Locales...6 M  k5 }- t5 T% C' P1 V
Creating the Consolidated Model File...
9 @& J1 e+ d# p9 C4 F, {0 t: hCreating the Localization Consolidated Model File...
  {3 v! `3 ~4 I/ i# q8 OLoading the Backup File...8 ^/ {2 S) ?) c  I2 V1 S7 _5 u  ~
***ERROR : Data Model Errors in file /usr/Siemens/tcdata/model/model_backup.xml., L+ w( |. V4 w
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.
5 D5 F4 ~" V! E0 JError! 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.# D$ [) k6 v& ~
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.0 }+ d. J* L. x0 D# d
Error! 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.
7 G$ f' D; K! E( t# P3 s. MError! 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.
  ~% S5 Z& G- t1 K& |2 iError! 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.9 D6 \: [" y$ d; k% e' K2 I( p
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.( W. q! W: ~- v
Error! 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.+ O; T2 u; W9 K
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.
5 M/ x6 B% `, \Error! 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.
4 [! T& J7 ^1 u2 s5 [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.$ O' H6 Q9 X. U6 [) v
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.
6 _$ A4 G/ n+ R" x: k6 c" pError! 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.8 d& D# i6 |! p
Please check the errors.
) e; C+ {: [; D- D: P0 \- b% S; d6 ~Aborting...
  o1 p; M8 y( W, K# b) X3 GError in Loading backup Model9 e7 j+ {, Z) V, A* f" i
**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.zip
) e8 w2 u  q+ c+ tRestoring the files from the database.- O: B" Z2 Y6 b  R  f* B2 P" `0 R
Updating FileVersions.txt before restoring files5 u1 E3 ]' r% j3 y& M
java.lang.Exception# x& z+ a% K  Y9 M1 z4 |- y
        at com.teamcenter.bmide.foundation.core.consolidator.ProcessTemplates.generateDelta(Unknown Source)
2 q/ f- b3 m6 ?9 Y        at com.teamcenter.bmide.foundation.core.consolidator.ProcessTemplates.compareModels(Unknown Source)
; X4 ~' |" b0 k# u  F7 z) B        at com.teamcenter.bmide.foundation.core.consolidator.ProcessTemplates.bmideDbSetup(Unknown Source)$ W9 v3 \1 C+ h7 W/ S9 E6 J
        at com.teamcenter.bmide.foundation.core.consolidator.ProcessTemplates.bmideDbSetup(Unknown Source)5 L# |0 P) v* ~* F  o- D( z! F
        at com.teamcenter.bmide.foundation.core.internal.install.PreTemplateInstall.processTemplates(Unknown Source)
% i2 U! O5 H2 S7 {5 ]+ p        at com.teamcenter.bmide.foundation.core.internal.install.PreTemplateInstall.executePreTemplateInstall(Unknown Source)
4 h& r" {- j! O$ W        at com.teamcenter.bmide.foundation.core.internal.install.PreTemplateInstallMain.execute(Unknown Source): g" T  |: H" `; s
        at com.teamcenter.bmide.foundation.core.internal.install.PreTemplateInstallMain.main(Unknown Source)9 ~; [3 `# p' {6 I4 M. ~  l  s1 K
Process Templates failed
) p' }7 |+ c2 e: i- HScript execution failed.
1 a; U. {/ E' G& d* N6 z/ CCommand end time: Thu Aug 01 05:19:00 PM 2019) Y8 u- H( ]4 Q* c  B/ [3 m0 N
Command duration: 2 minutes 20.278 seconds
- ]+ e( w' [; NERROR: Execution of command 1 failed with error code 1
6 v0 Z9 }! D# S- g* w
上海点团信息科技有限公司,承接UG NX,CATIA,CREO,Solidworks 等CAx软件,Teamcenter,3D Experience等PLM软件,工业4.0数字化软件的实施\二次开发\培训相关业务,详情QQ 939801026 Tel 18301858168 网址 www.diantuankj.com/ doTeam.tech
回复 支持 反对

使用道具 举报

发表回复

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

返回列表 本版积分规则

  • 发布新帖

  • 在线客服

  • 微信

  • 客户端

  • 返回顶部

  • x
    温馨提示

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

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

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

    我知道了