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

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

  [复制链接]

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

2470

主题

1275

回帖

8万

积分

管理员

PLM之家站长

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

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

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

x
Linux 验证Teamcenter字符集ISO8859-1方法  i) i8 u$ O. h' E, B6 `

. A: ~: ~0 k' k- L
( N) k( c  i1 q; H0 [
Linux系统,teamcenter安装工具需要ISO8859-1的字符集。
: i. G: q3 T9 _6 N' y, l为什么一定需要这个字符集呢?
9 b( S3 |" S) F- A3 W$ J$ [主要是因为teamcenter10.1 的安装bat不再是使用.dat的格式文件了,都用xml格式了。XML在读取和转化的过程中,系统必须能够处理非英文non-ASCII的字符集,所以在本地化之前系统必须加载这种字符集。- W- o; T9 L( v. x' p4 G2 g! w
通过locale –a  可以查看当前系统的字符集,如果不是要求的字符集,需要添加,具体方法如下:
  h' u; `3 S- t( W  [export LC_ALL=en_US.ISO8859-13 F) e3 \7 m7 p9 H3 P
echo LC_ALL

! L( p! K  t3 W8 I$ T$ Y' e
: V8 \( a: W9 ^; N! g1 u$ T! L' S* i0 D# U' o1 n/ [
上海点团信息科技有限公司,承接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中还是有乱码呢,处理这个文件时报错。, K/ P; R, s. ]  I6 n
Executing process templates
2 X4 B0 ?! R+ J: K) S$ QAdding Template to Master File...1 }: r+ L. U9 p3 N- u' N
Backing up the Consolidated Model File...
; F) D* X9 `4 L. qBacking up the Consolidated Model Localization File...
8 @3 l# p# i% Y1 V$ E, l9 ]/ ^) ^Finding Applicable Locales.../ |' T5 E% ~% D- d! _
Finding Applicable Locales...3 f- Q( h$ m2 N  t- n9 G# k: |
Creating the Consolidated Model File...
1 [- \3 Z0 U- E  {; QCreating the Localization Consolidated Model File...
% E; }% U) Y0 T3 y# SLoading the Backup File...
  E$ c' Q2 w5 R9 _) P***ERROR : Data Model Errors in file /usr/Siemens/tcdata/model/model_backup.xml.
! {& t+ f, W3 rError! 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.  V' K2 m8 p1 c- b
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.! N0 n1 p& Z# V  F! l' @+ `
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 h0 ~/ }/ o- c3 G$ Y0 a& I
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.3 _  f4 w7 N8 M1 p, V3 j
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.0 |0 m9 v* i) m1 _) X2 o) w
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.
, Y: \+ n6 K& T1 xError! 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.$ Y1 S, _- k$ z% d
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.
# S  \9 o8 {: KError! 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.
; ^$ F  t) ~" f$ c; Z6 aError! 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.
+ q4 \5 ]' ]) ^) i/ ?7 h. f" IError! 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.3 c; Z" M  A3 ~2 t+ q
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.$ o3 [* o: }$ ]) y# E0 _0 o& Y
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.
* B) @$ N2 R7 Y5 h1 o$ T$ EPlease check the errors.
# c& u& |' s+ I2 x( \Aborting...! n$ f( E; Z9 F) K
Error in Loading backup Model
  p; r- A7 H! Z1 a+ q( R4 b7 z**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
; c6 a/ s% B" B7 f# Z6 Q- _Restoring the files from the database.: e  m4 T/ T% g  y+ O$ a; O7 [
Updating FileVersions.txt before restoring files' H- [8 L2 U( |" @+ _
java.lang.Exception9 f. A! N7 J" [6 c
        at com.teamcenter.bmide.foundation.core.consolidator.ProcessTemplates.generateDelta(Unknown Source)+ }, R4 n* b4 Z
        at com.teamcenter.bmide.foundation.core.consolidator.ProcessTemplates.compareModels(Unknown Source)
% P& \9 Z; f4 [7 {; l        at com.teamcenter.bmide.foundation.core.consolidator.ProcessTemplates.bmideDbSetup(Unknown Source)
5 h# m: V8 S% J" L7 U        at com.teamcenter.bmide.foundation.core.consolidator.ProcessTemplates.bmideDbSetup(Unknown Source)3 X+ n- {: |+ i- f( a$ _
        at com.teamcenter.bmide.foundation.core.internal.install.PreTemplateInstall.processTemplates(Unknown Source)  E- \$ G4 A. G/ _
        at com.teamcenter.bmide.foundation.core.internal.install.PreTemplateInstall.executePreTemplateInstall(Unknown Source)
& ]' C! w+ e# j        at com.teamcenter.bmide.foundation.core.internal.install.PreTemplateInstallMain.execute(Unknown Source)' Y/ A9 s7 U: T1 {+ @; e
        at com.teamcenter.bmide.foundation.core.internal.install.PreTemplateInstallMain.main(Unknown Source)
8 J/ S: f7 S/ B% p9 o" jProcess Templates failed: d; e: S9 I2 T3 t) {4 g" Q; X
Script execution failed.
6 p7 X/ \9 ~1 @% KCommand end time: Thu Aug 01 05:19:00 PM 2019
3 M( K8 }1 H( F. g# O: RCommand duration: 2 minutes 20.278 seconds
* Y. W) O5 ^9 e) q2 q  \% JERROR: Execution of command 1 failed with error code 16 Z: t5 @+ _% W& K7 d
上海点团信息科技有限公司,承接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二次开发专题模块培训报名开始啦

    我知道了