[1.0.1 ok] Button.LEFT not recognised
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Sikuli |
Critical
|
RaiMan |
Bug Description
---- fixed in 1.0.1 per Sep 2 at 20 pm gmt+1
run setup again after that time to get the fix
-------
trying to migrate to the latest version, however, the following piece of code did not work....
for region_line in sorted_regions:
name_region = Region(
name = name_region.text()
print name
temp_out = [name]
txt_region = Region(
LOG reports
[log] highlight R[78,158 200x25]@S(0)[0,0 1920x1080] E:Y, T:3.0 for 5.0 secs
EHSE
[error] script [ Weixin ] stopped with error in line 66
[error] NameError ( global name 'Button' is not defined )
[error] --- Traceback --- error source first line: module ( function ) statement 25: main ( copy_one_pyquan ) mouseDown(
[error] --- Traceback --- end --------------
The exact same code worked fine in the last version tho
summary: |
- version 1.0.1 Button.LEFT not recognised + [1.0.1] Button.LEFT not recognised --- workaround |
Changed in sikuli: | |
status: | New → Fix Committed |
importance: | Undecided → High |
assignee: | nobody → RaiMan (raimund-hocke) |
milestone: | none → 1.1.0 |
description: | updated |
Changed in sikuli: | |
importance: | High → Critical |
summary: |
- [1.0.1] Button.LEFT not recognised --- workaround + [1.0.1 ok] Button.LEFT not recognised --- workaround |
description: | updated |
RaiMan (raimund-hocke) wrote : | #2 |
Sorry, but I fixed it to behave like before.
So if you decide, to run setup again, you will get the fixed version, that does not work with LEFT, but Button.LEFT
Sorry, for the stupid recommendation.
description: | updated |
description: | updated |
summary: |
- [1.0.1 ok] Button.LEFT not recognised --- workaround + [1.0.1 ok] Button.LEFT not recognised |
using mouseDown(LEFT) seemed to work for now
thank you raiman