[Pywikipedia-bugs] [Maniphest] [Commented On] T120222: Error installing pywikibot on Windows 10 (No handlers could be found for logger "pywiki")

2015-12-08 Thread XZise
XZise added a subscriber: XZise. XZise added a comment. Well 2.0rc3 does not have that error message and thus won't cause that failure. TASK DETAIL https://phabricator.wikimedia.org/T120222 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc:

[Pywikipedia-bugs] [Maniphest] [Commented On] T120222: Error installing pywikibot on Windows 10 (No handlers could be found for logger "pywiki")

2015-12-08 Thread Lokal_Profil
Lokal_Profil added a comment. Just got confirmed that at least one of the users used git to get the latest version of core. So whilst my problem is solved (point them to 2.0rc3) there is definitely something going on with master on windows (possibly not only 10). TASK DETAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T120222: Error installing pywikibot on Windows 10 (No handlers could be found for logger "pywiki")

2015-12-08 Thread Lokal_Profil
Lokal_Profil added a comment. Thanks. I tried a bit more and after a re-boot the above error disappears (but a lot of others appear instead). I removed the pywikibot directory, downloaded 2.0rc3, unpacked, ran `python setup.py install` and now it works. Since I didn't do the initial two

[Pywikipedia-bugs] [Maniphest] [Claimed] T104046: remove superfluous sleep between archiving each page

2015-12-08 Thread murfel
murfel added a subscriber: murfel. murfel claimed this task. murfel added a comment. For now, sleep time can be specified through a CLI option. If this option is specified, is it better to ignore it or to output a deprecation notice? Or is it better to leave the CLI option as is but change its

[Pywikipedia-bugs] [Maniphest] [Commented On] T120222: Error installing pywikibot on Windows 10 (No handlers could be found for logger "pywiki")

2015-12-08 Thread XZise
XZise added a comment. Alternatively could you maybe replace the `{1}` with `{1!r}` and check if that traceback disappears? It'll probably output the error but it would be interesting to see what the actual error message is. TASK DETAIL https://phabricator.wikimedia.org/T120222 EMAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T120222: Error installing pywikibot on Windows 10 (No handlers could be found for logger "pywiki")

2015-12-08 Thread valhallasw
valhallasw added a comment. System error code 2 / The system cannot find the file specified. This is localized, so it's 'Het systeem kan het opgegeven bestand niet vinden' in Dutch and e.g. 'Le système ne trouve pas le fichier spécifié.' in French. On Python 2, that's a str encoded in the

[Pywikipedia-bugs] [Maniphest] [Commented On] T104046: remove superfluous sleep between archiving each page

2015-12-08 Thread jayvdb
jayvdb added a comment. The archivebot doesnt currently have a sleep command line option, and I dont believe this script needs a custom command line option for sleeping. The sleep related code in archivebot can be deleted. There is a global option -put_throttle which the user can can slow down

[Pywikipedia-bugs] [Maniphest] [Updated] T120860: Install developer requirements into PAWS

2015-12-08 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T120860 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: gerritbot Cc: gerritbot, Aklapper, StudiesWorld, jayvdb, pywikibot-bugs-list, yuvipanda

[Pywikipedia-bugs] [Maniphest] [Commented On] T120860: Install developer requirements into PAWS

2015-12-08 Thread gerritbot
gerritbot added a subscriber: gerritbot. gerritbot added a comment. Change 257673 had a related patch set uploaded (by John Vandenberg): Install dev-requirements.txt into Docker image https://gerrit.wikimedia.org/r/257673 TASK DETAIL https://phabricator.wikimedia.org/T120860 EMAIL

[Pywikipedia-bugs] [Maniphest] [Created] T120860: Install developer requirements into PAWS

2015-12-08 Thread jayvdb
jayvdb created this task. jayvdb added a subscriber: jayvdb. jayvdb added projects: PAWS, pywikibot-core. Herald added subscribers: pywikibot-bugs-list, StudiesWorld, Aklapper. TASK DESCRIPTION Pywikibot includes a file `dev-requirements.txt` , which should be installed by the Docker file and

[Pywikipedia-bugs] [Maniphest] [Commented On] T120222: Error installing pywikibot on Windows 10 (No handlers could be found for logger "pywiki")

2015-12-08 Thread jayvdb
jayvdb added a subscriber: jayvdb. jayvdb added a comment. In https://phabricator.wikimedia.org/T120222#1862302, @valhallasw wrote: > System error code 2 / The system cannot find the file specified. This is > localized, so it's 'Het systeem kan het opgegeven bestand niet vinden' in > Dutch and

[Pywikipedia-bugs] [Maniphest] [Retitled] T120222: config2.py UnicodeDecodeError on Windows 10

2015-12-08 Thread jayvdb
jayvdb changed the title from "Error installing pywikibot on Windows 10 (No handlers could be found for logger "pywiki")" to "config2.py UnicodeDecodeError on Windows 10". jayvdb set Security to None. TASK DETAIL https://phabricator.wikimedia.org/T120222 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Changed Project Column] T120894: Change name of checkimages.py argument -time to be -sleep

2015-12-08 Thread jayvdb
jayvdb moved this task to Imported into GCI site on the Google-Code-In-2015 workboard. TASK DETAIL https://phabricator.wikimedia.org/T120894 WORKBOARD https://phabricator.wikimedia.org/project/board/1587/ EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Edited] T120894: Change name of checkimages.py argument -time to be -sleep

