PLM之家精品课程培训

PLM之家精品课程培训

联系电话:18301858168   |   QQ咨询:939801026
NX二次开发培训

NX二次开发培训

UFUN/NXOpen C++和实战案例

适合初级入门或想深入了解二次开发的工程师,本培训结合ufun,NXOpen C++,大量的实例及官方内部的开发技术。
公众号二维码

关注公众号

点击扫描二维码免费在线高清教程

课程详情
Catia二次开发培训

Catia二次开发培训

市场需求大,掌握核心技术前景广阔

Catia二次开发的市场需求大,人才稀缺。掌握开发技能潜力巨大,随着经验积累将在汽车、航空等领域有所作为。
B站二维码

在线原创B站视频

点击关注工业软件传道士主页

课程详情
Teamcenter培训

Teamcenter培训

全方位培训,从基础应用到高级开发全覆盖

涵盖用户应用基础培训、管理员基础培训、管理员高级培训及二次开发培训等全方位内容,由多年经验讲师打造。
QQ群二维码

加入同行交流

点击扫描二维码加入QQ群

课程详情
×

PLM之家plmhome公众号

课程涵盖: PLM之家所有原创视频

×

关注B站视频

所有高清视频一览无余,全部在线播放学习

×

加入PLM之家QQ群

同行交流,疑问解答,更多互助

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

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

  [复制链接]

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

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

admin 楼主

2014-4-4 13:23:35

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

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

x
Linux 验证Teamcenter字符集ISO8859-1方法
/ S  U5 Z. V: q8 `
1 N+ e4 S# L8 U5 F& p% z/ t5 ^
8 O5 K  h# ^- h7 J: [4 ~/ ^* h
Linux系统,teamcenter安装工具需要ISO8859-1的字符集。  \1 \2 x0 z2 I9 K% [2 S3 e
为什么一定需要这个字符集呢?6 K; U# {2 |& h  m2 |
主要是因为teamcenter10.1 的安装bat不再是使用.dat的格式文件了,都用xml格式了。XML在读取和转化的过程中,系统必须能够处理非英文non-ASCII的字符集,所以在本地化之前系统必须加载这种字符集。; Z; x# u) ]7 C: F" I! s
通过locale –a  可以查看当前系统的字符集,如果不是要求的字符集,需要添加,具体方法如下:. _$ u% h# b+ g- `1 L
export LC_ALL=en_US.ISO8859-19 S" |5 o# f9 V  s# Y
echo LC_ALL
8 _6 p8 U! q; m; l: D* @

4 i# K) y) Z- I& N' Y/ r$ V' g% b
# q9 K5 H7 @- \; l/ t/ X5 k1 O
上海点团信息科技有限公司,承接UG NX,CATIA,CREO,Solidworks 等CAx软件,Teamcenter,3D Experience等PLM软件,工业4.0数字化软件的实施\二次开发\培训相关业务,详情QQ 939801026 Tel 18301858168 网址 www.diantuankj.com/ 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中还是有乱码呢,处理这个文件时报错。
1 V5 s) B( b1 e* mExecuting process templates
7 k! a! \, J. N1 w. k* L5 dAdding Template to Master File...6 p, J' D% i% N  w
Backing up the Consolidated Model File...6 C# V& J( }7 L" n, Q5 U' x
Backing up the Consolidated Model Localization File...
9 H7 F' s5 W( nFinding Applicable Locales...
3 W3 I. w! Z& _7 y7 h' a5 gFinding Applicable Locales...
2 P7 ?" b: S: [' a4 o% y% F- wCreating the Consolidated Model File.../ c: D7 X9 Z! z8 ~9 a+ x. o6 D
Creating the Localization Consolidated Model File..., S0 z: k4 Y" q+ Z" s4 u
Loading the Backup File...
% t' K& ^+ S$ z9 w* ?+ m- g***ERROR : Data Model Errors in file /usr/Siemens/tcdata/model/model_backup.xml.
6 @( i% p  Y; p/ t. y; F% Q9 aError! 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.
) y$ L! S- S- t5 G3 JError! 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.5 R; b6 v4 o/ x
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.
/ d% x1 h8 M& d6 xError! 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.0 E. Z0 }' U% M0 l1 w  B) d
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.1 f6 S1 i  D$ r, z
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./ h# O5 s8 H7 P# f
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.! }, O2 L+ I% t) z) [3 ^) ]4 g( B
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 G* g* O* b/ M' ]/ K
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.
6 h/ r! G$ {( u) k2 ?! g) ?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.2 `3 T2 G  A+ W1 O
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.$ b, [. O# g, g3 `
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.
  I2 ?! [4 P$ B& bError! 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.
+ y) m5 n. I3 O2 ?  _Please check the errors.  Q3 f8 p. E8 s# ~- `0 q, Y
Aborting...
% v# b+ W' |* T. w/ D( |9 AError in Loading backup Model
9 U, d6 R: i8 x- x+ S! r! x7 ?**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
: ]" R4 M- N6 ~- \" z# `6 Z8 @' |Restoring the files from the database.' |5 G( ~% Y" F/ r& {% n
Updating FileVersions.txt before restoring files1 V2 S5 m5 L+ q, ~1 Z( ^% y
java.lang.Exception
* C. X! ^6 b& [3 X        at com.teamcenter.bmide.foundation.core.consolidator.ProcessTemplates.generateDelta(Unknown Source)% e! y- p6 h' n2 N9 Q8 R
        at com.teamcenter.bmide.foundation.core.consolidator.ProcessTemplates.compareModels(Unknown Source)( `( ^. \2 [$ G) l# o0 K- I0 L2 y
        at com.teamcenter.bmide.foundation.core.consolidator.ProcessTemplates.bmideDbSetup(Unknown Source); e* p2 u1 N  m' ~' e' B1 _
        at com.teamcenter.bmide.foundation.core.consolidator.ProcessTemplates.bmideDbSetup(Unknown Source)
0 K3 ]+ L4 ?- V3 [        at com.teamcenter.bmide.foundation.core.internal.install.PreTemplateInstall.processTemplates(Unknown Source)9 @* {* |8 g: t3 P* ~
        at com.teamcenter.bmide.foundation.core.internal.install.PreTemplateInstall.executePreTemplateInstall(Unknown Source)3 H7 N' a3 Y0 v  g. w) x+ S$ Z
        at com.teamcenter.bmide.foundation.core.internal.install.PreTemplateInstallMain.execute(Unknown Source)
# I! A7 ^0 l+ j! f' I) w0 }. R, k2 Q        at com.teamcenter.bmide.foundation.core.internal.install.PreTemplateInstallMain.main(Unknown Source), t" m: ~+ c: z4 x7 I
Process Templates failed, _5 _( j4 K0 U" p- j* f* v
Script execution failed.
  O4 {. c& r* }  `Command end time: Thu Aug 01 05:19:00 PM 2019- \& d  ]" L2 W- l% b: M
Command duration: 2 minutes 20.278 seconds
' x% K( J( Q7 p! k# Q9 @$ y  VERROR: Execution of command 1 failed with error code 11 c! Q, \* a" U1 ^% p5 L) K
上海点团信息科技有限公司,承接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二次开发专题模块培训报名开始啦

    我知道了