Vladis13 created this task. Vladis13 added a project: Pywikibot-core. Herald added subscribers: pywikibot-bugs-list, Aklapper. |
TASK DESCRIPTION
When run listpages.py -mysqlquery (or call function pagegenerators.py) occurs error that not found modules "oursql" and "MySQLdb". These files no in pwb and python packages.
E.g. python scripts\listpages.py -mysqlquery:"SELECT * FROM page LIMIT 10"
Traceback (most recent call last): File "c:\python35\lib\site-packages\pywikibot-2.0rc3-py3.5.egg\pywikibot\pagegenerators.py", line 2210, in MySQLPageGenerator import oursql as mysqldb ImportError: No module named 'oursql'
During handling of the above exception, another exception occurred: Traceback (most recent call last): ... File "c:\python35\lib\site-packages\pywikibot-2.0rc3-py3.5.egg\pywikibot\pagegenerators.py", line 2212, in MySQLPageGenerator import MySQLdb as mysqldb ImportError: No module named 'MySQLdb' <class 'ImportError'>
TASK DETAIL
EMAIL PREFERENCES
To: Vladis13
Cc: Aklapper, pywikibot-bugs-list, Vladis13, Mdupont, jayvdb
Cc: Aklapper, pywikibot-bugs-list, Vladis13, Mdupont, jayvdb
_______________________________________________ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs