PLM之家精品课程培训,联系电话:18301858168 QQ: 939801026

  • NX二次开培训

    NX二次开培训

    适合初级入门或想深入了解二次开发的工程师,本培训结合ufun,NXOpen C++,大量的实例及官方内部的开发技术对于老鸟也值得借鉴!.

    NX CAM二次开发培训报名 NX二次开发基础培训报名
  • PLM之家Catia CAA二次开发培训

    Catia二次开发培训

    Catia二次开发的市场大,这方面开发人才少,难度大。所以只要你掌握了开发,那么潜力巨大,随着时间的积累,你必将有所用武之地!

  • PLM之Teamcenter最佳学习方案

    Teamcenter培训

    用户应用基础培训,管理员基础培训,管理员高级培训,二次开发培训应有尽有,只要你感兴趣肯学习,专业多年经验大师级打造!

  • PLM之Tecnomatix制造领域培训

    Tecnomatix培训

    想了解制造领域数字化吗?想了解工厂,生产线设计吗?数字化双胞胎,工业4.0吗?我们的课程虚位以待!

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

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

  [复制链接]

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

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

admin 楼主

2014-4-4 13:23:35

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

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

x
Linux 验证Teamcenter字符集ISO8859-1方法
* \$ h4 f5 @7 v0 v" E4 ~7 I- S4 O$ M6 p9 c! k
5 g5 f8 _/ y' _% n
Linux系统,teamcenter安装工具需要ISO8859-1的字符集。7 X  ?3 b5 y; }5 Q5 [
为什么一定需要这个字符集呢?6 K  _  A3 @; _* f; @6 ?& s; Z+ F0 `
主要是因为teamcenter10.1 的安装bat不再是使用.dat的格式文件了,都用xml格式了。XML在读取和转化的过程中,系统必须能够处理非英文non-ASCII的字符集,所以在本地化之前系统必须加载这种字符集。
* t/ K5 J  O& {- ]5 l! M通过locale –a  可以查看当前系统的字符集,如果不是要求的字符集,需要添加,具体方法如下:, ^5 R  c2 h, X0 e. S
export LC_ALL=en_US.ISO8859-19 `; l; ~1 U2 Z$ o+ E
echo LC_ALL

' H- {/ h8 |, [! L8 j! f1 D+ G8 f4 d, l5 F$ W: R8 L/ I5 U. A

: v4 w/ m. P/ f' P! L
上海点团信息科技有限公司,承接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中还是有乱码呢,处理这个文件时报错。
+ w3 M4 R6 y' CExecuting process templates
4 a! O* T+ C# y# I9 iAdding Template to Master File...
2 J$ B1 O4 f+ O4 h0 }4 x. rBacking up the Consolidated Model File...9 M. \8 ~. J2 B1 L. n% g+ r* K
Backing up the Consolidated Model Localization File...* P( s% K/ h' K, Y# f. F
Finding Applicable Locales...
4 Z. G$ {  w2 J5 }- DFinding Applicable Locales...; |% v$ a( Z# v
Creating the Consolidated Model File...
/ V6 s. h% s, v& g) l: mCreating the Localization Consolidated Model File...3 I4 K# L" m9 c6 k8 i! t* c
Loading the Backup File...% s$ g; }+ R$ G1 M+ I. N6 ?5 q
***ERROR : Data Model Errors in file /usr/Siemens/tcdata/model/model_backup.xml.
- m& c" f: A+ P6 p- X5 v( YError! 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.' ]2 N, |/ q" i6 u$ @
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.
- M. _' x7 j+ oError! 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.
. C' E+ N* Z8 z4 {) f; yError! 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.
4 }6 k' l4 s+ O# tError! 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.
' W' s5 Y: t: V+ A. [+ V2 r/ `  vError! 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- x1 ^- O. q8 F( }6 `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.  p. T+ t: H  p- i# `
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.% d0 q5 [- D- D' z" ?9 J" o8 `, I+ p
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.9 ^* ]5 `2 n; W9 Q! `' g9 c% m
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.
( K+ F# D5 k: @( q( DError! 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.+ h6 f) B4 _" q  }& W" x
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.( l7 F' }' w5 m: y: B( |# 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.
8 [# x3 {8 X& {6 y9 ?' {, U6 @Please check the errors.5 q3 e0 e9 N- T9 \
Aborting...
) R2 i; T& m; H; r. r# LError in Loading backup Model  t+ B: L8 k! n, M( n1 ^
**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
! H7 y, A: w' ?5 F4 @Restoring the files from the database.1 `: t! J  |8 W
Updating FileVersions.txt before restoring files7 N& ~  I7 ]2 x! K# p% u
java.lang.Exception
6 R6 W5 b% @7 z) i* N! n. f        at com.teamcenter.bmide.foundation.core.consolidator.ProcessTemplates.generateDelta(Unknown Source)
" ?, {' b" N5 B- E        at com.teamcenter.bmide.foundation.core.consolidator.ProcessTemplates.compareModels(Unknown Source)
# E8 B6 g2 L/ m% ]7 ?        at com.teamcenter.bmide.foundation.core.consolidator.ProcessTemplates.bmideDbSetup(Unknown Source)
1 E- N# R: c" T        at com.teamcenter.bmide.foundation.core.consolidator.ProcessTemplates.bmideDbSetup(Unknown Source)- u5 o& x! ?" n. j, _' e3 b
        at com.teamcenter.bmide.foundation.core.internal.install.PreTemplateInstall.processTemplates(Unknown Source)
/ h) x4 K5 u+ d$ p8 ^        at com.teamcenter.bmide.foundation.core.internal.install.PreTemplateInstall.executePreTemplateInstall(Unknown Source)( `9 G/ A2 ?$ a2 t! I
        at com.teamcenter.bmide.foundation.core.internal.install.PreTemplateInstallMain.execute(Unknown Source)
6 x5 Z  X6 y9 |) o9 p) E7 T        at com.teamcenter.bmide.foundation.core.internal.install.PreTemplateInstallMain.main(Unknown Source)
' D3 P. o' m8 o- E( D& q( xProcess Templates failed; ^0 l+ d# h8 X6 y- q
Script execution failed.
# c" C$ V  P) w3 c! PCommand end time: Thu Aug 01 05:19:00 PM 2019/ ?7 W( I( [! w: z
Command duration: 2 minutes 20.278 seconds8 i5 \. }$ k9 u
ERROR: Execution of command 1 failed with error code 1  L- Z& b1 @* H5 T: A7 j1 }0 _
上海点团信息科技有限公司,承接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二次开发专题模块培训报名开始啦

    我知道了