Coder Social home page Coder Social logo

Comments (3)

CirnoT avatar CirnoT commented on May 18, 2024

Please do note that this will now not work without DISPLAY when not in TTY. script can be used to go around this: /usr/bin/script -qfc "/usr/bin/python /opt/py-kms/pykms_Server.py -V DEBUG -F /var/log/py-kms_server.log" /dev/null

May 15 11:17:56 mio python[4385]: Traceback (most recent call last):
May 15 11:17:56 mio python[4385]:   File "/opt/py-kms/pykms_Server.py", line 266, in <module>
May 15 11:17:56 mio python[4385]:     srv_main_with_gui()
May 15 11:17:56 mio python[4385]:   File "/opt/py-kms/pykms_Server.py", line 197, in srv_main_with_gui
May 15 11:17:56 mio python[4385]:     root = pykms_GuiBase.KmsGui()
May 15 11:17:56 mio python[4385]:   File "/opt/py-kms/pykms_GuiBase.py", line 77, in __init__
May 15 11:17:56 mio python[4385]:     tk.Tk.__init__(self, *args, **kwargs)
May 15 11:17:56 mio python[4385]:   File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1823, in __init__
May 15 11:17:56 mio python[4385]:     self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
May 15 11:17:56 mio python[4385]: _tkinter.TclError: no display name and no $DISPLAY environment variable

from py-kms.

SystemRage avatar SystemRage commented on May 18, 2024

@roadrage999
try now, bypassed that import.

from py-kms.

roadrage999 avatar roadrage999 commented on May 18, 2024

removed python3-tk package and did a fresh pull, everything working as it did previously on a debian install

from py-kms.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.