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

TASK DESCRIPTION
  Tkinter was installed with gerrit:1079612 
<https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1079612> and gui tests where 
activated with gerrit:1079616 
<https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1079616>. Now gui_tests 
fails.
  
    ERROR: test_tk_dialog (tests.gui_tests.TestTkdialog)
    Test Tk dialog.
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "/home/runner/work/pywikibot/pywikibot/tests/gui_tests.py", line 29, 
in test_tk_dialog
        box = Tkdialog(desc, image, filename)
      File 
"/home/runner/work/pywikibot/pywikibot/pywikibot/userinterfaces/gui.py", line 
469, in __init__
        self.root = tkinter.Tk()
      File 
"/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/tkinter/__init__.py", 
line 2023, in __init__
        self.tk = _tkinter.create(screenName, baseName, className, interactive, 
wantobjects, useTk, sync, use)
    _tkinter.TclError: no display name and no $DISPLAY environment variable
    
    ======================================================================
    ERROR: test_tkinter (tests.gui_tests.TestTkinter)
    Test Tkinter window.
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "/home/runner/work/pywikibot/pywikibot/tests/gui_tests.py", line 46, 
in test_tkinter
        root = tkinter.Tk()
      File 
"/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/tkinter/__init__.py", 
line 2023, in __init__
        self.tk = _tkinter.create(screenName, baseName, className, interactive, 
wantobjects, useTk, sync, use)
    _tkinter.TclError: no display name and no $DISPLAY environment variable
    
    ----------------------------------------------------------------------

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

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

To: Xqt
Cc: Aklapper, Xqt, pywikibot-bugs-list, mevo, PotsdamLamb, Jyoo1011, 
JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Aram, Viztor, Wenyi, Tbscho, 
MayS, Mdupont, JJMC89, Dvorapa, Altostratus, binbot, Avicennasis, mys_721tx, 
jayvdb, Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to