When running one of the scripts from "tests" folder or a custom script I get:<br><------------------------------------------CODE BEGIN---------------------------------------------------------------><br>E:\Workspaces\pybot\tests>api_tests.py<br>
Configuration variable 'retry_on_fail' is defined but unknown. Misspelled?<br>Configuration variable 'use_diskcache' is defined but unknown. Misspelled?<br>EF:\Python26\lib\site-packages\httplib2-0.4.0-py2.6.egg\httplib2\__init__.py:29: DeprecationWarning: the md5 module is deprecated; use hashlib instead<br>
F:\Python26\lib\site-packages\httplib2-0.4.0-py2.6.egg\httplib2\__init__.py:44: DeprecationWarning: the sha module is deprecated; use the hashlib module instead<br>Found 1 wikipedia:en processes running, including this one.<br>
ERROR: Traceback (most recent call last):<br> File "E:\Workspaces\pybot\pywikibot\data\api.py", line 208, in submit<br> body=params)<br> File "E:\Workspaces\pybot\pywikibot\comms\http.py", line 112, in request<br>
raise request.data<br>TypeError: a float is required<br><br>WARNING: Waiting 5 seconds before retrying.<br>ERROR: Traceback (most recent call last):<br> File "E:\Workspaces\pybot\pywikibot\data\api.py", line 208, in submit<br>
body=params)<br> File "E:\Workspaces\pybot\pywikibot\comms\http.py", line 112, in request<br> raise request.data<br>TypeError: a float is required<br><br>WARNING: Waiting 10 seconds before retrying.<br><br>
<------------------------------------------CODE END---------------------------------------------------------------><br><br>Any ideas why?<br><br>I'll try replace.py later and post back.<br>