Tag Archives: Aptixia

启动Aptixia IxLoad出现错误

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

Setting CurrentDirectory = C:\Program Files\Ixia\IxLoad\5.0-EA\Client
Loading resources...
Using database: (local)\IXIA2005\IxLoad_5_0_117_28
Resources loaded OK.
*************************** GetPathToDlls from IXLOAD: 'ixload'
************************Loading EX python23 from C:\Program Files\Ixia\IxLoad\5.
0-EA\3rdParty\Python2.3\python23.dll
************************Loading EX wintypes from C:\Program Files\Ixia\IxLoad\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: 'WINDIR'
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: 'WINDIR'

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

Press [Enter] to quit...

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