PLM之家PLMHome-国产软件践行者

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

  [复制链接]

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

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

admin 楼主

2014-4-4 13:23:35

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

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

x
Linux 验证Teamcenter字符集ISO8859-1方法+ d8 Z4 N1 f, d3 E0 l* `

, S4 i9 D1 f* n+ s/ x2 t, d
% g. J( m4 s( u& Q3 u& T
Linux系统,teamcenter安装工具需要ISO8859-1的字符集。
* U  `2 h- i% R6 _# f) a# Q+ w为什么一定需要这个字符集呢?: c8 ?$ a5 q# k' N
主要是因为teamcenter10.1 的安装bat不再是使用.dat的格式文件了,都用xml格式了。XML在读取和转化的过程中,系统必须能够处理非英文non-ASCII的字符集,所以在本地化之前系统必须加载这种字符集。
/ a7 f! }' P8 G, t$ X$ c: ^通过locale –a  可以查看当前系统的字符集,如果不是要求的字符集,需要添加,具体方法如下:
% P9 A3 m1 [" W/ {export LC_ALL=en_US.ISO8859-1' n% j6 }. Y9 k% F; t
echo LC_ALL
4 }  k1 r. x3 ~8 u

+ w0 I; I/ `2 b. b3 r, k" K3 q5 L0 o# E7 }$ L; z# P/ H, j
上海点团信息科技有限公司,承接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中还是有乱码呢,处理这个文件时报错。4 [4 k$ F9 U0 ?+ A
Executing process templates
0 t  [( @( }2 r9 J3 k' ^' H3 xAdding Template to Master File...
/ T8 }( l& c1 }9 o# j/ JBacking up the Consolidated Model File...
% I# Y. D% J$ w3 l6 n/ m8 t: h. CBacking up the Consolidated Model Localization File...! ^/ l& x" U. _! `9 F8 ~0 B- ^
Finding Applicable Locales...( J. F: s8 ]) `; I% P) o( O
Finding Applicable Locales...
+ [2 {5 v# u9 f0 f2 J  g8 eCreating the Consolidated Model File...
* G9 _/ }( y& x5 @Creating the Localization Consolidated Model File...
7 K: W# L; p5 {Loading the Backup File...
$ O! ^. O0 N6 u( u, {***ERROR : Data Model Errors in file /usr/Siemens/tcdata/model/model_backup.xml.4 H& A) y* |! ~- n0 z& e
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 z0 z" [+ J8 H+ B( i
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.
7 u& O  n4 E  L) ~. Z9 S& PError! 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.
1 d" w5 b. }9 X5 l  x4 u6 l+ vError! 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.
; K& U* H6 C( S+ hError! 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.
  z$ U! d* X. O2 mError! 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.
8 ?' O+ G3 \: @! Q1 x4 k* Y7 aError! 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.
0 x) K: E5 u; E& D  J$ o) ]# oError! 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.7 i0 ^- \/ q1 v* q: o0 c
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.
9 w0 A# H6 e* o; @, j- rError! 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.$ k1 \" L: b# t" u7 y( N
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.
0 O. ~3 i6 r. _) t9 R' OError! 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.
" t; l5 M# J6 M! tError! 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.- w' h. f; x2 I+ D5 F& _
Please check the errors.
! I( ~3 H2 l( F: o; w4 P7 @+ t0 e* qAborting...
! I0 U- W1 o. n- V6 KError in Loading backup Model
( W8 L$ J1 t2 t**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.zip8 v9 d. b4 L% N2 k0 Z; }: m4 U4 Z8 S
Restoring the files from the database.- p7 \8 S' R: |
Updating FileVersions.txt before restoring files2 _* J- r' O, j& z3 }0 F: o
java.lang.Exception
/ }. y4 `6 m# ]9 `: a) m5 p        at com.teamcenter.bmide.foundation.core.consolidator.ProcessTemplates.generateDelta(Unknown Source)
2 ?5 r' @0 s7 e! [9 N1 f/ |        at com.teamcenter.bmide.foundation.core.consolidator.ProcessTemplates.compareModels(Unknown Source)
/ x- [# n  O2 `% d# r. G' M: s. J        at com.teamcenter.bmide.foundation.core.consolidator.ProcessTemplates.bmideDbSetup(Unknown Source)
" g$ A) K* q( v" J3 y& A* H        at com.teamcenter.bmide.foundation.core.consolidator.ProcessTemplates.bmideDbSetup(Unknown Source)
, I: N- f8 p" e* l4 |        at com.teamcenter.bmide.foundation.core.internal.install.PreTemplateInstall.processTemplates(Unknown Source)
& Y; _* k3 f% \        at com.teamcenter.bmide.foundation.core.internal.install.PreTemplateInstall.executePreTemplateInstall(Unknown Source)+ r, K4 e6 l1 ~/ v( R! ^0 J7 H
        at com.teamcenter.bmide.foundation.core.internal.install.PreTemplateInstallMain.execute(Unknown Source)
7 e  q7 |: y* r- D8 ]# A        at com.teamcenter.bmide.foundation.core.internal.install.PreTemplateInstallMain.main(Unknown Source)
$ J- p# [" m( o8 ZProcess Templates failed
) t* }0 u( Z+ @Script execution failed.
9 q! ^4 H0 a5 g4 i! ~+ n$ w' Y, }Command end time: Thu Aug 01 05:19:00 PM 2019& Y+ Q% G, v+ O) m. Y4 I' ~
Command duration: 2 minutes 20.278 seconds" N. @3 j6 w, y+ s! o7 S' F4 m
ERROR: Execution of command 1 failed with error code 10 }  U! M  e# e9 M' |, }$ N
上海点团信息科技有限公司,承接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二次开发专题模块培训报名开始啦

    我知道了