Multichill created this task.
Multichill added projects: Pywikibot, Toolforge.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  I have been running the git version of Pywikibot on several accounts for 
Toolforge for years. This way I have an easy way to control upgrades.
  
  Due to T280806 <https://phabricator.wikimedia.org/T280806> I upgraded one of 
the accounts. I'm on the latest version now
  
  $ git pull origin master
  From https://gerrit.wikimedia.org/r/pywikibot/core
  
  - branch                master     -> FETCH_HEAD
  
  Already up to date.
  
  $git rev-parse HEAD
  2cf5b090d79cd8a27ad8c446286bc89a7f1083ff 
<https://phabricator.wikimedia.org/rPWBC2cf5b090d79cd8a27ad8c446286bc89a7f1083ff>
  
  $ git submodule update --recursive --remote
  Submodule path 'scripts/i18n': checked out 
'184a0978948d3b0a59b3c133024a87ade720a4f9 
<https://phabricator.wikimedia.org/rPWIN184a0978948d3b0a59b3c133024a87ade720a4f9>'
  
  git submodule update --recursive --remote
  
  But it crashes hard
  
  $ python3 pwb.py version.py
  
  Pywikibot is missing a MediaWiki markup parser which is necessary.
  Please update the required module with either
  
    pip install "mwparserfromhell>=0.5.0"
  
  or
  
    pip install "wikitextparser>=0.47.5"
  
  Error in atexit._run_exitfuncs:
  Traceback (most recent call last):
  
    File 
"/mnt/nfs/labstore-secondary-tools-project/geograph/pywikibot/pywikibot/comms/http.py",
 line 88, in flush
      log('Closing network session.')
    File 
"/mnt/nfs/labstore-secondary-tools-project/geograph/pywikibot/pywikibot/logging.py",
 line 193, in log
      logoutput(text, decoder, newline, VERBOSE, **kwargs)
    File 
"/mnt/nfs/labstore-secondary-tools-project/geograph/pywikibot/pywikibot/logging.py",
 line 79, in logoutput
      _init()
    File 
"/mnt/nfs/labstore-secondary-tools-project/geograph/pywikibot/pywikibot/logging.py",
 line 38, in _init
      init_routine()
    File 
"/mnt/nfs/labstore-secondary-tools-project/geograph/pywikibot/pywikibot/tools/_deprecate.py",
 line 487, in wrapper
      return obj(*new_args, **new_kwargs)
    File 
"/mnt/nfs/labstore-secondary-tools-project/geograph/pywikibot/pywikibot/bot.py",
 line 398, in init_handlers
      if pywikibot.Site.__doc__ != 'TEST':  # set by aspects.DisableSiteMixin
  
  AttributeError: module 'pywikibot' has no attribute 'Site'
  
  Two parts (probably introduced in T106763 
<https://phabricator.wikimedia.org/T106763>)
  
  - If this such an important dependency, why isn't it in Toolforge?
  - AttributeError should be resolved

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

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

To: Multichill
Cc: Legoktm, Xqt, Aklapper, pywikibot-bugs-list, Multichill, Devnull, Jyoo1011, 
JohnsonLee01, SHEKH, Dijkstra, Khutuck, Nintendofan885, Zkhalido, Viztor, 
Wenyi, skpuneethumar, Zylc, Bstorm, 1978Gage2001, Operator873, Bsandipan, 
DSquirrelGM, Chicocvenancio, Tbscho, MayS, Freddy2001, Mdupont, JJMC89, 
Dvorapa, Altostratus, Avicennasis, Luke081515, mys_721tx, Jitrixis, Gryllida, 
jayvdb, Masti, scfc, Alchimista, coren, Krenair
_______________________________________________
pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org
To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org

Reply via email to