Page MenuHomePhabricator

Cannot run l10n_tests locally
Open, LowestPublic


C:\pwb\GIT\core>py -3 l10n_tests -v
tests: max_retries reduced from 15 to 1
Traceback (most recent call last):
  File "", line 367, in <module>
    if not main():
  File "", line 359, in main
  File "", line 100, in run_python_file
    exec(compile(source, filename, 'exec', dont_inherit=True),
  File ".\tests\", line 89, in <module>
    class TestValidTemplate(TestCase):
  File "C:\pwb\GIT\core\tests\", line 76, in add_metaclass
    return six.add_metaclass(cls.__metaclass__)(cls)
  File "C:\Python38\lib\site-packages\", line 849, in wrapper
    return metaclass(cls.__name__, cls.__bases__, orig_vars)
  File ".\tests\", line 75, in __new__
    keys = i18n.twget_keys(package)
  File "C:\pwb\GIT\core\pywikibot\", line 829, in twget_keys
    mod = __import__(_messages_package_name, fromlist=[str('__file__')])
ModuleNotFoundError: No module named 'scripts'
CRITICAL: Exiting due to uncaught exception <class 'ModuleNotFoundError'>


Event Timeline

Xqt created this task.Mar 25 2020, 7:24 AM
Restricted Application added a project: Pywikibot. · View Herald TranscriptMar 25 2020, 7:24 AM
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. · View Herald Transcript
Xqt triaged this task as Lowest priority.Mar 25 2020, 7:24 AM