[Sikuli-driver] [Bug 1859886] [NEW] Shift-Alt-C doesn't terminate script when working with images

2020-01-15 Thread Artem Koval
Public bug reported:

2.0.1-2019-11-22_16:54/Windows10.0/Java8(64)1.8.0_231-b11

STEPS TO REPRODUCE:
1. In Sikuli type:
wait(image, FOREVER)
2. Run script
3. Press Shift-Alt-C

EXPECTED RESULT:
Script is terminated.

ACTUAL RESULT:
Nothing happens.

ADDITIONAL INFO:
The combination works when no image is involved. For example:
wait(Forever), Input(' '), etc.

** Affects: sikuli
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1859886

Title:
  Shift-Alt-C doesn't terminate script when working with images

Status in Sikuli:
  New

Bug description:
  2.0.1-2019-11-22_16:54/Windows10.0/Java8(64)1.8.0_231-b11

  STEPS TO REPRODUCE:
  1. In Sikuli type:
  wait(image, FOREVER)
  2. Run script
  3. Press Shift-Alt-C

  EXPECTED RESULT:
  Script is terminated.

  ACTUAL RESULT:
  Nothing happens.

  ADDITIONAL INFO:
  The combination works when no image is involved. For example:
  wait(Forever), Input(' '), etc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1859886/+subscriptions

___
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 #688410]: Timeout popups do not work in version 2

2020-02-01 Thread Artem Koval
New question #688410 on Sikuli:
https://answers.launchpad.net/sikuli/+question/688410

This script from docs is working in 1.1.3:
result = Do.popup("autoclosed after 3 seconds", 3)

However, popup is not closing when doing the same in 2.0.2. Did anything change 
in new version?

-- 
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 #688817]: Sikuli always sees App class as 'isRunning' == True

2020-02-16 Thread Artem Koval
New question #688817 on Sikuli:
https://answers.launchpad.net/sikuli/+question/688817

System: Win 10, Sikuli 2.0.1

I have issues with isRunning() check. For example when using this code:
myApp=App('full-path-to-executable)
if myApp.isrunning() == True:
print 'App found'
else:
print 'App not found'

It works correctly most of the time, but it is not reliable. If I work some 
time with my application, quit and check whether it is present in Task 
Manager's processes, then the code instantly returns that the app is 
found/running.  And the only thing I can do is to perform a system restart.

What can be causing this and how can I prevent this? As a workaround I 
currently use hasWindow().

-- 
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 #688817]: Sikuli always sees App class as 'isRunning' == True

2020-02-16 Thread Artem Koval
Question #688817 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/688817

Description changed to:
System: Win 10, Sikuli 2.0.1

I have issues with isRunning() check. For example when using this code:
myApp=App('full-path-to-executable)
if myApp.isrunning() == True:
print 'App found'
else:
print 'App not found'

It works correctly most of the time, but it is not reliable. If I work
some time with my application, quit and check whether it is present in
Task Manager's processes, then the code instantly returns that the app
is found/running.  And the only thing I can do is to perform a system
restart.

What can be causing this and how can I prevent this? Any workaround I
can use?

-- 
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 #688817]: Sikuli always sees App class as 'isRunning' == True

2020-02-16 Thread Artem Koval
Question #688817 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/688817

Description changed to:
System: Win 10, Sikuli 2.0.1

I have issues with isRunning() check. For example when using this code:
myApp=App('full-path-to-executable)
if myApp.isrunning() == True:
print 'App found'
else:
print 'App not found'

It works correctly most of the time, but it is not reliable. If I work
some time with my application, quit and check whether it is present in
Task Manager's processes, then the code instantly returns that the app
is found/running.  And the only thing I can do is to perform a system
restart.

What can be causing this and how can I prevent this? As a workaround I
currently use App.focus() + hasWindow()

-- 
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 #688817]: Sikuli often sees App class as isRunning == True

2020-02-16 Thread Artem Koval
Question #688817 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/688817

Summary changed to:
Sikuli often sees App class as isRunning == True

-- 
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 #688817]: Sikuli often sees App class as isRunning == True

2020-02-16 Thread Artem Koval
Question #688817 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/688817

Description changed to:
System: Win 10, Sikuli 2.0.1

I have issues with isRunning() check. For example when using this code:
myApp=App('full-path-to-executable)
if myApp.isRunning() == True:
print 'App found'
else:
print 'App not found'

It works correctly most of the time, but it is not reliable. If I work
some time with my application, quit and check whether it is present in
Task Manager's processes, then the code instantly returns that the app
is found/running.  And the only thing I can do is to perform a system
restart.

What can be causing this and how can I prevent this? As a workaround I
currently use App.focus() + hasWindow()

-- 
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 #689865]: Cannot open file that is located on different volume via subprocess.Popen

2020-04-13 Thread Artem Koval
New question #689865 on Sikuli:
https://answers.launchpad.net/sikuli/+question/689865

I'm using sikili 1.1.3 on Mac and 2.0.1 on PC. Launching them both as admin and 
have full access on my folders on another volumes. Yet when I try to execute 
any file, say, subprocess.Popen ('/Volumes/Work/pic.png') I receive error:

"Cannot run program '/Volumes/Work/pic.png' (in directory '/Users/User'): 
error=13, Permission denied."

Is this a Sikuli limitation or is there something wrong with my permissions?

-- 
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 #691199]: Subprocess.Popen cannot launch specific files

2020-06-07 Thread Artem Koval
New question #691199 on Sikuli:
https://answers.launchpad.net/sikuli/+question/691199

Hello. This may not be a Sikuli specific question, but I'd really appreciate 
your input. I'm trying to open a file with specific application and for some 
reason files that start with 'p' do not open.  For example:

import subprocess
app = 'C:/Program Files/Application/App.exe'
file = 'C:/test/p.qwe'
subprocess.Popen([ftm, file])

And nothing happens. If I rename the file in Explorer (add any character before 
'p') then it opens successfully. If, instead of my application, I use 
'notepad.exe' everything works fine too.  I am completely puzzled.



-- 
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 #691199]: Subprocess.Popen cannot launch specific files

2020-06-07 Thread Artem Koval
Question #691199 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/691199

Status: Open => Solved

Artem Koval confirmed that the question is solved:
Sorry, I think the issue was in slashes. Works after replacing them with
'\\'. Funny how it doesn't want to work with '/' and 'p'.

-- 
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 #691199]: Windows: Jython: Subprocess.Popen does not accept / in some cases

2020-06-08 Thread Artem Koval
Question #691199 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/691199

Artem Koval posted a new comment:
Sikuli ver - 2.0.1
Java - 8 (251)

I just tested it in PyCrharm Python IDE and got the same results.

-- 
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 #696053]: new to sikuli mac 2.0.5 NameError: name 'click' is not defined

2021-06-03 Thread Artem Koval
Question #696053 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/696053

Artem Koval posted a new comment:
Try removing Terminal from Security & Privacy > Privacy and adding it
back again. This fixed it for me.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.

___
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