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

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

  [复制链接]

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

2470

主题

1275

回帖

8万

积分

管理员

PLM之家站长

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

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

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

x
Linux 验证Teamcenter字符集ISO8859-1方法
7 c3 b  m5 [: n1 p7 V' Y) W, m0 }
& U/ }& n: K$ M4 c# ?+ z* }2 [
8 B# {) v1 u0 S3 p- f+ {3 |
Linux系统,teamcenter安装工具需要ISO8859-1的字符集。' L% h6 ^! T" m
为什么一定需要这个字符集呢?
1 }6 J! h" T0 B6 h; _4 h主要是因为teamcenter10.1 的安装bat不再是使用.dat的格式文件了,都用xml格式了。XML在读取和转化的过程中,系统必须能够处理非英文non-ASCII的字符集,所以在本地化之前系统必须加载这种字符集。
8 Z$ b- i  ^3 _' A9 _& s通过locale –a  可以查看当前系统的字符集,如果不是要求的字符集,需要添加,具体方法如下:/ m& [& f- }% R. \  G
export LC_ALL=en_US.ISO8859-10 L# @5 B' l) Q5 i7 h- p
echo LC_ALL
6 m. e5 U) G0 O& F. O* `- Q
2 ?0 M0 t6 ?+ k# d' E  i8 |

: {* G; h! _, n2 U3 m7 A
上海点团信息科技有限公司,承接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中还是有乱码呢,处理这个文件时报错。
/ ~# b( }7 S& z+ O  K0 @' i! ?  ~Executing process templates0 }+ N) c. a6 J: x2 V' t
Adding Template to Master File...% a2 }: v: j/ C! X, c3 D7 i
Backing up the Consolidated Model File...
/ ]; O5 g0 k! [& q- h* @; mBacking up the Consolidated Model Localization File...
, P$ K+ E# d+ f5 }5 b% P# J7 CFinding Applicable Locales...
% S$ O* J  t3 [* SFinding Applicable Locales...2 e8 {8 t3 B4 z6 J, [" s% r
Creating the Consolidated Model File...% m- L) m- j% X* G& L
Creating the Localization Consolidated Model File.... Y% M8 K7 W  ?  e2 R* A: O% S
Loading the Backup File...) @  L7 @7 I; A9 p& D* Y7 Z
***ERROR : Data Model Errors in file /usr/Siemens/tcdata/model/model_backup.xml.+ e, O3 u( X, N5 c
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.  O. S) M! Q4 `  l( R8 Y7 I& E
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.
+ X  Z4 F% p! h5 M$ p3 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 I5 S$ T0 H) n+ 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.
; q. z* N0 t7 k# W" _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.: V0 Q# e6 A% j6 t, f( D8 L
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 b$ e  o% \& h9 n; B* b) Q
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.; @! m0 \8 z' m/ W
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.
1 f$ Z$ G4 x) AError! 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.5 h7 s4 Z; q  O* o  n8 \# U
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.
( ~9 a/ ~$ t$ M7 xError! 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.
; H8 E  Y5 }9 b7 y2 hError! 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.
4 }6 I* m7 d* U+ `6 g8 _( @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.
0 H  g  t( U; \5 d0 \, oPlease check the errors.
. x' i* ?/ y3 JAborting...2 g; K& d3 _0 [
Error in Loading backup Model
! r( l: k6 I' j# q**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.zip2 ?: C# @; y4 K. u% Q* C2 J8 D7 v
Restoring the files from the database.+ _5 X7 J% F5 R- \
Updating FileVersions.txt before restoring files
. E! C% f( i4 H: a2 ]: H, g# Xjava.lang.Exception& B' d  t4 J1 k" Q) q  Q" ]
        at com.teamcenter.bmide.foundation.core.consolidator.ProcessTemplates.generateDelta(Unknown Source)
, H, n2 I& g# }8 _  A0 a        at com.teamcenter.bmide.foundation.core.consolidator.ProcessTemplates.compareModels(Unknown Source)
% G2 l- B8 U5 r: u6 m6 K        at com.teamcenter.bmide.foundation.core.consolidator.ProcessTemplates.bmideDbSetup(Unknown Source)
( ]; E& A' z6 S/ [1 w        at com.teamcenter.bmide.foundation.core.consolidator.ProcessTemplates.bmideDbSetup(Unknown Source)
/ g, B+ g, l3 F0 v1 Z# a5 v- B        at com.teamcenter.bmide.foundation.core.internal.install.PreTemplateInstall.processTemplates(Unknown Source)! c7 e1 V7 }' I
        at com.teamcenter.bmide.foundation.core.internal.install.PreTemplateInstall.executePreTemplateInstall(Unknown Source)
$ H; x7 _* y( N  b: d3 P( F# ]        at com.teamcenter.bmide.foundation.core.internal.install.PreTemplateInstallMain.execute(Unknown Source)
0 u, _2 z% ?! }3 A; D( a        at com.teamcenter.bmide.foundation.core.internal.install.PreTemplateInstallMain.main(Unknown Source)
: N; j# {6 c8 f9 ?( Y, w/ |Process Templates failed) p$ n8 O, {2 r% }
Script execution failed.
2 h# t. |0 S. f6 N* r' kCommand end time: Thu Aug 01 05:19:00 PM 20194 @+ H  n& K6 \- I$ o
Command duration: 2 minutes 20.278 seconds
* l9 R4 `4 s# U/ UERROR: Execution of command 1 failed with error code 1
3 g6 C( q9 R; D0 V
上海点团信息科技有限公司,承接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二次开发专题模块培训报名开始啦

    我知道了