Let us explore in that issue, please send us the dump file too: ApiGetDataParse_isoggbot_en__Thu_Jan_26_07-58-17_2012.dump
Regards xqt
Not much info in the dump, this is it.
Error reported: invalid literal for int() with base 10: '147, 147' www.isogg.org/w/api.php?Nothing received
Thanks for looking.
I could set up a another bot account so you guys can test it.
Thanks
Tom
From: pywikipedia-l-bounces@lists.wikimedia.org [mailto:pywikipedia-l-bounces@lists.wikimedia.org] On Behalf Of info@gno.de Sent: Thursday, January 26, 2012 4:14 PM To: Pywikipedia discussion list Subject: Re: [Pywikipedia-l] Was feeling lucky- "Not" - still error onother wiki
Let us explore in that issue, please send us the dump file too: ApiGetDataParse_isoggbot_en__Thu_Jan_26_07-58-17_2012.dump
Regards xqt
_____
Von: Tom Hutchison Gesendet: 26.01.2012 14:17 An: 'Pywikipedia discussion list' Betreff: Re: [Pywikipedia-l] Was feeling lucky- "Not" - still error onother wiki
Ok, now we're getting somewhere. Cookie issue I think. How to solve it?
Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp.
C:\ISOOGBot>login.py -v Config.py - base_dir: C:\ISOOGBot - done. unicode test: triggers problem #3081100 Pywikipediabot [http] trunk/pywikipedia (r9842, 2012/01/22, 00:51:55) Python 2.7 (r27:82525, Jul 4 2010, 09:01:59) [MSC v.1500 32 bit (Intel)] Password for user WikiBot on isoggbot:en: Logging in to isoggbot:en as WikiBot via API. ==== API action:login ==== lgname: WikiBot lgpassword: XXXXX ---------------- Requesting API query from isoggbot:en Error downloading data: invalid literal for int() with base 10: '147, 147' Request en:/w/api.php? Retrying in 1 minutes... Error downloading data: invalid literal for int() with base 10: '147, 147' Request en:/w/api.php? Retrying in 2 minutes... Error downloading data: invalid literal for int() with base 10: '147, 147' Request en:/w/api.php? Retrying in 4 minutes... Error downloading data: invalid literal for int() with base 10: '147, 147' Request en:/w/api.php? Retrying in 8 minutes... Error downloading data: invalid literal for int() with base 10: '147, 147' Request en:/w/api.php? Retrying in 16 minutes... Error downloading data: invalid literal for int() with base 10: '147, 147' Request en:/w/api.php? ERROR: ApiGetDataParse caused error invalid literal for int() with base 10: '147, 147' www.isogg.org /w/api.php?. Dump ApiGetDataParse_isoggbot_en__Thu_Jan_26_07-58-17_2012.dump created. Traceback (most recent call last): File "C:\ISOOGBot\login.py", line 436, in <module> main() File "C:\ISOOGBot\login.py", line 432, in main loginMan.login() File "C:\ISOOGBot\login.py", line 319, in login cookiedata = self.getCookie(api) File "C:\ISOOGBot\login.py", line 181, in getCookie response, data = query.GetData(predata, self.site, sysop=self.sysop, back_response = True) File "C:\ISOOGBot\query.py", line 171, in GetData raise lastError ValueError: invalid literal for int() with base 10: '147, 147'
C:\ISOOGBot>
Thanks Tom
-----Original Message----- From: pywikipedia-l-bounces@lists.wikimedia.org [mailto:pywikipedia-l-bounces@lists.wikimedia.org] On Behalf Of info@gno.de Sent: Thursday, January 26, 2012 3:23 AM To: pywikipedia-l@lists.wikimedia.org Subject: Re: [Pywikipedia-l] Was feeling lucky- "Not" - still error on other wiki
Additional to Merlijns mail please start again and wait until the bots api request is finished. It tries I guess 5 times and should then raise an error with trace informations. Also it creates a dump file named "ApiGetDataParse<something_else>". Please give us that dump file (content).
Regards xqt
----- Original Nachricht ---- Von: Merlijn van Deen valhallasw@arctus.nl An: Pywikipedia discussion list pywikipedia-l@lists.wikimedia.org Datum: 26.01.2012 08:10 Betreff: Re: [Pywikipedia-l] Was feeling lucky- "Not" - still error on other wiki
Error downloading data: invalid literal for int() with base 10: '147,
147'
could you try running login.py with the -v flag? This will give some more debug output, among others about the exact api.php queries and their responses.
Secondary to that, if you could give the url to the wiki (i.e. it's not a private or local wiki), that would help with debugging /a lot/.
Best, Merlijn
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
_______________________________________________ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
_______________________________________________ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
Starting to think the host is blocking POST but still doesn't explain why autowikibrowser works. Login with API is a POST function no matter what...I think?
Tom
On Jan 26, 2012, at 6:48 PM, "Tom Hutchison" tom@hutch4.us wrote:
Not much info in the dump, this is it.
Error reported: invalid literal for int() with base 10: '147, 147' www.isogg.org/w/api.php?Nothing received
Thanks for looking…
I could set up a another bot account so you guys can test it.
Thanks Tom
From: pywikipedia-l-bounces@lists.wikimedia.org [mailto:pywikipedia-l-bounces@lists.wikimedia.org] On Behalf Of info@gno.de Sent: Thursday, January 26, 2012 4:14 PM To: Pywikipedia discussion list Subject: Re: [Pywikipedia-l] Was feeling lucky- "Not" - still error onother wiki
Let us explore in that issue, please send us the dump file too: ApiGetDataParse_isoggbot_en__Thu_Jan_26_07-58-17_2012.dump
Regards xqt Von: Tom Hutchison Gesendet: 26.01.2012 14:17 An: 'Pywikipedia discussion list' Betreff: Re: [Pywikipedia-l] Was feeling lucky- "Not" - still error onother wiki
Ok, now we're getting somewhere. Cookie issue I think. How to solve it?
Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp.
C:\ISOOGBot>login.py -v Config.py
- base_dir: C:\ISOOGBot
- done.
unicode test: triggers problem #3081100 Pywikipediabot [http] trunk/pywikipedia (r9842, 2012/01/22, 00:51:55) Python 2.7 (r27:82525, Jul 4 2010, 09:01:59) [MSC v.1500 32 bit (Intel)] Password for user WikiBot on isoggbot:en: Logging in to isoggbot:en as WikiBot via API. ==== API action:login ==== lgname: WikiBot lgpassword: XXXXX
Requesting API query from isoggbot:en Error downloading data: invalid literal for int() with base 10: '147, 147' Request en:/w/api.php? Retrying in 1 minutes... Error downloading data: invalid literal for int() with base 10: '147, 147' Request en:/w/api.php? Retrying in 2 minutes... Error downloading data: invalid literal for int() with base 10: '147, 147' Request en:/w/api.php? Retrying in 4 minutes... Error downloading data: invalid literal for int() with base 10: '147, 147' Request en:/w/api.php? Retrying in 8 minutes... Error downloading data: invalid literal for int() with base 10: '147, 147' Request en:/w/api.php? Retrying in 16 minutes... Error downloading data: invalid literal for int() with base 10: '147, 147' Request en:/w/api.php? ERROR: ApiGetDataParse caused error invalid literal for int() with base 10: '147, 147' www.isogg.org /w/api.php?. Dump ApiGetDataParse_isoggbot_en__Thu_Jan_26_07-58-17_2012.dump created. Traceback (most recent call last): File "C:\ISOOGBot\login.py", line 436, in <module> main() File "C:\ISOOGBot\login.py", line 432, in main loginMan.login() File "C:\ISOOGBot\login.py", line 319, in login cookiedata = self.getCookie(api) File "C:\ISOOGBot\login.py", line 181, in getCookie response, data = query.GetData(predata, self.site, sysop=self.sysop, back_response = True) File "C:\ISOOGBot\query.py", line 171, in GetData raise lastError ValueError: invalid literal for int() with base 10: '147, 147'
C:\ISOOGBot>
Thanks Tom
-----Original Message----- From: pywikipedia-l-bounces@lists.wikimedia.org [mailto:pywikipedia-l-bounces@lists.wikimedia.org] On Behalf Of info@gno.de Sent: Thursday, January 26, 2012 3:23 AM To: pywikipedia-l@lists.wikimedia.org Subject: Re: [Pywikipedia-l] Was feeling lucky- "Not" - still error on other wiki
Additional to Merlijns mail please start again and wait until the bots api request is finished. It tries I guess 5 times and should then raise an error with trace informations. Also it creates a dump file named "ApiGetDataParse<something_else>". Please give us that dump file (content).
Regards xqt
----- Original Nachricht ---- Von: Merlijn van Deen valhallasw@arctus.nl An: Pywikipedia discussion list pywikipedia-l@lists.wikimedia.org Datum: 26.01.2012 08:10 Betreff: Re: [Pywikipedia-l] Was feeling lucky- "Not" - still error on other wiki
Error downloading data: invalid literal for int() with base 10: '147,
147'
could you try running login.py with the -v flag? This will give some more debug output, among others about the exact api.php queries and their responses.
Secondary to that, if you could give the url to the wiki (i.e. it's not a private or local wiki), that would help with debugging /a lot/.
Best, Merlijn
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l _______________________________________________ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
I’m starting to think it is the host. Blocking something, just don’t know what.
I setup another family for another wiki I started building 2 months ago. Login is fine, editing, and everything else. I just wanted to make sure it wasn’t on my end for sure. Could the login be timing out before the information is sent?
Thanks Tom
From: Tom Sent: Thursday, January 26, 2012 8:29 PM To: Pywikipedia discussion list Subject: Re: [Pywikipedia-l] Was feeling lucky- "Not" - stillerror onother wiki
Starting to think the host is blocking POST but still doesn't explain why autowikibrowser works. Login with API is a POST function no matter what...I think?
Tom
On Jan 26, 2012, at 6:48 PM, "Tom Hutchison" tom@hutch4.us wrote:
Not much info in the dump, this is it.
Error reported: invalid literal for int() with base 10: '147, 147' www.isogg.org/w/api.php?Nothing received
Thanks for looking…
I could set up a another bot account so you guys can test it.
Thanks
Tom
From: pywikipedia-l-bounces@lists.wikimedia.org [mailto:pywikipedia-l-bounces@lists.wikimedia.org] On Behalf Of info@gno.de Sent: Thursday, January 26, 2012 4:14 PM To: Pywikipedia discussion list Subject: Re: [Pywikipedia-l] Was feeling lucky- "Not" - still error onother wiki
Let us explore in that issue, please send us the dump file too: ApiGetDataParse_isoggbot_en__Thu_Jan_26_07-58-17_2012.dump
Regards xqt
------------------------------------------------------------------------------
Von: Tom Hutchison Gesendet: 26.01.2012 14:17 An: 'Pywikipedia discussion list' Betreff: Re: [Pywikipedia-l] Was feeling lucky- "Not" - still error onother wiki
Ok, now we're getting somewhere. Cookie issue I think. How to solve it?
Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp.
C:\ISOOGBot>login.py -v Config.py - base_dir: C:\ISOOGBot - done. unicode test: triggers problem #3081100 Pywikipediabot [http] trunk/pywikipedia (r9842, 2012/01/22, 00:51:55) Python 2.7 (r27:82525, Jul 4 2010, 09:01:59) [MSC v.1500 32 bit (Intel)] Password for user WikiBot on isoggbot:en: Logging in to isoggbot:en as WikiBot via API. ==== API action:login ==== lgname: WikiBot lgpassword: XXXXX ---------------- Requesting API query from isoggbot:en Error downloading data: invalid literal for int() with base 10: '147, 147' Request en:/w/api.php? Retrying in 1 minutes... Error downloading data: invalid literal for int() with base 10: '147, 147' Request en:/w/api.php? Retrying in 2 minutes... Error downloading data: invalid literal for int() with base 10: '147, 147' Request en:/w/api.php? Retrying in 4 minutes... Error downloading data: invalid literal for int() with base 10: '147, 147' Request en:/w/api.php? Retrying in 8 minutes... Error downloading data: invalid literal for int() with base 10: '147, 147' Request en:/w/api.php? Retrying in 16 minutes... Error downloading data: invalid literal for int() with base 10: '147, 147' Request en:/w/api.php? ERROR: ApiGetDataParse caused error invalid literal for int() with base 10: '147, 147' www.isogg.org /w/api.php?. Dump ApiGetDataParse_isoggbot_en__Thu_Jan_26_07-58-17_2012.dump created. Traceback (most recent call last): File "C:\ISOOGBot\login.py", line 436, in <module> main() File "C:\ISOOGBot\login.py", line 432, in main loginMan.login() File "C:\ISOOGBot\login.py", line 319, in login cookiedata = self.getCookie(api) File "C:\ISOOGBot\login.py", line 181, in getCookie response, data = query.GetData(predata, self.site, sysop=self.sysop, back_response = True) File "C:\ISOOGBot\query.py", line 171, in GetData raise lastError ValueError: invalid literal for int() with base 10: '147, 147'
C:\ISOOGBot>
Thanks Tom
-----Original Message----- From: pywikipedia-l-bounces@lists.wikimedia.org [mailto:pywikipedia-l-bounces@lists.wikimedia.org] On Behalf Of info@gno.de Sent: Thursday, January 26, 2012 3:23 AM To: pywikipedia-l@lists.wikimedia.org Subject: Re: [Pywikipedia-l] Was feeling lucky- "Not" - still error on other wiki
Additional to Merlijns mail please start again and wait until the bots api request is finished. It tries I guess 5 times and should then raise an error with trace informations. Also it creates a dump file named "ApiGetDataParse<something_else>". Please give us that dump file (content).
Regards xqt
----- Original Nachricht ---- Von: Merlijn van Deen valhallasw@arctus.nl An: Pywikipedia discussion list pywikipedia-l@lists.wikimedia.org Datum: 26.01.2012 08:10 Betreff: Re: [Pywikipedia-l] Was feeling lucky- "Not" - still error on other wiki
Error downloading data: invalid literal for int() with base 10: '147,
147'
could you try running login.py with the -v flag? This will give some more debug output, among others about the exact api.php queries and their responses.
Secondary to that, if you could give the url to the wiki (i.e. it's not a private or local wiki), that would help with debugging /a lot/.
Best, Merlijn
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
_______________________________________________ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
_______________________________________________ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
_______________________________________________ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
-------------------------------------------------------------------------------- _______________________________________________ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
What is the form of the POST and GET from pywikiapedia?
HTTP 1.0 or 1.1 and is there a host header URL in the header??
I tried a few things and POST works fine with web sniffer and the server responds fine with HTTP 1.0 or 1.1 but in 1.0 without host header it fails, not found, 404, no response.
I tried same with other wikis, responses were not 404 but 401, authorization required to access, which I think is right.
Still looking to solve this issue.
Thanks Tom
On Jan 26, 2012, at 4:14 PM, info@gno.de wrote:
Let us explore in that issue, please send us the dump file too: ApiGetDataParse_isoggbot_en__Thu_Jan_26_07-58-17_2012.dump
Regards xqt Von: Tom Hutchison Gesendet: 26.01.2012 14:17 An: 'Pywikipedia discussion list' Betreff: Re: [Pywikipedia-l] Was feeling lucky- "Not" - still error onother wiki
Ok, now we're getting somewhere. Cookie issue I think. How to solve it?
Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp.
C:\ISOOGBot>login.py -v Config.py
- base_dir: C:\ISOOGBot
- done.
unicode test: triggers problem #3081100 Pywikipediabot [http] trunk/pywikipedia (r9842, 2012/01/22, 00:51:55) Python 2.7 (r27:82525, Jul 4 2010, 09:01:59) [MSC v.1500 32 bit (Intel)] Password for user WikiBot on isoggbot:en: Logging in to isoggbot:en as WikiBot via API. ==== API action:login ==== lgname: WikiBot lgpassword: XXXXX
Requesting API query from isoggbot:en Error downloading data: invalid literal for int() with base 10: '147, 147' Request en:/w/api.php? Retrying in 1 minutes... Error downloading data: invalid literal for int() with base 10: '147, 147' Request en:/w/api.php? Retrying in 2 minutes... Error downloading data: invalid literal for int() with base 10: '147, 147' Request en:/w/api.php? Retrying in 4 minutes... Error downloading data: invalid literal for int() with base 10: '147, 147' Request en:/w/api.php? Retrying in 8 minutes... Error downloading data: invalid literal for int() with base 10: '147, 147' Request en:/w/api.php? Retrying in 16 minutes... Error downloading data: invalid literal for int() with base 10: '147, 147' Request en:/w/api.php? ERROR: ApiGetDataParse caused error invalid literal for int() with base 10: '147, 147' www.isogg.org /w/api.php?. Dump ApiGetDataParse_isoggbot_en__Thu_Jan_26_07-58-17_2012.dump created. Traceback (most recent call last): File "C:\ISOOGBot\login.py", line 436, in <module> main() File "C:\ISOOGBot\login.py", line 432, in main loginMan.login() File "C:\ISOOGBot\login.py", line 319, in login cookiedata = self.getCookie(api) File "C:\ISOOGBot\login.py", line 181, in getCookie response, data = query.GetData(predata, self.site, sysop=self.sysop, back_response = True) File "C:\ISOOGBot\query.py", line 171, in GetData raise lastError ValueError: invalid literal for int() with base 10: '147, 147'
C:\ISOOGBot>
Thanks Tom
-----Original Message----- From: pywikipedia-l-bounces@lists.wikimedia.org [mailto:pywikipedia-l-bounces@lists.wikimedia.org] On Behalf Of info@gno.de Sent: Thursday, January 26, 2012 3:23 AM To: pywikipedia-l@lists.wikimedia.org Subject: Re: [Pywikipedia-l] Was feeling lucky- "Not" - still error on other wiki
Additional to Merlijns mail please start again and wait until the bots api request is finished. It tries I guess 5 times and should then raise an error with trace informations. Also it creates a dump file named "ApiGetDataParse<something_else>". Please give us that dump file (content).
Regards xqt
----- Original Nachricht ---- Von: Merlijn van Deen valhallasw@arctus.nl An: Pywikipedia discussion list pywikipedia-l@lists.wikimedia.org Datum: 26.01.2012 08:10 Betreff: Re: [Pywikipedia-l] Was feeling lucky- "Not" - still error on other wiki
Error downloading data: invalid literal for int() with base 10: '147,
147'
could you try running login.py with the -v flag? This will give some more debug output, among others about the exact api.php queries and their responses.
Secondary to that, if you could give the url to the wiki (i.e. it's not a private or local wiki), that would help with debugging /a lot/.
Best, Merlijn
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l _______________________________________________ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
Hm, I found a double Content-Lenght in the header calling site.getURL():
Content-Type: application/json; charset=utf-8 Connection: close Server: Nginx / Varnish X-Powered-By: PHP/5.2.17 Set-Cookie: PHPSESSID=5a0988aa9e6d3b9727485235b98b0318; path=/ Expires: Thu, 19 Nov 1981 08:52:00 GMT Pragma: no-cache Cache-Control: private Content-Encoding: gzip Vary: Accept-Encoding Content-Length: 151 Content-Length: 151
Maybe this causes that error. I'll investigate...
Regards xqt
----- Original Nachricht ---- Von: Tom tom@hutch4.us An: Pywikipedia discussion list pywikipedia-l@lists.wikimedia.org Datum: 27.01.2012 22:20 Betreff: Re: [Pywikipedia-l] Was feeling lucky- "Not" - still error onother wiki
What is the form of the POST and GET from pywikiapedia?
HTTP 1.0 or 1.1 and is there a host header URL in the header??
I tried a few things and POST works fine with web sniffer and the server responds fine with HTTP 1.0 or 1.1 but in 1.0 without host header it fails, not found, 404, no response.
I tried same with other wikis, responses were not 404 but 401, authorization required to access, which I think is right.
Still looking to solve this issue.
Thanks Tom
On Jan 26, 2012, at 4:14 PM, info@gno.de wrote:
Let us explore in that issue, please send us the dump file too: ApiGetDataParse_isoggbot_en__Thu_Jan_26_07-58-17_2012.dump
Regards xqt Von: Tom Hutchison Gesendet: 26.01.2012 14:17 An: 'Pywikipedia discussion list' Betreff: Re: [Pywikipedia-l] Was feeling lucky- "Not" - still error
onother wiki
Ok, now we're getting somewhere. Cookie issue I think. How to solve it?
Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp.
C:\ISOOGBot>login.py -v Config.py
- base_dir: C:\ISOOGBot
- done.
unicode test: triggers problem #3081100 Pywikipediabot [http] trunk/pywikipedia (r9842, 2012/01/22, 00:51:55) Python 2.7 (r27:82525, Jul 4 2010, 09:01:59) [MSC v.1500 32 bit (Intel)] Password for user WikiBot on isoggbot:en: Logging in to isoggbot:en as WikiBot via API. ==== API action:login ==== lgname: WikiBot lgpassword: XXXXX
Requesting API query from isoggbot:en Error downloading data: invalid literal for int() with base 10: '147,
147'
Request en:/w/api.php? Retrying in 1 minutes... Error downloading data: invalid literal for int() with base 10: '147,
147'
Request en:/w/api.php? Retrying in 2 minutes... Error downloading data: invalid literal for int() with base 10: '147,
147'
Request en:/w/api.php? Retrying in 4 minutes... Error downloading data: invalid literal for int() with base 10: '147,
147'
Request en:/w/api.php? Retrying in 8 minutes... Error downloading data: invalid literal for int() with base 10: '147,
147'
Request en:/w/api.php? Retrying in 16 minutes... Error downloading data: invalid literal for int() with base 10: '147,
147'
Request en:/w/api.php? ERROR: ApiGetDataParse caused error invalid literal for int() with base
10: '147, 147'
www.isogg.org /w/api.php?. Dump
ApiGetDataParse_isoggbot_en__Thu_Jan_26_07-58-17_2012.dump created.
Traceback (most recent call last): File "C:\ISOOGBot\login.py", line 436, in <module> main() File "C:\ISOOGBot\login.py", line 432, in main loginMan.login() File "C:\ISOOGBot\login.py", line 319, in login cookiedata = self.getCookie(api) File "C:\ISOOGBot\login.py", line 181, in getCookie response, data = query.GetData(predata, self.site, sysop=self.sysop,
back_response = True)
File "C:\ISOOGBot\query.py", line 171, in GetData raise lastError ValueError: invalid literal for int() with base 10: '147, 147'
C:\ISOOGBot>
Thanks Tom
-----Original Message----- From: pywikipedia-l-bounces@lists.wikimedia.org [mailto:pywikipedia-l-bounces@lists.wikimedia.org] On Behalf Of
info@gno.de
Sent: Thursday, January 26, 2012 3:23 AM To: pywikipedia-l@lists.wikimedia.org Subject: Re: [Pywikipedia-l] Was feeling lucky- "Not" - still error on
other wiki
Additional to Merlijns mail please start again and wait until the bots api
request is finished.
It tries I guess 5 times and should then raise an error with trace
informations. Also it
creates a dump file named "ApiGetDataParse<something_else>". Please give
us that dump file
(content).
Regards xqt
----- Original Nachricht ---- Von: Merlijn van Deen valhallasw@arctus.nl An: Pywikipedia discussion list pywikipedia-l@lists.wikimedia.org Datum: 26.01.2012 08:10 Betreff: Re: [Pywikipedia-l] Was feeling lucky- "Not" - still error on
other
wiki
Error downloading data: invalid literal for int() with base 10: '147,
147'
could you try running login.py with the -v flag? This will give some
more
debug output, among others about the exact api.php queries and their responses.
Secondary to that, if you could give the url to the wiki (i.e. it's not
a
private or local wiki), that would help with debugging /a lot/.
Best, Merlijn
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l _______________________________________________ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
Thanks for looking at this xqt! It is interesting Content length is doubled. I hate the host they are using they even charge extra for Cron tab useage. It has been quite maddening.
As a work around, would I have to override header with htaccess if that's the issue?
Tom Sent from my iPhone
On Jan 28, 2012, at 3:52 PM, info@gno.de wrote:
Hm, I found a double Content-Lenght in the header calling site.getURL():
Content-Type: application/json; charset=utf-8 Connection: close Server: Nginx / Varnish X-Powered-By: PHP/5.2.17 Set-Cookie: PHPSESSID=5a0988aa9e6d3b9727485235b98b0318; path=/ Expires: Thu, 19 Nov 1981 08:52:00 GMT Pragma: no-cache Cache-Control: private Content-Encoding: gzip Vary: Accept-Encoding Content-Length: 151 Content-Length: 151
Maybe this causes that error. I'll investigate...
Regards xqt
I've no idea what to do on your side, sorry. Fortunately I know what would be a workaround on pwb's side ;)
Commit comming soon...
Regards xqt
----- Original Nachricht ---- Von: Tom tom@hutch4.us An: Pywikipedia discussion list pywikipedia-l@lists.wikimedia.org Datum: 28.01.2012 22:24 Betreff: Re: [Pywikipedia-l] Was feeling lucky- "Not" - still error onother wiki
Thanks for looking at this xqt! It is interesting Content length is doubled. I hate the host they are using they even charge extra for Cron tab useage. It has been quite maddening.
As a work around, would I have to override header with htaccess if that's the issue?
Tom Sent from my iPhone
On Jan 28, 2012, at 3:52 PM, info@gno.de wrote:
Hm, I found a double Content-Lenght in the header calling site.getURL():
Content-Type: application/json; charset=utf-8 Connection: close Server: Nginx / Varnish X-Powered-By: PHP/5.2.17 Set-Cookie: PHPSESSID=5a0988aa9e6d3b9727485235b98b0318; path=/ Expires: Thu, 19 Nov 1981 08:52:00 GMT Pragma: no-cache Cache-Control: private Content-Encoding: gzip Vary: Accept-Encoding Content-Length: 151 Content-Length: 151
Maybe this causes that error. I'll investigate...
Regards xqt
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
Done in r9845. Please try again with the new release. I've tested "login.py -test" at your wiki and it worked for me.
Regards xqt
----- Original Nachricht ---- Von: info@gno.de An: pywikipedia-l@lists.wikimedia.org Datum: 28.01.2012 22:34 Betreff: Re: [Pywikipedia-l] Was feeling lucky- "Not" - still error onother wiki
I've no idea what to do on your side, sorry. Fortunately I know what would be a workaround on pwb's side ;)
Commit comming soon...
Regards xqt
----- Original Nachricht ---- Von: Tom tom@hutch4.us An: Pywikipedia discussion list pywikipedia-l@lists.wikimedia.org Datum: 28.01.2012 22:24 Betreff: Re: [Pywikipedia-l] Was feeling lucky- "Not" - still error onother wiki
Thanks for looking at this xqt! It is interesting Content length is
doubled.
I hate the host they are using they even charge extra for Cron tab
useage.
It has been quite maddening.
As a work around, would I have to override header with htaccess if that's the issue?
Tom Sent from my iPhone
On Jan 28, 2012, at 3:52 PM, info@gno.de wrote:
Hm, I found a double Content-Lenght in the header calling
site.getURL():
Content-Type: application/json; charset=utf-8 Connection: close Server: Nginx / Varnish X-Powered-By: PHP/5.2.17 Set-Cookie: PHPSESSID=5a0988aa9e6d3b9727485235b98b0318; path=/ Expires: Thu, 19 Nov 1981 08:52:00 GMT Pragma: no-cache Cache-Control: private Content-Encoding: gzip Vary: Accept-Encoding Content-Length: 151 Content-Length: 151
Maybe this causes that error. I'll investigate...
Regards xqt
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
I emailed off list. Partial fix!! It is now communicating, just not logging in.
Thanks so much.
Tom
On Jan 28, 2012, at 4:48 PM, info@gno.de wrote:
Done in r9845. Please try again with the new release. I've tested "login.py -test" at your wiki and it worked for me.
Regards xqt
----- Original Nachricht ---- Von: info@gno.de An: pywikipedia-l@lists.wikimedia.org Datum: 28.01.2012 22:34 Betreff: Re: [Pywikipedia-l] Was feeling lucky- "Not" - still error onother wiki
I've no idea what to do on your side, sorry. Fortunately I know what would be a workaround on pwb's side ;)
Commit comming soon...
Regards xqt
----- Original Nachricht ---- Von: Tom tom@hutch4.us An: Pywikipedia discussion list pywikipedia-l@lists.wikimedia.org Datum: 28.01.2012 22:24 Betreff: Re: [Pywikipedia-l] Was feeling lucky- "Not" - still error onother wiki
Thanks for looking at this xqt! It is interesting Content length is
doubled.
I hate the host they are using they even charge extra for Cron tab
useage.
It has been quite maddening.
As a work around, would I have to override header with htaccess if that's the issue?
Tom Sent from my iPhone
On Jan 28, 2012, at 3:52 PM, info@gno.de wrote:
Hm, I found a double Content-Lenght in the header calling
site.getURL():
Content-Type: application/json; charset=utf-8 Connection: close Server: Nginx / Varnish X-Powered-By: PHP/5.2.17 Set-Cookie: PHPSESSID=5a0988aa9e6d3b9727485235b98b0318; path=/ Expires: Thu, 19 Nov 1981 08:52:00 GMT Pragma: no-cache Cache-Control: private Content-Encoding: gzip Vary: Accept-Encoding Content-Length: 151 Content-Length: 151
Maybe this causes that error. I'll investigate...
Regards xqt
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
pywikipedia-l@lists.wikimedia.org