Xqt added a comment.
depends on config setting:
First try with empty user-config.py; the error message is on the first line
C:\pwb\GIT\core>python.exe -m unittest -v
tests.script_tests.TestScriptHelp.test
_add_text
No handlers could be found for logger "pywiki"
tests: max_retries reduced from 25 to 1
match_images depends on PIL.ImageTk, which isnt available:
No module named PIL.ImageTk
imageharvest depends on BeautifulSoup, which isnt available:
No module named BeautifulSoup
data_ingestion depends on unicodecsv, which isnt available:
No module named unicodecsv
panoramiopicker depends on BeautifulSoup, which isnt available:
No module named BeautifulSoup
script_wui depends on crontab, which isnt available:
No module named crontab
patrol depends on mwparserfromhell, which isnt available:
No module named mwparserfromhell
states_redirect depends on pycountry, which isnt available:
No module named pycountry
flickrripper depends on flickrapi, which isnt available:
No module named flickrapi
test_add_text (tests.script_tests.TestScriptHelp)
Test running add_text -help. ... FAIL
======================================================================
FAIL: test_add_text (tests.script_tests.TestScriptHelp)
Test running add_text -help.
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests\script_tests.py", line 296, in testScript
stderr_other)
AssertionError: u'Use -help for further information.' not found in [u'No
handler
s could be found for logger "pywiki"']
----------------------------------------------------------------------
Ran 1 test in 0.950s
FAILED (failures=1)
2nd try with my standard user-config.py
C:\pwb\GIT\core>python.exe -m unittest -v
tests.script_tests.TestScriptHelp.test
_add_text
tests: max_retries reduced from 25 to 1
match_images depends on PIL.ImageTk, which isnt available:
No module named PIL.ImageTk
imageharvest depends on BeautifulSoup, which isnt available:
No module named BeautifulSoup
data_ingestion depends on unicodecsv, which isnt available:
No module named unicodecsv
panoramiopicker depends on BeautifulSoup, which isnt available:
No module named BeautifulSoup
script_wui depends on crontab, which isnt available:
No module named crontab
patrol depends on mwparserfromhell, which isnt available:
No module named mwparserfromhell
states_redirect depends on pycountry, which isnt available:
No module named pycountry
flickrripper depends on flickrapi, which isnt available:
No module named flickrapi
test_add_text (tests.script_tests.TestScriptHelp)
Test running add_text -help. ... ok
----------------------------------------------------------------------
Ran 1 test in 0.971s
OK
C:\pwb\GIT\core>
TASK DETAIL
https://phabricator.wikimedia.org/T128318
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt
Cc: gerritbot, jayvdb, Lokal_Profil, Aklapper, StudiesWorld, Xqt,
pywikibot-bugs-list, Lewizho99
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs