CnPack Forum


 
Subject: 反馈关于ide配置备份/恢复工具的错误
rise
普通灌水员
Rank: 2



UID 40734
Digest Posts 0
Credits 92
Posts 33
点点分 92
Reading Access 10
Registered 2008-8-4
Status Offline
Post at 2012-3-21 15:01  Profile | Blog | P.M. 
反馈关于ide配置备份/恢复工具的错误

CnPack IDE Wizards 错误报告。

描述:
“IDE 配置备份/恢复”工具
我在delphi2010中使用该工具导出ide备置,其中包括一些代码模板(这个不包括应该也不会造成问题)和一些目录配置,但是当我把导出的bic文件在另一个delphi2010中导入的时候,发现这些目录很多被并为一行导入到目录配置中了。

目录配置是指Tools > Options > .. library paths里的目录字符串。

希望该错误能得到cnpack项目组重视,百忙之余得到解决。

错误细节:
  该错误有 100% 的概率可重现。
  该错误在多台计算机上可重现。

步骤:
1. 打开“ide配置备份/恢复”工具
2. 备份delphi2010配置,其中要包括“ide配置信息”一项
3. 导出bic文件后,在另一个delphi2010中继续用该工具导入
4.导入完毕,查看该delphi2010的library paths,就能看到原本多行路径的,被并成一行了。

设置:
  OS: Windows XP 5.1 (Build 2600: Service Pack 3)
  CnWizards: CnWizards_D14.dll Ver: 0.9.9.626_Unstable Build 2012.02.07
  IDE: ideD1400
  ComCtl32: 5.82.2900.6028

已安装的专家:
  d:\Program Files\CnPack\CnWizards\CnWizards_D14.dll = CnWizards_D14

已安装的包:
  Rave Reports 7.7 BE Package = $(BDS)\RaveReports\Lib\dclRave.bpl
  Embarcadero Control Panel Applet Package = $(BDS)\bin\applet140.bpl
  Delphi 1.0 Compatibility Components = $(BDS)\bin\dcl31w140.bpl
  Embarcadero Standard Components = $(BDS)\bin\dclstd140.bpl
  Embarcadero ActionBar Components = $(BDS)\bin\dclact140.bpl
  Embarcadero BDE DB Components = $(BDS)\bin\dclbde140.bpl
  Embarcadero Database Components = $(BDS)\bin\dcldb140.bpl
  Embarcadero SQL Explorer UI Package = $(BDS)\bin\dbx140.bpl
  Embarcadero Editor Emacs Enhancements = $(BDS)\bin\dclemacsedit140.bpl
  Embarcadero Markup Language Wizards = $(BDS)\bin\dclmlwiz140.bpl
  Embarcadero Editor Script Enhancements = $(BDS)\bin\dclsmpedit140.bpl
  Embarcadero Touch Components = $(BDS)\bin\dcltouch140.bpl
  Embarcadero Sample Debugger Visualizers = $(BDS)\bin\samplevisualizers140.bpl
  Embarcadero DataSnap Connection Components = $(BDS)\bin\dclmcn140.bpl
  Embarcadero MyBase DataAccess Components = $(BDS)\bin\dclmid140.bpl
  TeeChart Standard 8 Components = $(BDS)\bin\dcltee8140.bpl
  Embarcadero InterBase Express Components = $(BDS)\Bin\dclib140.bpl
  Embarcadero ADO DB Components = $(BDS)\bin\dclado140.bpl
  Indy 10 Core Design Time = $(BDS)\bin\dclIndyCore140.bpl
  Indy 10 Protocols Design Time = $(BDS)\Bin\dclIndyProtocols140.bpl
  Embarcadero Sample Components = $(BDS)\bin\dclsmp140.bpl
  Embarcadero Ribbon Controls = $(BDS)\bin\dclribbon140.bpl
  Embarcadero DBExpress DataSnap Server Transport Components = $(BDS)\bin\dclDataSnapIndy10ServerTransport140.bpl
  Embarcadero DBExpress DataSnap Provider Client Components = $(BDS)\bin\dclDataSnapProviderClient140.bpl
  Embarcadero Driver Components = $(BDS)\bin\dclDBXDrivers140.bpl
  Embarcadero dbExpress Components = $(BDS)\bin\dcldbx140.bpl
  Embarcadero Enterprise Driver Components = $(BDS)\bin\dclDBXDriversEnt140.bpl
  Embarcadero SimpleDataset Component (DBX) = $(BDS)\bin\dcldbxcds140.bpl
  VCL for the Web 10.0  Design Package for CodeGear RAD Studio = $(BDS)\bin\dclIntraweb_100_140.bpl
  Internet Explorer Components = $(BDS)\bin\dclie140.bpl
  Embarcadero InternetExpress Components = $(BDS)\bin\dclwbm140.bpl
  Embarcadero Internet Components = $(BDS)\bin\dclnet140.bpl
  TPerlRegEx - Perl Compatible Regular Expressions VCL Component = C:\Documents and Settings\All Users\Documents\RAD Studio\7.0\Bpl\PerlRegExD2010.bpl
  AlphaControls = C:\Documents and Settings\All Users\Documents\RAD Studio\7.0\Bpl\acnt2010.bpl
  Overbyte ICS Design-Time Package Delphi 2010 = C:\Documents and Settings\All Users\Documents\RAD Studio\7.0\Bpl\OverbyteIcsD2010Design.bpl
  TurboPower Abbrevia 3.05 Design-time package - VCL2010 = C:\Documents and Settings\All Users\Documents\RAD Studio\7.0\Bpl\B305vd2010.bpl
  RemObjects Everwood for Delphi = C:\Program Files\RemObjects Software\Everwood\Bin\RemObjects_Everwood_D14.bpl
  RemObjects Pascal Script - Core Package = d:\Program Files\RemObjects Software\Pascal Script for Delphi\Dcu\D14\PascalScript_Core_D14.bpl
  EhLib 5.2 Components = C:\Documents and Settings\All Users\Documents\RAD Studio\7.0\Bpl\DclEhLib140.bpl
  Embarcadero WebSnap Components = $(BDS)\bin\dclwebsnap140.bpl
  Embarcadero SOAP Components = $(BDS)\bin\dclsoap140.bpl
  CnPack Components Designtime Package = C:\Documents and Settings\All Users\Documents\RAD Studio\7.0\Bpl\dclCnPack_D14.bpl
  (untitled) = C:\Documents and Settings\All Users\Documents\RAD Studio\7.0\Bpl\sfd2010.bpl
  EurekaLog = d:\Program Files\EurekaLog 6\Delphi14\ExceptionExpert14.bpl
  DCPcrypt cryptographic component library v2 BETA 3 = C:\Documents and Settings\All Users\Documents\RAD Studio\7.0\Bpl\DCPdelphi2009.bpl
  TWebBrowser extended = $(BDS)\lib\XSWebBrowser\XSWebBrowserPackage.bpl
  (untitled) = C:\Documents and Settings\All Users\Documents\RAD Studio\7.0\Bpl\dclSDBGridF.bpl
  (untitled) = C:\Documents and Settings\All Users\Documents\RAD Studio\7.0\Bpl\XSImagePackage.bpl

