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

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

  [复制链接]

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

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

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

x
Linux 验证Teamcenter字符集ISO8859-1方法7 d6 Q4 L: O/ z+ I5 j# f8 o

4 p1 }! G5 @9 Q

- B+ [  a( E" O: z6 \Linux系统,teamcenter安装工具需要ISO8859-1的字符集。. N5 G# y# j8 n  R, t7 J% A6 l  c
为什么一定需要这个字符集呢?: a$ w2 `- G1 m
主要是因为teamcenter10.1 的安装bat不再是使用.dat的格式文件了,都用xml格式了。XML在读取和转化的过程中,系统必须能够处理非英文non-ASCII的字符集,所以在本地化之前系统必须加载这种字符集。
; O# D* m# d4 p" ^0 Y$ V! f通过locale –a  可以查看当前系统的字符集,如果不是要求的字符集,需要添加,具体方法如下:' @- C* k3 }; U7 ]& v9 }
export LC_ALL=en_US.ISO8859-1
' g1 F! Q+ h% oecho LC_ALL

6 M2 |) h" ?' y: l; k3 H' ~$ o1 f2 r/ ^1 A3 ?; h
) D! K" f; I! D/ P+ a3 Q' R% e
上海点团信息科技有限公司,承接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中还是有乱码呢,处理这个文件时报错。
7 ^% w; [. y2 _2 E: q# fExecuting process templates/ P5 w0 O: b: z8 q: T7 c
Adding Template to Master File...
3 N" S$ j$ V  b# y/ rBacking up the Consolidated Model File...) k8 x9 C  Z, M; W4 u
Backing up the Consolidated Model Localization File.../ ^9 b1 m9 [' H& q8 |
Finding Applicable Locales...5 Z7 z3 C; N! y% X' r3 f
Finding Applicable Locales...
1 {( [3 X) d  t, @8 SCreating the Consolidated Model File...
) r8 }/ G# ^3 @* D2 z+ \2 N& DCreating the Localization Consolidated Model File...- o, z3 Y5 i- l- A2 Y
Loading the Backup File...7 g4 k8 i4 @7 s1 X7 D3 {
***ERROR : Data Model Errors in file /usr/Siemens/tcdata/model/model_backup.xml.
1 v5 H! m0 c& l5 jError! 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.- o: a7 V, X$ y2 O, X
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.0 J( Z1 U4 T2 k) B
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.
% s0 m1 V! [  u2 ~* V3 a, Z; zError! 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 A0 W+ j2 t1 Z" m& }4 s
Error! 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.  A2 h( V: b0 }  d5 T1 c
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.; I! n' t% N5 s. B, Y
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.
. h% J8 z" u6 x5 ?( N) F) V; AError! 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.
. \. Y/ ]3 D( P0 Q* YError! 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.
; k+ k/ U8 V  e- Z% k( Q* OError! 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.
) I% |" C3 U; S2 y& \$ S, b+ f5 CError! 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./ ^$ u. _4 d# ?( p# e+ v, t
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.  d( F3 k1 G8 v$ R( h1 f
Error! 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  m* b) t) Y7 {4 APlease check the errors.  O9 `" b' H' T  Q/ z
Aborting...
( S& U$ c" v% [/ O: SError in Loading backup Model% Z' i( e  b$ g
**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
, }; Z6 q3 r8 V$ s$ j) V: oRestoring the files from the database.
" `, |4 C5 x4 Y2 g6 RUpdating FileVersions.txt before restoring files
9 ]9 v/ g6 d; _3 t$ b8 F3 \1 m6 Ljava.lang.Exception0 u" [4 u+ L7 K# U/ G  u* J6 S
        at com.teamcenter.bmide.foundation.core.consolidator.ProcessTemplates.generateDelta(Unknown Source)
7 U( }  R& n% i' x+ M        at com.teamcenter.bmide.foundation.core.consolidator.ProcessTemplates.compareModels(Unknown Source), x8 p" p5 j) P, ^
        at com.teamcenter.bmide.foundation.core.consolidator.ProcessTemplates.bmideDbSetup(Unknown Source)
% o, T" c" V, S- q8 }  _$ j+ \        at com.teamcenter.bmide.foundation.core.consolidator.ProcessTemplates.bmideDbSetup(Unknown Source)
: e0 U; ^  W: v* m& {& X& D        at com.teamcenter.bmide.foundation.core.internal.install.PreTemplateInstall.processTemplates(Unknown Source)
$ z1 Y1 i  O, C% ~7 H2 Q        at com.teamcenter.bmide.foundation.core.internal.install.PreTemplateInstall.executePreTemplateInstall(Unknown Source)
/ p/ f8 }1 w' L$ M3 K4 Q5 I        at com.teamcenter.bmide.foundation.core.internal.install.PreTemplateInstallMain.execute(Unknown Source)
  D, Q7 t" t: I$ U  [+ L        at com.teamcenter.bmide.foundation.core.internal.install.PreTemplateInstallMain.main(Unknown Source)
. i; Y7 c3 _- @Process Templates failed( T" K5 B) r* W7 ^8 |! ?! B
Script execution failed.
/ y5 r& V' B5 x" V  Y$ X5 m. ICommand end time: Thu Aug 01 05:19:00 PM 2019
( b) o! o) p. E. Y- u& x' GCommand duration: 2 minutes 20.278 seconds
) X1 T$ W0 M$ o+ p6 X% gERROR: Execution of command 1 failed with error code 1
& q5 I  \  p/ g
上海点团信息科技有限公司,承接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二次开发专题模块培训报名开始啦

    我知道了