2015-12-08 Thread jayvdb
jayvdb edited the task description. jayvdb set Security to None. TASK DETAIL https://phabricator.wikimedia.org/T120894 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: murfel, jayvdb Cc: gerritbot, pywikibot-bugs-list, jayvdb, Xqt, murfel, Aklapper,

[Pywikipedia-bugs] [Maniphest] [Changed Subscribers] T120587: newitem.py should skip translatable subpages ("/en", etc.)

2015-12-08 Thread Sn1per
Sn1per added a subscriber: Sn1per. TASK DETAIL https://phabricator.wikimedia.org/T120587 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Sn1per Cc: Sn1per, jayvdb, Aklapper, StudiesWorld, Legoktm, pywikibot-bugs-list, Ricordisamoa

[Pywikipedia-bugs] [Maniphest] [Updated] T120587: newitem.py should skip translatable subpages ("/en", etc.)

2015-12-08 Thread jayvdb
jayvdb added a project: Google-Code-In-2015. jayvdb added a comment. Task created https://codein.withgoogle.com/dashboard/tasks/633467697152/ (with myself as mentor, but another mentor would be welcomed) TASK DETAIL https://phabricator.wikimedia.org/T120587 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Changed Project Column] T120587: newitem.py should skip translatable subpages ("/en", etc.)

2015-12-08 Thread jayvdb
jayvdb moved this task to Imported into GCI site on the Google-Code-In-2015 workboard. TASK DETAIL https://phabricator.wikimedia.org/T120587 WORKBOARD https://phabricator.wikimedia.org/project/board/1587/ EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Commented On] T104046: remove superfluous sleep between archiving each page

2015-12-08 Thread whym
whym added a comment. I added the -sleep option to archivebot in https://gerrit.wikimedia.org/r/#/c/222727/ in July - whether or not it should go is up to discussion. (Sorry for not linking the change here.) TASK DETAIL https://phabricator.wikimedia.org/T104046 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Created] T120894: Change name of checkimages.py argument -time to be -sleep

2015-12-08 Thread jayvdb
jayvdb created this task. jayvdb assigned this task to murfel. jayvdb added subscribers: murfel, Xqt, jayvdb, pywikibot-bugs-list. jayvdb added projects: Easy, Google-Code-In-2015. Herald added a subscriber: Aklapper. TASK DESCRIPTION `checkimages.py` has a `-time` argument, which is

[Pywikipedia-bugs] [Maniphest] [Updated] T120894: Change name of checkimages.py argument -time to be -sleep

2015-12-08 Thread jayvdb
jayvdb added a project: pywikibot-core. TASK DETAIL https://phabricator.wikimedia.org/T120894 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: murfel, jayvdb Cc: pywikibot-bugs-list, jayvdb, Xqt, murfel, Aklapper, Jay8g

[Pywikipedia-bugs] [Maniphest] [Updated] T120587: newitem.py should skip translatable subpages ("/en", etc.)

2015-12-08 Thread jayvdb
jayvdb added a subscriber: jayvdb. jayvdb added a project: Pywikibot-pagegenerators. jayvdb added a comment. I think we could safely skip all page titles containing `/` in a namespace with subpages enabled. Make a "exclude subpages" filter in pagegenerators.py and generic command line option

[Pywikipedia-bugs] [Maniphest] [Commented On] T120587: newitem.py should skip translatable subpages ("/en", etc.)

2015-12-08 Thread jayvdb
jayvdb added a comment. Maybe it could work if the command line option accepted an `int` to indicate the maximum depth of the subpages to include, with a default of `1`. Otherwise, detecting translation pages properly would certainly be a great feature. TASK DETAIL

[Pywikipedia-bugs] [Maniphest] [Closed] T112340: Page.isEmpty

2015-12-08 Thread jayvdb
jayvdb closed this task as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T112340 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: vadi, jayvdb Cc: Xqt, gerritbot, StudiesWorld, XZise, 01tonythomas, Rajdeep594, Aklapper, jayvdb,

[Pywikipedia-bugs] [Maniphest] [Commented On] T120894: Change name of checkimages.py argument -time to be -sleep

2015-12-08 Thread gerritbot
gerritbot added a subscriber: gerritbot. gerritbot added a comment. Change 257822 had a related patch set uploaded (by Murfel): Rename -time into -sleep https://gerrit.wikimedia.org/r/257822 TASK DETAIL https://phabricator.wikimedia.org/T120894 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Updated] T120894: Change name of checkimages.py argument -time to be -sleep

2015-12-08 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T120894 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: murfel, gerritbot Cc: gerritbot, pywikibot-bugs-list, jayvdb, Xqt, murfel, Aklapper, Jay8g

[Pywikipedia-bugs] [Maniphest] [Commented On] T112340: Page.isEmpty

2015-12-08 Thread gerritbot
gerritbot added a comment. Change 257367 merged by jenkins-bot: Deprecate page.isEmpty() and add function in interwiki to check for empty pages https://gerrit.wikimedia.org/r/257367 TASK DETAIL https://phabricator.wikimedia.org/T112340 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Up For Grabs] T104046: remove superfluous sleep between archiving each page

2015-12-08 Thread murfel
murfel placed this task up for grabs. murfel added a comment. jayvdb, I think there is. for v in if_arg_value(arg, '-sleep'): sleep = int(v) TASK DETAIL https://phabricator.wikimedia.org/T104046 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/