onlyhilton 2008-2-20 13:02
RP对中文环境的依赖
如果在project底下新建documents,就出现下面的错误框
[attach]6722[/attach]
如果在packet底下新建documents,就出现下面的错误框
[attach]6722[/attach]
重装RP无效,重装Office无效,哭了
[[i] 本帖最后由 onlyhilton 于 2008-2-21 14:37 编辑 [/i]]
onlyhilton 2008-2-20 14:11
错误信息
操作系统是Windows 2003 R2 SP2 Enterprise Edition,在同样系统的另一台机器上无此问题,error信息如下:
TIME: Wednesday 2008-2-20 13:38:39
PRODUCT: Rational RequisitePro (version 9.1.0.1)
SYSTEM: WindowsNT (version 5.2, build 3790 Service Pack 2, 中华人民共和国)
------------------------------------------------------------------------
Runtime error: Automation 错误(RqWordServices.WordWrapper,663,-2147418111)
OLEDispatchError(Exception)>>defaultAction
OLEDispatchError(Exception)>>activateHandler: <anUndefinedObject>
OLEDispatchError(Exception)>>handle
OLEDispatchError(Exception)>>signal
[] in OLEInterface>>signalDispatchError:exceptionInfo:argError:
ProtectedFrameMarker(BlockClosure)>>setUnwind: <aBlockClosure>
BlockClosure>>ensure: <aBlockClosure>
IDispatch(OLEInterface)>>signalDispatchError: <2147614729> exceptionInfo: <anOLE_EXCEPINFO> argError: <0>
IDispatch>>invoke: <1610809421> localeID: <0> flags: <1> parameters: <anOLE_DISPPARAMS> result: <anOLEDispatchValueReference>
IDispatch>>invokeMethod: <1610809421> with: <anOLE_DISPPARAMS> localeID: <0> result: <anOLEDispatchValueReference>
[] in OLEDispatchDriver>>invokeMethod:withArguments:withNamedArguments:result:
ProtectedFrameMarker(BlockClosure)>>setUnwind: <aBlockClosure>
BlockClosure>>ensure: <aBlockClosure>
OLEDispatchDriver>>invokeMethod: <'DocumentsAdd'> withArguments: <anArray> withNamedArguments: <aDictionary> result: <anOLEDispatchValueReference>
OLEDispatchDriver>>invokeMethod: <'DocumentsAdd'> withNamedArguments: <aDictionary>
RqWinWordApp(RqOLEAutomationController)>>invokeMethod: <'DocumentsAdd'> withArguments: <aDictionary>
RqWinWordApp>>documentsAdd: <'F:\PROGRAM FILES\RAT...'> newTemplate: <anUndefinedObject>
RqWinWordApp>>fileNew: <'F:\PROGRAM FILES\RAT...'>
[] in RqDocumentManager class>>openNewOn:fromExisting:
ProtectedFrameMarker(BlockClosure)>>setUnwind: <aBlockClosure>
BlockClosure>>ensure: <aBlockClosure>
RqWinWordApp>>suspendLockFor: <aBlockClosure>
RqDocumentManager class>>openNewOn: <aRqDocument> fromExisting: <anUndefinedObject>
[] in RqPreRequisiteApp>>docDoNewInsertToDBwner:fromExisting:
ProtectedFrameMarker(BlockClosure)>>setUnwind: <aBlockClosure>
BlockClosure>>ensure: <aBlockClosure>
RqWinWordApp>>lockAccessFor: <aBlockClosure>
RqPreRequisiteAppNT(RqPreRequisiteApp)>>lockWinWordAccessFor: <aBlockClosure>
RqPreRequisiteAppNT(RqPreRequisiteApp)>>docDoNewInsertToDB: <aTrue> owner: <aRqMDIFrame> fromExisting: <anUndefinedObject>
RqPreRequisiteAppNT(RqPreRequisiteApp)>>docDoNewInsertToDB: <aTrue> owner: <aRqMDIFrame>
[] in RqPreRequisiteApp>>docNew:
BlockClosure>>evaluate
RqPreRequisiteAppNT(RqPreRequisiteApp)>>lockWinWordAccessFor: <aBlockClosure>
RqPreRequisiteAppNT(RqPreRequisiteApp)>>docNew: <aRqMDIFrame>
RqPreRequisiteAppNT(RqPreRequisiteApp)>>docNew
RqExplorerPane>>documentCreate
RqExplorerPane(Object)>>perform: <#documentCreate>
MenuWindow>>performMenuItem: <770>
Menu>>performMenuItem: <770>
RqPackagePane(SubPane)>>performMenuItem: <770>
Message>>perform
NotificationManager>>empty
NotificationManager>>runPendingEvents
NotificationManager>>runEventLoop
Message>>perform
Message>>evaluate
Process>>safelyEvaluate: <aMessage>
Process>>evaluate: <aMessage> snap001.jpg (20.46 KB)
2008-2-20 14:02 未命名.JPG (19.93 KB)
2008-2-20 14:02
onlyhilton 2008-2-20 14:27
已解决,呵呵,真是不容易找到原因啊
是中文环境系统的日期格式的原因。我修改了中文环境的日期为英文格式的就可以了,就是系统栏里面的时间,如果你修改成显示“上午”、“下午”就不行,如果不显示或者显示成AM或者PM就好了
yelingbug 2008-3-31 11:35
哈哈,遇到同一个问题,正好用上,多谢楼主~