已安装的 IDE 包:
  Embarcadero Assembly Plug = $(BDS)\Bin\asmview140.bpl
  $(BDS)\Bin\codetemplates140.bpl = $(BDS)\Bin\codetemplates140.bpl
  Embarcadero Professional Core IDE Package = $(BDS)\bin\coreproide140.bpl
  DBK Debugger IDE Package = $(BDS)\Bin\dbkdebugide140.bpl
  DBK Debugger Professional IDE Package = $(BDS)\bin\dbkdebugproide140.bpl
  Embarcadero .NET Core IDE Package = $(BDS)\Bin\dotnetcoreide140.bpl
  Embarcadero IDE Exception Diagnostics - with JEDI Code Library = $(BDS)\bin\exceptiondiag140.bpl
  $(BDS)\bin\fileexplorer140.bpl = $(BDS)\bin\fileexplorer140.bpl
  Embarcadero File History viewer IDE Package = $(BDS)\bin\historyide140.bpl
  Embarcadero HtmlHelp2 Support Package = $(BDS)\Bin\htmlhelp2140.bpl
  Embarcadero Filter Examples = $(BDS)\bin\idefilefilters140.bpl
  Embarcadero Pluggable Tree View = $(BDS)\bin\plugview140.bpl
  Embarcadero MSBuild Targets File Add-In = $(BDS)\Bin\projecttargets140.bpl
  Embarcadero Refactor IDE Package = $(BDS)\bin\refactoride140.bpl
  Embarcadero Start Page IDE Package = $(BDS)\Bin\startpageide140.bpl
  Embarcadero Type Library Plug = $(BDS)\Bin\tlbview140.bpl
  Component Toolbar IDE Package = $(BDS)\bin\comptoolbar140.bpl
  Embarcadero IDE ToDo Manager = $(BDS)\bin\todoide140.bpl
  Embarcadero Delphi for .NET IDE Core package = $(BDS)\Bin\delphidotnetcore140.bpl
  Data Explorer IDE Package = $(BDS)\Bin\DataExplorer140.bpl
  __(Untitled) = $(BDS)\bin\htmltidy140.bpl
  __Markup Code Completion = $(BDS)\bin\mlcc140.bpl

