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

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

  [复制链接]

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

2470

主题

1275

回帖

8万

积分

管理员

PLM之家站长

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

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

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

x
Linux 验证Teamcenter字符集ISO8859-1方法
5 q3 I; A+ h) L! |7 p9 t7 Z
! h, e0 G" [! A
: z3 f! Y" V3 P: y4 o
Linux系统,teamcenter安装工具需要ISO8859-1的字符集。
! @0 _" z& |0 h+ E  ^' d" E为什么一定需要这个字符集呢?: T9 q3 c$ r) R. D( ?" M9 s
主要是因为teamcenter10.1 的安装bat不再是使用.dat的格式文件了,都用xml格式了。XML在读取和转化的过程中,系统必须能够处理非英文non-ASCII的字符集,所以在本地化之前系统必须加载这种字符集。
* h, K0 X, o, M) Z0 W8 e通过locale –a  可以查看当前系统的字符集,如果不是要求的字符集,需要添加,具体方法如下:
. b) {3 m: H% k6 }( y. j1 zexport LC_ALL=en_US.ISO8859-17 |" ~$ v' ~8 n2 ~0 I
echo LC_ALL

) z% @# ]# C& w3 k1 B' O& O) @2 X! q/ ^* x* ^- {% {  G
1 [) I- }, `) U  y5 H& Q
上海点团信息科技有限公司,承接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中还是有乱码呢,处理这个文件时报错。9 T0 W* P. L! e; j+ {! s" [2 u
Executing process templates
* v+ o" D, k1 d3 TAdding Template to Master File...5 B3 q6 ?: H, f9 \4 f# F' P
Backing up the Consolidated Model File...
$ C* C4 P6 T, x9 @: ?) xBacking up the Consolidated Model Localization File...( T* Z+ }9 z; z& z
Finding Applicable Locales...
1 D: J. `+ f4 J8 q* WFinding Applicable Locales...
$ R2 Q7 p1 m: N% U, Q& Z& lCreating the Consolidated Model File...
! u' |, d7 D, _Creating the Localization Consolidated Model File...
, R$ t# S' [& u* `Loading the Backup File...  i, G% y+ l$ f" \) \
***ERROR : Data Model Errors in file /usr/Siemens/tcdata/model/model_backup.xml.
1 L' }2 U( U" G- M3 |6 n8 tError! 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.! c8 q( M) Q( P3 r1 H
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.2 q# h9 G$ I/ i2 Z7 \' K$ h
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.
9 U# v# |- W1 f+ h/ i$ WError! 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.# F+ }9 e6 g1 ~6 v( k7 H
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.( B: N5 b0 t* _0 _7 I3 i7 x- i$ B" P
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.1 h+ u% {, H) {* e* a7 H
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.( ~: v' {, u8 a8 w5 J$ u
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.% }4 R  j% }4 V& i" _
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.) g4 b4 |1 I6 Y
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 R4 S+ E& K4 W& z: G7 {3 T  @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.
6 e& N- ^! n  TError! 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.
# O! B9 x. G( }% ^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.2 L* F. a+ J7 D8 h
Please check the errors.! A/ I8 C0 ]. P* W
Aborting...
8 n0 e3 A, Q! RError in Loading backup Model5 G& T$ I5 b- z& k
**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.zip6 d6 w4 {3 f. ~5 Y; P4 L7 C
Restoring the files from the database.
$ y. [- j. ?6 K* c( u8 f4 kUpdating FileVersions.txt before restoring files  P: E1 k1 s/ N* n( r
java.lang.Exception( C, K5 m2 I/ l! M9 d8 K
        at com.teamcenter.bmide.foundation.core.consolidator.ProcessTemplates.generateDelta(Unknown Source)
" y6 O. @0 P" U) A        at com.teamcenter.bmide.foundation.core.consolidator.ProcessTemplates.compareModels(Unknown Source)
5 _& o( l* c) E5 X        at com.teamcenter.bmide.foundation.core.consolidator.ProcessTemplates.bmideDbSetup(Unknown Source). y6 ^) C2 i, t8 f+ z
        at com.teamcenter.bmide.foundation.core.consolidator.ProcessTemplates.bmideDbSetup(Unknown Source)1 X- k+ |% z; F1 S' v6 I) K- @- x
        at com.teamcenter.bmide.foundation.core.internal.install.PreTemplateInstall.processTemplates(Unknown Source), l8 ^& [% s/ P8 D4 P3 \) u
        at com.teamcenter.bmide.foundation.core.internal.install.PreTemplateInstall.executePreTemplateInstall(Unknown Source)) O7 M2 \+ u! V6 H, j2 B2 O8 ^
        at com.teamcenter.bmide.foundation.core.internal.install.PreTemplateInstallMain.execute(Unknown Source)
$ R5 G+ M# X( o$ n        at com.teamcenter.bmide.foundation.core.internal.install.PreTemplateInstallMain.main(Unknown Source)+ {6 d' I9 b/ O+ N
Process Templates failed' m( Z2 a1 Z# l9 N
Script execution failed.
# o& w8 Y0 V8 S* @4 M9 _Command end time: Thu Aug 01 05:19:00 PM 2019
' ]+ Z0 }6 b5 W: M* l! K7 ?Command duration: 2 minutes 20.278 seconds
- T; |2 t- H. B" N) \& wERROR: Execution of command 1 failed with error code 1) j) X2 C# [1 a
上海点团信息科技有限公司,承接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二次开发专题模块培训报名开始啦

    我知道了