Error using --x52-pro with Run ... "ctypes.ArgumentError: argument 1: <class 'OverflowError'>: int too long to convert"

Issue #270 new
Anonymous created an issue

Brand-new install, so I may have got some things wrong ... I can get Run --check to give me a nice step-by-step output for a trade run, but if I try to output this onto my X52 Pro I get the following error:

e:\trade\kfsone-tradedangerous-c9bc653382e4> run --from rakapila/stone --credits 20000 --cap 16 --ly-per 8 -vv --hops 2 --check --x52-pro
Traceback (most recent call last):
  File "E:\trade\kfsone-tradedangerous-c9bc653382e4\", line 104, in <module>
  File "E:\trade\kfsone-tradedangerous-c9bc653382e4\", line 77, in main
    results =
  File "E:\trade\kfsone-tradedangerous-c9bc653382e4\commands\", line 73, in run
  File "E:\trade\kfsone-tradedangerous-c9bc653382e4\commands\", line 97, in checkMFD
    self.mfd = X52ProMFD()
  File "E:\trade\kfsone-tradedangerous-c9bc653382e4\mfd\", line 76, in __init__
    self.doObj = x52pro.X52Pro()
  File "E:\trade\kfsone-tradedangerous-c9bc653382e4\mfd\saitek\", line 376, in __init__
    result = self.direct_output.RegisterSoftButtonCallback(self.device_handle, self.onSoftButton_closure)
  File "E:\trade\kfsone-tradedangerous-c9bc653382e4\mfd\saitek\", line 170, in RegisterSoftButtonCallback
    return self.DirectOutputDLL.DirectOutput_RegisterSoftButtonCallback(device_handle, function, 0)
ctypes.ArgumentError: argument 1: <class 'OverflowError'>: int too long to convert

This is with version of the Saitek driver, and Python 3.6.1 (64-bit)

Comments (0)

  1. Log in to comment