CnPack IDE 专家启用状态:
  1 = CnAlignSizeWizard
  1 = CnMessageBoxWizard
  1 = CnComponentSelector
  1 = CnTabOrderWizard
  1 = CnBookmarkWizard
  1 = CnSrcTemplate
  1 = CnEditorWizard
  1 = CnMsdnWizard
  1 = CnPas2HtmlWizard
  1 = CnReplaceWizard
  1 = CnSourceDiffWizard
  1 = CnStatWizard
  1 = CnPrefixWizard
  1 = CnCorPropWizard
  1 = CnProjectExtWizard
  1 = CnCommentCropperWizard
  1 = CnRepositoryMenuWizard
  1 = CnExplorerWizard
  0 = CnFilesSnapshotWizard
  1 = CnProcListWizard
  1 = CnUsesCleaner
  1 = CnIdeEnhanceMenuWizard
  1 = CnIdeBRWizard
  1 = CnScriptWizard
  1 = CnFastCodeWizard
  1 = CnFormEnhanceWizard
  1 = CnSourceHighlight
  1 = CnSrcEditorEnhance
  1 = CnPaletteEnhanceWizard
  1 = CnCpuWinEnhanceWizard
  1 = CnWinTopRoller
  1 = CnInputHelper
  1 = CnVerEnhanceWizard
  1 = CnDUnitWizard
  1 = CnIniFilerWizard
  1 = CnMemProfWizard
  0 = CnFeedReaderWizard

CnPack IDE 专家创建状态:
  1 = TCnFastCodeWizard
  1 = TCnFormEnhanceWizard
  1 = TCnAlignSizeWizard
  1 = TCnMessageBoxWizard
  1 = TCnComponentSelector
  1 = TCnTabOrderWizard
  1 = TCnBookmarkWizard
  1 = TCnSrcTemplate
  1 = TCnEditorWizard
  1 = TCnSourceHighlight
  1 = TCnMsdnWizard
  1 = TCnPas2HtmlWizard
  1 = TCnReplaceWizard
  1 = TCnSourceDiffWizard
  1 = TCnStatWizard
  1 = TCnPrefixWizard
  1 = TCnSrcEditorEnhance
  1 = TCnPaletteEnhanceWizard
  1 = TCnCorPropWizard
  1 = TCnProjectExtWizard
  1 = TCnCommentCropperWizard
  1 = TCnCpuWinEnhanceWizard
  1 = TCnRepositoryMenuWizard
  1 = TCnDUnitWizard
  1 = TCnIniFilerWizard
  1 = TCnMemProfWizard
  1 = TCnExplorerWizard
  1 = TCnFilesSnapshotWizard
  1 = TCnWinTopRoller
  1 = TCnInputHelper
  1 = TCnProcListWizard
  1 = TCnVerEnhanceWizard
  1 = TCnUsesCleaner
  1 = TCnIdeEnhanceMenuWizard
  1 = TCnIdeBRWizard
  1 = TCnScriptWizard
  1 = TCnFeedReaderWizard
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2012-3-21 21:23  Profile | Blog | P.M. 
收到,我查查。
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2012-3-30 15:30  Profile | Blog | P.M. 
尝试了好几次也没复现楼主提到的问题,我猜可能是某些环境变量中的特殊字符所致,可否将恢复出错的备份文件(bic文件)发一份让我试一试?
Top
rise
普通灌水员
Rank: 2



UID 40734
Digest Posts 0
Credits 92
Posts 33
点点分 92
Reading Access 10
Registered 2008-8-4
Status Offline
Post at 2012-4-1 09:30  Profile | Blog | P.M. 
好的
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2012-4-5 10:13  Profile | Blog | P.M. 
收到样本文件了。经查是注册表中有一项是个数量较大的乱码,此乱码导致了StringReplace函数出错。有待进一步研究。
Top
ray2312
新警察
Rank: 1



UID 67480
Digest Posts 0
Credits 12
Posts 5
点点分 12
Reading Access 10
Registered 2012-3-21
Status Offline
Post at 2012-6-22 23:26  Profile | Blog | P.M. 
话说,有没有bic的查看工具呢???因为现在IDE出现一个很诡异的问题,怀疑可能是控件冲突或者IDE配置导致,做了好几个备份,但是没法查看导致无法对比!
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2012-6-25 09:22  Profile | Blog | P.M. 
楼上可以访问我们的SVN不?我增加了一个测试程序,可以解开bic文件。
路径在cnwizards\Test\ExtractBic下,D5或D7均可。
Top
 




All times are GMT++8, the time now is 2024-11-22 18:22

    本论坛支付平台由支付宝提供
携手打造安全诚信的交易社区 Powered by Discuz! 5.0.0  © 2001-2006 Comsenz Inc.
Processed in 0.010031 second(s), 9 queries , Gzip enabled

Clear Cookies - Contact Us - CnPack Website - Archiver - WAP