Hello all!
I think this patch is needed, also to adapt watchlist.py to the new style, since all 'wikipedia' should become replaced by 'pywikibot'. May be someone with write svn access can commit this? (please look at the attached file)
In the same process I wrote a completely new module 'botlist.py' which is an analogue to 'watchlist.py' not completely finished, but works and caches all registred bot from a site once a day. This gives a speed-up for my bot. May be this can also be committed? (please look at [1])
Thanks a lot and greetings!! DrTrigon
[1] https://fisheye.toolserver.org/browse/drtrigon/pywikipedia/dtbext/dtbext_bot...
done in r8632 & r8641
xqt
----- Original Nachricht ---- Von: "Dr. Trigon" dr.trigon@surfeu.ch An: Pywikipedia-l@lists.wikimedia.org Datum: 02.10.2010 13:22 Betreff: [Pywikipedia-l] 'wikipedia' -> 'pywikibot' in watchlist.py
Hello all!
I think this patch is needed, also to adapt watchlist.py to the new style, since all 'wikipedia' should become replaced by 'pywikibot'. May be someone with write svn access can commit this? (please look at the attached file)
In the same process I wrote a completely new module 'botlist.py' which is an analogue to 'watchlist.py' not completely finished, but works and caches all registred bot from a site once a day. This gives a speed-up for my bot. May be this can also be committed? (please look at [1])
Thanks a lot and greetings!! DrTrigon
[1] https://fisheye.toolserver.org/browse/drtrigon/pywikipedia/dtbext/dtbext_bot list.py?r=HEAD
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
I thought I was logged into a wiki I use clean_sandbox.py on but got this error:
Error downloading data: invalid literal for int() with base 10: '210, 210' Request en:/w/api.php?inprop=protection%7Ctalkid%7Csubjectid%7Curl%7Creadable&format=json&rv prop=content%7Cids%7Cflags%7Ctimestamp%7Cuser%7Ccomment%7Csize&prop=revisions%7Cinfo&titles= Project%3ASandbox&rvlimit=1&action=query Retrying in 1 minutes...
First I thought I wasn't logged in properly so...I went to log in to this wiki using login.py and I keep getting this...
Error downloading data: invalid literal for int() with base 10: '147, 147' Request en:/w/api.php? Retrying in 1 minutes...
I don't think I changed anything in my settings and I was able to access this wiki with pywikipedia a few weeks ago. I checked the /w/api.php and it comes up beautifully.
Help appreciated as I am stumped as to why it stopped working.
Tom
Still can't figure out what the problem is. I have seen and read everything I can find on error downloading with pywikipedia and the API. I used Autowiki Browser to check connections and I can connect, edit, delete, etc.
I went back through the log files and the bot was accessing this particular wiki no problems as of 3 weeks ago. I have changed nothing on the wiki at all as far as extensions or additional files and no one else has access to the root to do so either. It can't be an error with pywikipedia because my other wiki works just fine. So one would think API on the wiki that is failing to download data. However, Autowiki Browser works just fine so I don't think that is the problem.
Could it be in the config file(family) of the wiki? But that still wouldn't explain why it was connecting just fine 3 weeks ago and suddenly stopped.
Tom
I've tested it on several wikipedias like als, bar, de, en, nds with py2.5.2 and py2.7 and it worked fine for me. Is your wiki's API accessable via internet so we could check it too with an other configuration?
xqt
----- Original Nachricht ---- Von: Tom Hutchison tjhutchy96@optonline.net An: Pywikipedia discussion list pywikipedia-l@lists.wikimedia.org Datum: 19.10.2010 17:05 Betreff: Re: [Pywikipedia-l] invalid literal error
Still can't figure out what the problem is. I have seen and read everything I can find on error downloading with pywikipedia and the API. I used Autowiki Browser to check connections and I can connect, edit, delete, etc.
I went back through the log files and the bot was accessing this particular wiki no problems as of 3 weeks ago. I have changed nothing on the wiki at all as far as extensions or additional files and no one else has access to the root to do so either. It can't be an error with pywikipedia because my other wiki works just fine. So one would think API on the wiki that is failing to download data. However, Autowiki Browser works just fine so I don't think that is the problem.
Could it be in the config file(family) of the wiki? But that still wouldn't explain why it was connecting just fine 3 weeks ago and suddenly stopped.
Tom
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
yes
http://www.isogg.org/w/api.php
On 10/19/2010 11:16 AM, info@gno.de wrote:
I've tested it on several wikipedias like als, bar, de, en, nds with py2.5.2 and py2.7 and it worked fine for me. Is your wiki's API accessable via internet so we could check it too with an other configuration?
xqt
----- Original Nachricht ---- Von: Tom Hutchisontjhutchy96@optonline.net An: Pywikipedia discussion listpywikipedia-l@lists.wikimedia.org Datum: 19.10.2010 17:05 Betreff: Re: [Pywikipedia-l] invalid literal error
Still can't figure out what the problem is. I have seen and read everything I can find on error downloading with pywikipedia and the API. I used Autowiki Browser to check connections and I can connect, edit, delete, etc.
I went back through the log files and the bot was accessing this particular wiki no problems as of 3 weeks ago. I have changed nothing on the wiki at all as far as extensions or additional files and no one else has access to the root to do so either. It can't be an error with pywikipedia because my other wiki works just fine. So one would think API on the wiki that is failing to download data. However, Autowiki Browser works just fine so I don't think that is the problem.
Could it be in the config file(family) of the wiki? But that still wouldn't explain why it was connecting just fine 3 weeks ago and suddenly stopped.
Tom
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
xqt
Any luck with using the API?
Tom
----- Original Message ----- From: info@gno.de To: pywikipedia-l@lists.wikimedia.org Sent: Tuesday, October 19, 2010 11:16 AM Subject: Re: [Pywikipedia-l] invalid literal error
I've tested it on several wikipedias like als, bar, de, en, nds with py2.5.2 and py2.7 and it worked fine for me. Is your wiki's API accessable via internet so we could check it too with an other configuration?
xqt
----- Original Nachricht ---- Von: Tom Hutchison tjhutchy96@optonline.net An: Pywikipedia discussion list pywikipedia-l@lists.wikimedia.org Datum: 19.10.2010 17:05 Betreff: Re: [Pywikipedia-l] invalid literal error
Still can't figure out what the problem is. I have seen and read everything I can find on error downloading with pywikipedia and the API. I used Autowiki Browser to check connections and I can connect, edit, delete, etc.
I went back through the log files and the bot was accessing this particular wiki no problems as of 3 weeks ago. I have changed nothing on the wiki at all as far as extensions or additional files and no one else has access to the root to do so either. It can't be an error with pywikipedia because my other wiki works just fine. So one would think API on the wiki that is failing to download data. However, Autowiki Browser works just fine so I don't think that is the problem.
Could it be in the config file(family) of the wiki? But that still wouldn't explain why it was connecting just fine 3 weeks ago and suddenly stopped.
Tom
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