Traceur3RUN 75 Posted February 11, 2015 Share Posted February 11, 2015 0211 16:35:19719 :: SystemError 0211 16:35:19719 :: : 0211 16:35:19719 :: ..Objectslongobject.c:969: bad argument to internal function 0211 16:35:19719 :: 0211 16:35:23414 :: Traceback (most recent call last): 0211 16:35:23414 :: File "game.py", line 791, in RefreshInventory 0211 16:35:23414 :: File "interfaceModule.py", line 567, in RefreshInventory 0211 16:35:23414 :: AttributeError 0211 16:35:23414 :: : 0211 16:35:23414 :: 'NoneType' object has no attribute 'RefreshQuickSlot' 0211 16:35:23414 :: 0211 16:35:23414 :: Traceback (most recent call last): 0211 16:35:23414 :: File "game.py", line 791, in RefreshInventory 0211 16:35:23414 :: File "interfaceModule.py", line 567, in RefreshInventory 0211 16:35:23415 :: AttributeError 0211 16:35:23415 :: : 0211 16:35:23415 :: 'NoneType' object has no attribute 'RefreshQuickSlot' 0211 16:35:23415 :: any fix? Link to comment Share on other sites More sharing options...
Premium Galet 515 Posted February 11, 2015 Premium Share Posted February 11, 2015 I guess you defined something about lenght in PythonUtils.cpp Link to comment Share on other sites More sharing options...
Traceur3RUN 75 Posted February 11, 2015 Author Share Posted February 11, 2015 I guess you defined something about lenght in PythonUtils.cpp yes i add this bool PyTuple_GetUnsignedLongLong(PyObject* poArgs, int pos, unsigned long long* ret) { if (pos >= PyTuple_Size(poArgs)) return false; PyObject * poItem = PyTuple_GetItem(poArgs, pos); if (!poItem) return false; *ret = PyLong_AsUnsignedLongLong(poItem); return true; } Link to comment Share on other sites More sharing options...
Premium Galet 515 Posted February 11, 2015 Premium Share Posted February 11, 2015 Here's your bug ^^ Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now