Re: [Sikuli-driver] [Question #689500]: IOE permission denied
Question #689500 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/689500 Status: Open => Answered RaiMan proposed the following answer: - wmctrl and xdotool are missing in the container (I cannot help you with docker stuff) - [error] FindFailed ( imgBetSureBtn.png: (130x33) in R[0,0 1920x1080]@S(0) ) the image is not found on the screen -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #689500]: IOE permission denied
Question #689500 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/689500 Status: Answered => Open Nini Liao is still having a problem: Thank you for your replying. :) I fix my mistake about the path. '/dev/shm/logs/playlogs/, and then , no permission problem. As for now , i got a now problem. I run Sikuli on docker container, ( I pull uwaylu/ubuntu-sikulix2-base) This problem is : no wmctrl and no xdotool in container $ docker exec node-chrome-sikuli-one java -jar /root/SikuliX/sikulix.jar -r /dev/shm/plushie_frenzy.sikuli [error] App: command wmctrl is not executable, the App features will not work [error] App: command xdotool is not executable, the App features will not work [error] findWindow: [error] error in command [wmctrl, -lpGx] [error] switchApp: feature wmctrl: not available or not working [error] switchApp: feature wmctrl: not available or not working [error] script [ plushie_frenzy ] stopped with error in line 45 [error] FindFailed ( imgBetSureBtn.png: (130x33) in R[0,0 1920x1080]@S(0) ) [error] --- Traceback --- error source first line: module ( function ) statement 45: main ( ) click(imgBetSureBtn) [error] --- Traceback --- end -- -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #689500]: IOE permission denied
Question #689500 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/689500 Status: Open => Answered RaiMan proposed the following answer: The folder /dem/shm/logs/playlogs/ does not exist or does not have write permission for you -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
[Sikuli-driver] [Question #689500]: IOE permission denied
New question #689500 on Sikuli: https://answers.launchpad.net/sikuli/+question/689500 Hi. I'm new to sikuli; been using it for several days. Currently I'm trying to save some text to a text file, but with no success. This is the code im using. docker exec node-chrome-sikuli-one java -jar /root/SikuliX/sikuli.jar -r /dev/shm/plushie_frenzy.sikuli [error] script [ plushie_frenzy ] stopped with error in line 12 [error] IOError ( (13, 'Permission denied', '/dem/shm/logs/playlogs/pgs_slot_plushie_frenzy_20200326.txt') ) [error] --- Traceback --- error source first line: module ( function ) statement 12: main ( ) playDiary = open(diaryPlay + "/pgs_slot_plushie_frenzy_" + today + ".txt", 'a') [error] --- Traceback --- end - Could anyone shed some light for me? I'm quite new. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp