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

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

  [复制链接]

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

2470

主题

1275

回帖

8万

积分

管理员

PLM之家站长

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

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

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

x
Linux 验证Teamcenter字符集ISO8859-1方法
/ y' j% M: H: H3 h( N
% h9 ?0 K- w. ^1 X0 d, w0 x  Y
  n/ e9 m" Y; i0 D! d% F( V
Linux系统,teamcenter安装工具需要ISO8859-1的字符集。
& |1 j) I: N6 W3 z) I为什么一定需要这个字符集呢?5 N3 o0 `/ \  N# U% O$ ?
主要是因为teamcenter10.1 的安装bat不再是使用.dat的格式文件了,都用xml格式了。XML在读取和转化的过程中,系统必须能够处理非英文non-ASCII的字符集,所以在本地化之前系统必须加载这种字符集。
1 {5 }6 A6 I* p5 l# u0 ?: g7 {0 x通过locale –a  可以查看当前系统的字符集,如果不是要求的字符集,需要添加,具体方法如下:- G  x* K7 @9 {# j# W# ], Y
export LC_ALL=en_US.ISO8859-1
5 }* |' t5 O3 n5 Uecho LC_ALL
0 C! S4 G, O$ @( b0 @9 c
7 V+ `) a6 h  H! M
4 ?6 r) U* }. A, C, l/ \5 s9 J
上海点团信息科技有限公司,承接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中还是有乱码呢,处理这个文件时报错。+ g* q" W" A) W5 |$ L
Executing process templates) g9 a6 l$ E/ R; Z$ d# @
Adding Template to Master File...* ?4 s8 S2 o2 o+ m, f5 Q3 T
Backing up the Consolidated Model File...$ n' M# q; X% M- w: V9 h1 N* m
Backing up the Consolidated Model Localization File...: r1 _+ P' m) X' Q' Q; n! G- K* x
Finding Applicable Locales..., P  F/ e9 u! G) [+ `0 o
Finding Applicable Locales...2 j7 Y1 K9 L+ _$ O0 m
Creating the Consolidated Model File...5 q& Q7 Y$ Q; ^' I) D
Creating the Localization Consolidated Model File...
$ x) q9 u9 k8 x3 m& q9 i& KLoading the Backup File...
& S# ?  W0 N2 j- X***ERROR : Data Model Errors in file /usr/Siemens/tcdata/model/model_backup.xml.; M( M- i( k4 ]- h3 [+ Q( j
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.
# Z" t1 a0 ?) P( wError! 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.8 u8 p3 J! [' q& a8 P; e, p
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.
; \1 l* C' D  \9 @  l/ O1 p" rError! 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 U7 w4 b" X( @
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.
$ W5 }, v) @# B6 F3 |% ?( SError! 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.4 \8 n2 D; X, m0 H+ s' Z' ~3 I/ e
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.
+ D; d6 ?! A" Z6 x% S, 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.
( m' Y% J- \2 C4 JError! 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.
7 i) z, D' i( @( ~+ 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.
8 I" W" b  B' I2 ]1 zError! 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.& ]* m) m0 l0 H- @5 J/ D6 ~
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.7 _7 A$ m3 L0 V, v* U3 W' H3 E
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.
( S$ V( D0 B% r+ a9 R5 yPlease check the errors.
1 ~  Q2 Q" _$ [" ^Aborting...
  I* F! r! W; O! g( n" f0 Z. HError in Loading backup Model* \8 Y& j4 N6 ?% C
**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- d3 }9 k( S- a5 G/ f, S
Restoring the files from the database./ |" }! Z6 H# [4 A
Updating FileVersions.txt before restoring files; e4 K& @7 e6 c) R  p; \. J
java.lang.Exception
) a7 P( ^# t) g        at com.teamcenter.bmide.foundation.core.consolidator.ProcessTemplates.generateDelta(Unknown Source)
( y/ p' @: Z" ^& d        at com.teamcenter.bmide.foundation.core.consolidator.ProcessTemplates.compareModels(Unknown Source)
+ A4 N/ r! J0 n/ Y7 Z$ K        at com.teamcenter.bmide.foundation.core.consolidator.ProcessTemplates.bmideDbSetup(Unknown Source)" J2 {/ e: ~% y; N5 g  \
        at com.teamcenter.bmide.foundation.core.consolidator.ProcessTemplates.bmideDbSetup(Unknown Source)2 {6 g4 F/ b, x' y) c& Q
        at com.teamcenter.bmide.foundation.core.internal.install.PreTemplateInstall.processTemplates(Unknown Source)
2 t4 H4 }& V* D# h        at com.teamcenter.bmide.foundation.core.internal.install.PreTemplateInstall.executePreTemplateInstall(Unknown Source)% E9 }* w8 _$ {- d: p# _; _
        at com.teamcenter.bmide.foundation.core.internal.install.PreTemplateInstallMain.execute(Unknown Source)
# M6 R3 M4 A" D$ A        at com.teamcenter.bmide.foundation.core.internal.install.PreTemplateInstallMain.main(Unknown Source)1 C3 a. R. ~9 u/ Q# w2 \  o
Process Templates failed8 n- D( s3 y5 F( w/ c) |% J4 I
Script execution failed.
4 r& R4 ]1 \' j6 B5 S5 e3 S4 I3 S! ~0 h" TCommand end time: Thu Aug 01 05:19:00 PM 2019' F7 o- n" ?0 g( n6 |2 }
Command duration: 2 minutes 20.278 seconds( [2 v6 `' a' I% k/ ]- T
ERROR: Execution of command 1 failed with error code 1
) P6 L8 Y- u* ^* |' C5 k2 W  t3 o7 B
上海点团信息科技有限公司,承接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二次开发专题模块培训报名开始啦

    我知道了