Activity log for bug #1214789

Date Who What changed Old value New value Message
2013-08-21 09:03:15 shushang bug added bug
2013-08-22 07:55:20 RaiMan summary version 1.0.1 Button.LEFT not recognised [1.0.1] Button.LEFT not recognised --- workaround
2013-08-22 07:55:24 RaiMan sikuli: status New Fix Committed
2013-08-22 07:55:41 RaiMan sikuli: importance Undecided High
2013-08-22 07:55:47 RaiMan sikuli: assignee RaiMan (raimund-hocke)
2013-08-22 07:55:50 RaiMan sikuli: milestone 1.1.0
2013-08-22 08:02:29 RaiMan description 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(region_line.getX() + 55, region_line.getY() + 20, 200, 25) name_region.highlight(5) name = name_region.text() print name temp_out = [name] txt_region = Region(region_line.getX() + 55, region_line.getY() + 45, 50, 20) hover(txt_region) mouseDown(Button.LEFT) 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(Button.LEFT) [error] --- Traceback --- end -------------- The exact same code worked fine in the last version tho --------- workaround either insert at top of script: import org.sikuli.script.Button as Button or simply use LEFT instead of left ---------------------------------------------- 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(region_line.getX() + 55, region_line.getY() + 20, 200, 25)         name_region.highlight(5)         name = name_region.text()         print name         temp_out = [name]         txt_region = Region(region_line.getX() + 55, region_line.getY() + 45, 50, 20)         hover(txt_region)         mouseDown(Button.LEFT) 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(Button.LEFT) [error] --- Traceback --- end -------------- The exact same code worked fine in the last version tho
2013-08-24 18:12:49 RaiMan sikuli: importance High Critical
2013-08-25 17:45:26 RaiMan summary [1.0.1] Button.LEFT not recognised --- workaround [1.0.1 ok] Button.LEFT not recognised --- workaround
2013-08-25 17:45:43 RaiMan description --------- workaround either insert at top of script: import org.sikuli.script.Button as Button or simply use LEFT instead of left ---------------------------------------------- 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(region_line.getX() + 55, region_line.getY() + 20, 200, 25)         name_region.highlight(5)         name = name_region.text()         print name         temp_out = [name]         txt_region = Region(region_line.getX() + 55, region_line.getY() + 45, 50, 20)         hover(txt_region)         mouseDown(Button.LEFT) 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(Button.LEFT) [error] --- Traceback --- end -------------- The exact same code worked fine in the last version tho ----- fixed with version 1.0.1 per August 25 at 9 pm gmt+1 repeat setup after this time to get the fixed version ---------------------------------------------------------- --------- workaround either insert at top of script: import org.sikuli.script.Button as Button or simply use LEFT instead of left ---------------------------------------------- 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(region_line.getX() + 55, region_line.getY() + 20, 200, 25)         name_region.highlight(5)         name = name_region.text()         print name         temp_out = [name]         txt_region = Region(region_line.getX() + 55, region_line.getY() + 45, 50, 20)         hover(txt_region)         mouseDown(Button.LEFT) 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(Button.LEFT) [error] --- Traceback --- end -------------- The exact same code worked fine in the last version tho
2013-08-27 07:15:29 RaiMan description ----- fixed with version 1.0.1 per August 25 at 9 pm gmt+1 repeat setup after this time to get the fixed version ---------------------------------------------------------- --------- workaround either insert at top of script: import org.sikuli.script.Button as Button or simply use LEFT instead of left ---------------------------------------------- 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(region_line.getX() + 55, region_line.getY() + 20, 200, 25)         name_region.highlight(5)         name = name_region.text()         print name         temp_out = [name]         txt_region = Region(region_line.getX() + 55, region_line.getY() + 45, 50, 20)         hover(txt_region)         mouseDown(Button.LEFT) 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(Button.LEFT) [error] --- Traceback --- end -------------- The exact same code worked fine in the last version tho ----- fixed with version 1.0.1 per August 25 at 9 pm gmt+1 repeat setup after this time to get the fixed version ---------------------------------------------------------- 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(region_line.getX() + 55, region_line.getY() + 20, 200, 25)         name_region.highlight(5)         name = name_region.text()         print name         temp_out = [name]         txt_region = Region(region_line.getX() + 55, region_line.getY() + 45, 50, 20)         hover(txt_region)         mouseDown(Button.LEFT) 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(Button.LEFT) [error] --- Traceback --- end -------------- The exact same code worked fine in the last version tho
2013-09-04 07:32:54 RaiMan description ----- fixed with version 1.0.1 per August 25 at 9 pm gmt+1 repeat setup after this time to get the fixed version ---------------------------------------------------------- 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(region_line.getX() + 55, region_line.getY() + 20, 200, 25)         name_region.highlight(5)         name = name_region.text()         print name         temp_out = [name]         txt_region = Region(region_line.getX() + 55, region_line.getY() + 45, 50, 20)         hover(txt_region)         mouseDown(Button.LEFT) 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(Button.LEFT) [error] --- Traceback --- end -------------- The exact same code worked fine in the last version tho ---- 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(region_line.getX() + 55, region_line.getY() + 20, 200, 25)         name_region.highlight(5)         name = name_region.text()         print name         temp_out = [name]         txt_region = Region(region_line.getX() + 55, region_line.getY() + 45, 50, 20)         hover(txt_region)         mouseDown(Button.LEFT) 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(Button.LEFT) [error] --- Traceback --- end -------------- The exact same code worked fine in the last version tho
2013-09-04 07:33:05 RaiMan summary [1.0.1 ok] Button.LEFT not recognised --- workaround [1.0.1 ok] Button.LEFT not recognised