[Bug 1539132] Re: Sikuli-IDE gives Python error on script execution
the apt package you are using is based on Sikuli1.0Xrc3, which is no longer supported. Since it always has been a special situation with Sikuli(X) on Linux, you have to either live with the problem or try with the latest version: http://www.sikulix.com/specials/files/tag-linux.html ** Changed in: sikuli Status: New => Won't Fix ** Changed in: sikuli Assignee: (unassigned) => RaiMan (raimund-hocke) ** Summary changed: - Sikuli-IDE gives Python error on script execution + Sikuli-IDE 1.0X-rc3: gives Python error on script execution --- no longer supported - use SikuliX 1.1.x+ ** Summary changed: - Sikuli-IDE 1.0X-rc3: gives Python error on script execution --- no longer supported - use SikuliX 1.1.x+ + Linux: Sikuli-IDE 1.0X-rc3: gives Python error on script execution --- no longer supported - use SikuliX 1.1.x+ ** Changed in: sikuli Assignee: RaiMan (raimund-hocke) => (unassigned) ** Changed in: sikuli Assignee: (unassigned) => RaiMan (raimund-hocke) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1539132 Title: Linux: Sikuli-IDE 1.0X-rc3: gives Python error on script execution --- no longer supported - use SikuliX 1.1.x+ To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1539132/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1539132] Re: Sikuli-IDE gives Python error on script execution
Hi! as it's late in the night and I'm not into jython - I just blindly "dedented" all affected files: -- as root in a bash I ran for file in /usr/share/sikuli/Lib/sikuli/{Env.py,Helper.py,Region.py,Screen.py} /usr/share/jython/Lib/{codecs.py,copy_reg.py,dis.py,encodings/latin_1.py,encodings/utf_8.py,inspect.py,linecache.py,os.py,re.py,sre_compile.py,sre_constants.py,sre_parse.py,string.py,token.py,tokenize.py}; do echo "print(\"FORCE DEDENT IN ${file}\")" >> ${file}; done --- note this is one line :) This just appens a print("something") as the last line without spaces upfront to all files which sikuli complained about on by ubuntu installation. This fixed the problem somehow... - now I just get this when I run sikuli [info] Sikuli vision engine loaded. FORCE DEDENT IN /usr/share/jython/Lib/codecs.py FORCE DEDENT IN /usr/share/jython/Lib/encodings/latin_1.py FORCE DEDENT IN /usr/share/jython/Lib/os.py FORCE DEDENT IN /usr/share/jython/Lib/sre_constants.py FORCE DEDENT IN /usr/share/jython/Lib/sre_compile.py FORCE DEDENT IN /usr/share/jython/Lib/sre_parse.py FORCE DEDENT IN /usr/share/jython/Lib/copy_reg.py FORCE DEDENT IN /usr/share/jython/Lib/re.py FORCE DEDENT IN /usr/share/jython/Lib/string.py FORCE DEDENT IN /usr/share/jython/Lib/dis.py FORCE DEDENT IN /usr/share/jython/Lib/token.py FORCE DEDENT IN /usr/share/jython/Lib/tokenize.py FORCE DEDENT IN /usr/share/jython/Lib/linecache.py FORCE DEDENT IN /usr/share/jython/Lib/inspect.py FORCE DEDENT IN /usr/share/sikuli/Lib/sikuli/Region.py FORCE DEDENT IN /usr/share/sikuli/Lib/sikuli/Screen.py [info] VDictProxy loaded. FORCE DEDENT IN /usr/share/sikuli/Lib/sikuli/Helper.py FORCE DEDENT IN /usr/share/sikuli/Lib/sikuli/Env.py FORCE DEDENT IN /usr/share/jython/Lib/encodings/utf_8.py - but it works when I just ignore this output ;) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1539132 Title: Sikuli-IDE gives Python error on script execution To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1539132/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1539132] Re: Sikuli-IDE gives Python error on script execution
same problem in Ubuntu 16.04.1 LTS $ apt show sikuli-ide Package: sikuli-ide Version: 1.0~x~rc3.tesseract3-dfsg1-12build3 Priority: extra Section: universe/java Source: sikuli Origin: Ubuntu Maintainer: Ubuntu Developers -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1539132 Title: Sikuli-IDE gives Python error on script execution To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1539132/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1539132] Re: Sikuli-IDE gives Python error on script execution
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: ubuntu Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1539132 Title: Sikuli-IDE gives Python error on script execution To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1539132/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1539132] Re: Sikuli-IDE gives Python error on script execution
** Also affects: ubuntu Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1539132 Title: Sikuli-IDE gives Python error on script execution To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1539132/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs