启动Aptixia IxLoad出现错误

启动Aptixia IxLoad可能会出现如下错误:

Setting CurrentDirectory = C:\Program Files\Ixia\\5.0-EA\Client
Loading resources...
Using database: (local)\IXIA2005\_5_0_117_28
Resources loaded OK.
*************************** GetPathToDlls from : ''
************************Loading EX python23 from C:\Program Files\Ixia\\5.
0-EA\3rdParty\Python2.3\python23.dll
************************Loading EX wintypes from C:\Program Files\Ixia\\5.
0-EA\3rdParty\Python2.3\DLLs\pywintypes23.dll
'import site' failed; use -v for traceback
warning: integer multiplication
Application Error:

--------------------------------------------------------------------------------

Exception Type: exceptions.KeyError
Exception Description: ''
Exception Stack:
Traceback (most recent call last):
File "Client\Lib\Common\ixCal.py", line 28, in ?
File "E:\build\ixweb-5.0-28\ixweb\5.0\Client\Lib\Common\ixMainLock.py", line 8
2, in ?
File "E:\build\ixweb-5.0-28\ixweb\5.0\Client\Lib\Common\ixMainLock.py", line 8
6, in ixMainLock
File "E:\build\ixweb-5.0-28\ixweb\5.0\Client\Lib\Common\ixMainLock.py", line 4
3, in getMaxInstanceNo
File "E:\build\ixweb-5.0-28\ixweb\5.0\Client\Lib\Common\ixMainLock.py", line 3
0, in isRunningOnIxiaAppServer
File "E:\build\ixweb-5.0-28\ixweb\5.0\3rdParty\Python2.3\Lib\os.py", line 417,
in __getitem__
KeyError: ''

--------------------------------------------------------------------------------

Press [Enter] to quit...

IxLoad 安装在c盘,看了一下日志,猜测是WINDIR环境变量的问题,在当前的用户设置里面添加用户变量WINDIR=C:\WINDOWS,如下图,果然,问题解决。

知识共享许可协议
本作品《启动Aptixia IxLoad出现错误》verynix创作,采用知识共享署名-非商业性使用-禁止演绎 3.0 Unported许可协议进行许可。
基于verynix.com上的作品创作。
Permissions beyond the scope of this license may be available at verynix.com.

本文链接: http://verynix.com/aptixia-ixload-windir.html

Post Footer automatically generated by wp-posturl plugin for wordpress.

Leave a Reply

Your email address will not be published. Required fields are marked *