Ivan-r added a comment.

  I did a completely clean installation of the latest version, copying only 
family and user-config file. Here is the result:
  
    C:\Users\DragonMsi\Documents\pywikibot>cd %userprofile%/Documents/pywikibot2
    
    C:\Users\DragonMsi\Documents\pywikibot2>py -m pwb shell
    Welcome to the Pywikibot interactive shell!
    >>> site = pywikibot.Site('mcw:ru')
    >>> site.file_extensions
    Traceback (most recent call last):
      File "<console>", line 1, in <module>
      File 
"C:\Users\DragonMsi\Documents\pywikibot2\pywikibot\site\_basesite.py", line 
219, in __getattr__
        raise AttributeError(f'{type(self).__name__} instance has no '
                             f'attribute {name!r}') from None
    AttributeError: APISite instance has no attribute 'file_extensions'. Did 
you mean: 'has_extension'?
    >>>
  
  Can't the problem be on the site side?

TASK DETAIL
  https://phabricator.wikimedia.org/T417961

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to