Hi,
I'm trying to setup a self-sufficient pywikibot-core instance from git. I've cloned the main repository, as well as i18n and spellcheck, and now I try to run a bot from the framework:
andrei@emily:~/pywikibot-core> python -V Python 2.7.3 andrei@emily:~/pywikibot-core> python replace.py -page:John_Doe -fix:isbn Configuration variable 'flickr' is defined but unknown. Misspelled? Configuration variable 'google_api_refer' is defined but unknown. Misspelled? Configuration variable 'retry_on_fail' is defined but unknown. Misspelled? Configuration variable 'use_diskcache' is defined but unknown. Misspelled? Configuration variable 'panoramio' is defined but unknown. Misspelled? ERROR: Traceback (most recent call last): File "/home/andrei/pywikibot-core/pywikibot/data/api.py", line 286, in submit body=paramstring) File "/home/andrei/pywikibot-core/pywikibot/comms/http.py", line 116, in request raise request.data AttributeError: 'dict' object has no attribute 'isgood'
WARNING: Waiting 5 seconds before retrying.
The configuration warnings are probably because I copied the user-config.py from my old pywikibot instance, but I don't think they're related to the AttributeError.
Can anyone provide some guidance?
Thanks, Strainu
2013/7/13 Amir Ladsgroup ladsgroup@gmail.com:
I just updated this and I think we should update this too but per KISS principal I want to ask something in the first link is unclear? can you do run a bot for test? or commit a patch? (of course this should be for test, real patches should be committed after 26 July) P.S. I added you Dr. Trigon in the members of the group Best
On Fri, Jul 12, 2013 at 6:22 PM, Dr. Trigon dr.trigon@surfeu.ch wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
+1
Especially the combination of the last two paragraphs. First it's complicated (and I assume will take some time) to get an account. (Despite the fact that I had to do the same for svn AND labs already.) Second you plan to inform users at the same day you switch off svn permanently. So most of the users will not be able to commit anymore and have to go through the registration first and wait for some hours/days...
Please keep also in mind that some/most of the users are volunteers with a real-world life also... ;))
Thanks for your effort and Greetings DrTrigon
On 12.07.2013 11:07, Alex Brollo wrote:
Please, don't forget the KISS principle.... I (and probabily other) am a little discouraged when reading this mail list.
:-(
Alex brollo
2013/7/12 Amir Ladsgroup <ladsgroup@gmail.com mailto:ladsgroup@gmail.com>
about the first date (6 July) It's changed and postponed [6] so don't need to do any thing for commit right now (use the old SVN way to commit)
your svn account won't work there you should make an account as It's told in [2] at first you make an account in wikitech [7] and after that you should add your public key in gerrit and wikitech [8], [9]
I planned to make some announcements but I will at the very moment of migrating (26 July)
[6]
http://www.mediawiki.org/w/index.php?title=Git/Conversion/pywikipedia&di...
[7] https://labsconsole.wikimedia.org/wiki/Special:UserLogin/signup
[8] https://gerrit.wikimedia.org/r/#/settings/ssh-keys [9] https://wikitech.wikimedia.org/wiki/Special:NovaKey
Best
On 7/11/13, Dr. Trigon <dr.trigon@surfeu.ch mailto:dr.trigon@surfeu.ch> wrote: Thanks for all your info!
please tell us your username in gerrit in order to add your name in initial +2 group
Do I need another account again or is it the same as used for svn already? This is 'drtrigon', please confer [3].
[3] http://www.mediawiki.org/wiki/Developers/Accounts
But still one question stays open; how are we supposed to commit AT THE MOMENT? Through svn, git or does it not matter at all...?! I assume it does not matter until "26 july" as written on [4].
[4] http://www.mediawiki.org/wiki/Git/Conversion/pywikipedia#Schedule
Is this the "official" date (?) since you also mentioned 6 july in [5] which confused me... What are the facts at the moment?
[5]
http://lists.wikimedia.org/pipermail/pywikipedia-l/2013-July/007935.html
Since starting form "26 july" we can use git ONLY - I think it's necessary to inform all developers about this - RIGHT NOW! I recognized this very soon change just by accident... :)
Thanks and Greetings DrTrigon
_______________________________________________ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org
mailto:Pywikipedia-l@lists.wikimedia.org
-- Amir
_______________________________________________ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org mailto: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
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iEYEARECAAYFAlHgCgEACgkQAXWvBxzBrDD1MQCeLlk8LGxMytriLQuuubmHRRoq tYAAoJq/8msWd1Tgl6L5XeMyKb0nMhmk =cvkq -----END PGP SIGNATURE-----
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
-- Amir
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l