← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #254399]: unittest and pycharm debugging

 

Question #254399 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/254399

    Status: Answered => Open

rod is still having a problem:

I installed Jython 2.7 beta3 and used unittest (built-in) but I got the same error message : 

Traceback (most recent call last):
  File "C:\Program Files (x86)\JetBrains\PyCharm Community Edition 3.4.1\helpers\pydev\pydevd.py", line 1733, in <module>
    debugger.run(setup['file'], None, None)
  File "C:\Program Files (x86)\JetBrains\PyCharm Community Edition 3.4.1\helpers\pydev\pydevd.py", line 1226, in run
    pydev_imports.execfile(file, globals, locals)  # execute the script
  File "C:/POC/test.sikuli/test.py", line 37, in <module>
    unittest.main(defaultTest='suite', exit=False, verbosity=2)
  File "C:\jython2.7b3\Lib\unittest\main.py", line 77, in __init__
    self.module = __import__(module)
ImportError: No module named __main__

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.