Skip to content

using DebugLibrary tries to import Tkinter #12

@boakley

Description

@boakley

If you're running pybot with something other than cpython (or a version of cpython that doesn't have Tkinter installed), trying to use DebugLibrary yields this result:

[ ERROR ] Error in file 'c:\whatever\example.txt' in table 'Settings': Importing test library 'rwb.DebugLibrary' failed: ImportError: No module named Tkinter

Likewise, trying to use socket_listener gives the same sort of problem.

This is caused by some poorly defined modules that import other things that use Tkinter, even if those other things are never instantiated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions