Ezbot 스크린샷 촬영 시 "GDI+ 일반 오류가 발생했습니다."라는 오류가 발생합니다.



  • 환경정보

    1. 사용 중인 툴 정보
      Ezbot ibizbot 4.12.7.20200406 (64bit)
      Ezbot manager 4.12.7.20200406 (64bit)
    2. PC 환경 정보
      Windows 10 64bit / 8GB

    이슈내용

    1. 설명 : 스크립트 작동 결과 로그 생성을 위해 csv 파일에 기록을 하고, 스크린샷을 찍는 노드를 참조하여 실행하였습니다. 처음 실행했을 때는 아무 이상없이 잘 작동을 했는데, ezbot manager에서 스크립트를 실행하고 나서부터 ezbot에서도 오류가 지속적으로 발생하고 있습니다. 스크린샷을 찍는 액티비티인 'RegionToClipBoard , ExternalException, GDI+에서 일반 오류가 발생했습니다.' 라는 오류가 발생하는데, 해당 액티비티를 제외하고 실행을 해보니 다른 스크린샷 촬영은 정상적으로 작동을 합니다. 원인을 '권한 접근의 오류'와 '메모리 문제' 크게 2가지로 생각해보았는데, 어떤 것이 문제이며 해결방법은 무엇인지 궁금하여 문의 드립니다.

    2. 이슈 발생 이미지 :
      gdi.jpg

    3. 로그 정보

    GDI+ 오류 발생

    해당 위치 이동하기

    2020-08-06 10:18:00,047 [Win32ExecuteThread] INFO Execution Name: 840B7107BE79105BAFA51883ED6595B4
    2020-08-06 10:18:01,738 [Win32ExecuteThread] INFO >>>> Window(s) found in 47 ms
    2020-08-06 10:18:01,850 [Win32ExecuteThread] INFO >>>> Element found in 156 ms
    2020-08-06 10:18:02,084 [Win32ExecuteThread] INFO mouseLeftButtonDoubleClick: x=963, y=501, USB=False, INT=50, UsingBlockingSleep=False
    2020-08-06 10:18:02,159 [Win32ExecuteThread] INFO DoubleClick Interval : 50
    2020-08-06 10:18:03,578 [Win32ExecuteThread] INFO Write: method=
    2020-08-06 10:18:04,762 [Win32ExecuteThread] INFO Write: method=
    2020-08-06 10:18:08,518 [Win32ExecuteThread] INFO Write: method=
    2020-08-06 10:18:12,967 [Win32ExecuteThread] INFO >>>>s=1.000, t=0.750, r={X=1024,Y=603,Width=86,Height=13}, filter=default
    2020-08-06 10:18:12,967 [Win32ExecuteThread] INFO >>>>FindImage: 16 ms elapsed
    2020-08-06 10:18:12,971 [Win32ExecuteThread] INFO mouseLeftButtonClick: x=980, y=611, USB=False
    2020-08-06 10:18:13,519 [Win32ExecuteThread] INFO Write: method=
    2020-08-06 10:18:15,338 [Win32ExecuteThread] INFO >>>>Try Find Window(s): 968 ms elapsed
    2020-08-06 10:18:15,542 [Win32ExecuteThread] INFO >>>> Window(s) found in 1171 ms
    2020-08-06 10:18:16,894 [Win32ExecuteThread] INFO >>>> Element found in 2531 ms
    2020-08-06 10:18:17,132 [Win32ExecuteThread] INFO mouseLeftButtonClick: x=931, y=478, USB=False
    2020-08-06 10:18:18,075 [Win32ExecuteThread] INFO Write: method=
    2020-08-06 10:18:19,001 [Win32ExecuteThread] INFO >>>> Window(s) found in 234 ms
    2020-08-06 10:18:19,908 [Win32ExecuteThread] INFO >>>> Element found in 1140 ms
    2020-08-06 10:18:25,021 [Win32ExecuteThread] INFO mouseLeftButtonClick: x=1005, y=471, USB=False
    2020-08-06 10:18:25,566 [Win32ExecuteThread] INFO Write: method=
    2020-08-06 10:18:26,196 [Win32ExecuteThread] INFO >>>>Try Find Object: 94 ms elapsed
    2020-08-06 10:18:26,793 [Win32ExecuteThread] INFO >>>> Element Found in 687 ms
    2020-08-06 10:18:30,804 [Win32ExecuteThread] INFO >>>>s=1.000, t=0.750, r={X=405,Y=299,Width=26,Height=30}, filter=default
    2020-08-06 10:18:30,804 [Win32ExecuteThread] INFO >>>>FindImage: 0 ms elapsed
    2020-08-06 10:18:30,823 [Win32ExecuteThread] INFO mouseLeftButtonClick: x=458, y=312, USB=False
    2020-08-06 10:18:31,679 [Win32ExecuteThread] INFO Write: method=
    2020-08-06 10:18:33,314 [Win32ExecuteThread] INFO >>>>s=1.000, t=0.750, r={X=645,Y=298,Width=14,Height=29}, filter=default
    2020-08-06 10:18:33,315 [Win32ExecuteThread] INFO >>>>FindImage: 0 ms elapsed
    2020-08-06 10:18:33,855 [Win32ExecuteThread] INFO Write: method=
    2020-08-06 10:18:34,380 [Win32ExecuteThread] INFO >>>>s=1.000, t=0.750, r={X=756,Y=304,Width=9,Height=17}, filter=default
    2020-08-06 10:18:34,380 [Win32ExecuteThread] INFO >>>>FindImage: 0 ms elapsed
    2020-08-06 10:18:34,388 [Win32ExecuteThread] INFO mouseLeftButtonClick: x=799, y=314, USB=False
    2020-08-06 10:18:34,934 [Win32ExecuteThread] INFO Write: method=
    2020-08-06 10:18:35,993 [Win32ExecuteThread] INFO Write: method=
    2020-08-06 10:18:41,436 [Win32ExecuteThread] INFO >>>>s=1.000, t=0.750, r={X=432,Y=304,Width=80,Height=16}, filter=default
    2020-08-06 10:18:41,436 [Win32ExecuteThread] INFO >>>>FindImage: 16 ms elapsed
    2020-08-06 10:18:41,440 [Win32ExecuteThread] INFO mouseLeftButtonClick: x=467, y=275, USB=False
    2020-08-06 10:18:43,685 [Win32ExecuteThread] INFO >>>>Try Find Window: 2188 ms elapsed
    2020-08-06 10:18:46,267 [Win32ExecuteThread] INFO >>>>Try Find Window: 4766 ms elapsed
    2020-08-06 10:18:47,738 [Win32ExecuteThread] INFO >>>> Window Found in 6235 ms
    2020-08-06 10:18:48,709 [Win32ExecuteThread] INFO Write: method=
    2020-08-06 10:18:49,863 [Win32ExecuteThread] INFO >>>>Try Find Object: 1000 ms elapsed
    2020-08-06 10:18:51,099 [Win32ExecuteThread] INFO >>>> Element Found in 2234 ms
    2020-08-06 10:18:51,268 [Win32ExecuteThread] INFO >>>>s=0.999, t=0.750, r={X=29,Y=4,Width=105,Height=17}, filter=default
    2020-08-06 10:18:51,268 [Win32ExecuteThread] INFO >>>>FindImage: 0 ms elapsed
    2020-08-06 10:18:51,803 [Win32ExecuteThread] INFO Write: method=
    2020-08-06 10:18:53,725 [Win32ExecuteThread] INFO >>>>s=0.967, t=0.750, r={X=47,Y=388,Width=77,Height=32}, filter=default
    2020-08-06 10:18:53,725 [Win32ExecuteThread] INFO >>>>FindImage: 250 ms elapsed
    2020-08-06 10:18:53,728 [Win32ExecuteThread] INFO mouseLeftButtonClick: x=279, y=405, USB=False
    2020-08-06 10:18:54,421 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-06 10:18:54,950 [Win32ExecuteThread] INFO >>>>s=0.967, t=0.750, r={X=41,Y=390,Width=87,Height=28}, filter=default
    2020-08-06 10:18:54,951 [Win32ExecuteThread] INFO >>>>FindImage: 250 ms elapsed
    2020-08-06 10:18:54,956 [Win32ExecuteThread] INFO mouseLeftButtonClick: x=204, y=407, USB=False
    2020-08-06 10:18:55,493 [Win32ExecuteThread] INFO Write: method=
    2020-08-06 10:19:07,991 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-06 10:19:08,816 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-06 10:19:10,859 [Win32ExecuteThread] INFO >>>>s=0.945, t=0.750, r={X=18,Y=624,Width=64,Height=29}, filter=default
    2020-08-06 10:19:10,860 [Win32ExecuteThread] INFO >>>>FindImage: 235 ms elapsed
    2020-08-06 10:19:10,862 [Win32ExecuteThread] INFO mouseLeftButtonClick: x=164, y=640, USB=False
    2020-08-06 10:19:11,614 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-06 10:19:13,732 [Win32ExecuteThread] INFO >>>>s=1.000, t=0.750, r={X=81,Y=630,Width=34,Height=25}, filter=default
    2020-08-06 10:19:13,733 [Win32ExecuteThread] INFO >>>>FindImage: 250 ms elapsed
    2020-08-06 10:19:13,735 [Win32ExecuteThread] INFO mouseLeftButtonClick: x=171, y=674, USB=False
    2020-08-06 10:19:14,438 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-06 10:19:17,081 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-06 10:19:19,765 [Win32ExecuteThread] INFO >>>>s=1.000, t=0.750, r={X=449,Y=214,Width=74,Height=16}, filter=default
    2020-08-06 10:19:19,766 [Win32ExecuteThread] INFO >>>>FindImage: 235 ms elapsed
    2020-08-06 10:19:19,771 [Win32ExecuteThread] INFO mouseLeftButtonClick: x=547, y=219, USB=False
    2020-08-06 10:19:20,302 [Win32ExecuteThread] INFO Write: method=
    2020-08-06 10:19:22,208 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-06 10:19:23,032 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-06 10:19:25,426 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-06 10:19:27,411 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-06 10:19:28,659 [Win32ExecuteThread] INFO >>>>s=1.000, t=0.750, r={X=878,Y=214,Width=75,Height=15}, filter=default
    2020-08-06 10:19:28,659 [Win32ExecuteThread] INFO >>>>FindImage: 343 ms elapsed
    2020-08-06 10:19:28,664 [Win32ExecuteThread] INFO mouseLeftButtonClick: x=921, y=243, USB=False
    2020-08-06 10:19:29,193 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-06 10:19:31,247 [Win32ExecuteThread] INFO Write: method={SendInput}
    2020-08-06 10:19:31,247 [Win32ExecuteThread] INFO SendInput==> ({LeftCtrl}C){LeftShift}
    2020-08-06 10:19:33,241 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-06 10:19:34,147 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-06 10:19:34,975 [Win32ExecuteThread] INFO Write: method=
    2020-08-06 10:19:35,771 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-06 10:19:36,714 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-06 10:19:37,583 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-06 10:19:38,413 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-06 10:19:39,432 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-06 10:19:41,495 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-06 10:19:42,689 [Win32ExecuteThread] INFO >>>>s=1.000, t=0.750, r={X=878,Y=214,Width=75,Height=15}, filter=default
    2020-08-06 10:19:42,690 [Win32ExecuteThread] INFO >>>>FindImage: 344 ms elapsed
    2020-08-06 10:19:42,695 [Win32ExecuteThread] INFO mouseLeftButtonClick: x=921, y=243, USB=False
    2020-08-06 10:19:43,222 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-06 10:19:45,181 [Win32ExecuteThread] INFO Write: method={SendInput}
    2020-08-06 10:19:45,182 [Win32ExecuteThread] INFO SendInput==> ({LeftCtrl}C){LeftShift}
    2020-08-06 10:19:47,180 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-06 10:19:48,036 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-06 10:19:48,891 [Win32ExecuteThread] INFO Write: method=
    2020-08-06 10:19:50,773 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-06 10:19:51,644 [Win32ExecuteThread] INFO Write: method=SendKeys

    오류발생

    2020-08-06 10:19:52,505 [Win32ExecuteThread] INFO Write: method=
    2020-08-06 10:19:55,818 [Win32ExecuteThread] ERROR RegionToClipboard, bfjgbibjdfcbd01e1, ExternalException, GDI+에서 일반 오류가 발생했습니다., 오전 10:19:55, D0100
    2020-08-06 10:19:55,835 [Win32ExecuteThread] ERROR System.Runtime.InteropServices.ExternalException (0x80004005): GDI+에서 일반 오류가 발생했습니다.
    위치: System.Drawing.Image.Save(String filename, ImageCodecInfo encoder, EncoderParameters encoderParams)
    위치: TestOne.Executor.Win32Instructions.RegionToClipboard.SaveToFile(Bitmap aBmp)
    위치: TestOne.Executor.Win32Instructions.RegionToClipboard.RunCBStepBase()

    2020-08-06 10:19:55,858 [Win32ExecuteThread] INFO Done​

    정상 작동

    해당 위치 이동하기

    [BEGIN LOGGING AT 2020-08-04 14:06:52,140]
    2020-08-04 14:06:52,844 [main] INFO OSVersion : Windows 10 Pro (64bit) / Screen : 1920 x 1080, Color : 32bit
    2020-08-04 14:06:52,844 [main] INFO Program: ezbot, Build: 4.12.7.20200406 (64bit)
    2020-08-04 14:11:21,939 [Win32ExecuteThread] INFO Execution Name: 453F9EDD77960DA5BC1177722233705E
    2020-08-04 14:11:29,094 [Win32ExecuteThread] INFO >>>> Window(s) found in 141 ms
    2020-08-04 14:11:29,172 [Win32ExecuteThread] INFO >>>> Element found in 219 ms
    2020-08-04 14:11:29,391 [Win32ExecuteThread] INFO mouseLeftButtonDoubleClick: x=963, y=501, USB=False, INT=50, UsingBlockingSleep=False
    2020-08-04 14:11:29,469 [Win32ExecuteThread] INFO DoubleClick Interval : 61
    2020-08-04 14:11:30,862 [Win32ExecuteThread] INFO Write: method=
    2020-08-04 14:11:31,612 [Win32ExecuteThread] INFO Write: method=
    2020-08-04 14:11:35,127 [Win32ExecuteThread] INFO Write: method=
    2020-08-04 14:11:40,034 [Win32ExecuteThread] INFO >>>>s=1.000, t=0.750, r={X=1024,Y=603,Width=86,Height=13}, filter=default
    2020-08-04 14:11:40,034 [Win32ExecuteThread] INFO >>>>FindImage: 593 ms elapsed
    2020-08-04 14:11:40,066 [Win32ExecuteThread] INFO mouseLeftButtonClick: x=980, y=611, USB=False
    2020-08-04 14:11:40,667 [Win32ExecuteThread] INFO Write: method=
    2020-08-04 14:11:41,948 [Win32ExecuteThread] INFO >>>>Try Find Window(s): 516 ms elapsed
    2020-08-04 14:11:42,026 [Win32ExecuteThread] INFO >>>> Window(s) found in 594 ms
    2020-08-04 14:11:42,964 [Win32ExecuteThread] INFO >>>>Try Find Object: 1531 ms elapsed
    2020-08-04 14:11:43,417 [Win32ExecuteThread] INFO >>>> Element found in 1984 ms
    2020-08-04 14:11:43,573 [Win32ExecuteThread] INFO mouseLeftButtonClick: x=931, y=478, USB=False
    2020-08-04 14:11:44,541 [Win32ExecuteThread] INFO Write: method=
    2020-08-04 14:11:45,244 [Win32ExecuteThread] INFO >>>> Window(s) found in 94 ms
    2020-08-04 14:11:45,510 [Win32ExecuteThread] INFO >>>> Element found in 359 ms
    2020-08-04 14:11:48,400 [Win32ExecuteThread] INFO mouseLeftButtonClick: x=1005, y=471, USB=False
    2020-08-04 14:11:49,010 [Win32ExecuteThread] INFO Write: method=
    2020-08-04 14:11:49,998 [Win32ExecuteThread] INFO >>>> Window(s) found in 15 ms
    2020-08-04 14:11:50,123 [Win32ExecuteThread] INFO >>>> Element found in 140 ms
    2020-08-04 14:11:52,975 [Win32ExecuteThread] INFO >>>>s=1.000, t=0.750, r={X=405,Y=299,Width=26,Height=30}, filter=default
    2020-08-04 14:11:52,975 [Win32ExecuteThread] INFO >>>>FindImage: 0 ms elapsed
    2020-08-04 14:11:52,975 [Win32ExecuteThread] INFO mouseLeftButtonClick: x=458, y=312, USB=False
    2020-08-04 14:11:53,725 [Win32ExecuteThread] INFO Write: method=
    2020-08-04 14:11:55,307 [Win32ExecuteThread] INFO >>>>s=1.000, t=0.750, r={X=645,Y=298,Width=14,Height=29}, filter=default
    2020-08-04 14:11:55,307 [Win32ExecuteThread] INFO >>>>FindImage: 16 ms elapsed
    2020-08-04 14:11:55,916 [Win32ExecuteThread] INFO Write: method=
    2020-08-04 14:11:56,338 [Win32ExecuteThread] INFO >>>>s=1.000, t=0.750, r={X=756,Y=304,Width=9,Height=17}, filter=default
    2020-08-04 14:11:56,338 [Win32ExecuteThread] INFO >>>>FindImage: 0 ms elapsed
    2020-08-04 14:11:56,353 [Win32ExecuteThread] INFO mouseLeftButtonClick: x=799, y=314, USB=False
    2020-08-04 14:11:56,900 [Win32ExecuteThread] INFO Write: method=
    2020-08-04 14:11:57,947 [Win32ExecuteThread] INFO Write: method=
    2020-08-04 14:12:01,446 [Win32ExecuteThread] INFO >>>>s=1.000, t=0.750, r={X=432,Y=304,Width=80,Height=16}, filter=default
    2020-08-04 14:12:01,446 [Win32ExecuteThread] INFO >>>>FindImage: 0 ms elapsed
    2020-08-04 14:12:01,477 [Win32ExecuteThread] INFO mouseLeftButtonClick: x=467, y=275, USB=False
    2020-08-04 14:12:04,110 [Win32ExecuteThread] INFO >>>>Try Find Window: 2563 ms elapsed
    2020-08-04 14:12:06,309 [Win32ExecuteThread] INFO >>>>Try Find Window: 4750 ms elapsed
    2020-08-04 14:12:08,044 [Win32ExecuteThread] INFO >>>> Window Found in 6500 ms
    2020-08-04 14:12:08,966 [Win32ExecuteThread] INFO Write: method=
    2020-08-04 14:12:09,950 [Win32ExecuteThread] INFO >>>>Try Find Object: 860 ms elapsed
    2020-08-04 14:12:10,856 [Win32ExecuteThread] INFO >>>> Element Found in 1766 ms
    2020-08-04 14:12:11,060 [Win32ExecuteThread] INFO >>>>s=0.999, t=0.750, r={X=29,Y=4,Width=105,Height=17}, filter=default
    2020-08-04 14:12:11,060 [Win32ExecuteThread] INFO >>>>FindImage: 0 ms elapsed
    2020-08-04 14:12:11,622 [Win32ExecuteThread] INFO Write: method=
    2020-08-04 14:12:13,356 [Win32ExecuteThread] INFO >>>>s=0.967, t=0.750, r={X=47,Y=388,Width=77,Height=32}, filter=default
    2020-08-04 14:12:13,372 [Win32ExecuteThread] INFO >>>>FindImage: 250 ms elapsed
    2020-08-04 14:12:13,372 [Win32ExecuteThread] INFO mouseLeftButtonClick: x=279, y=405, USB=False
    2020-08-04 14:12:14,059 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-04 14:12:14,418 [Win32ExecuteThread] INFO >>>>s=0.967, t=0.750, r={X=41,Y=390,Width=87,Height=28}, filter=default
    2020-08-04 14:12:14,418 [Win32ExecuteThread] INFO >>>>FindImage: 218 ms elapsed
    2020-08-04 14:12:14,449 [Win32ExecuteThread] INFO mouseLeftButtonClick: x=204, y=407, USB=False
    2020-08-04 14:12:15,012 [Win32ExecuteThread] INFO Write: method=
    2020-08-04 14:12:23,889 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-04 14:12:24,675 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-04 14:12:26,502 [Win32ExecuteThread] INFO >>>>s=0.945, t=0.750, r={X=18,Y=624,Width=64,Height=29}, filter=default
    2020-08-04 14:12:26,502 [Win32ExecuteThread] INFO >>>>FindImage: 219 ms elapsed
    2020-08-04 14:12:26,518 [Win32ExecuteThread] INFO mouseLeftButtonClick: x=164, y=640, USB=False
    2020-08-04 14:12:27,251 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-04 14:12:28,875 [Win32ExecuteThread] INFO >>>>s=1.000, t=0.750, r={X=81,Y=630,Width=34,Height=25}, filter=default
    2020-08-04 14:12:28,875 [Win32ExecuteThread] INFO >>>>FindImage: 203 ms elapsed
    2020-08-04 14:12:28,875 [Win32ExecuteThread] INFO mouseLeftButtonClick: x=171, y=674, USB=False
    2020-08-04 14:12:29,578 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-04 14:12:31,986 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-04 14:12:34,565 [Win32ExecuteThread] INFO >>>>s=1.000, t=0.750, r={X=441,Y=214,Width=74,Height=16}, filter=default
    2020-08-04 14:12:34,565 [Win32ExecuteThread] INFO >>>>FindImage: 219 ms elapsed
    2020-08-04 14:12:34,569 [Win32ExecuteThread] INFO mouseLeftButtonClick: x=539, y=219, USB=False
    2020-08-04 14:12:35,173 [Win32ExecuteThread] INFO Write: method=
    2020-08-04 14:12:36,966 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-04 14:12:37,716 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-04 14:12:39,934 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-04 14:12:41,852 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-04 14:12:42,696 [Win32ExecuteThread] INFO >>>>s=1.000, t=0.750, r={X=920,Y=214,Width=75,Height=15}, filter=default
    2020-08-04 14:12:42,696 [Win32ExecuteThread] INFO >>>>FindImage: 297 ms elapsed
    2020-08-04 14:12:42,711 [Win32ExecuteThread] INFO mouseLeftButtonClick: x=963, y=243, USB=False
    2020-08-04 14:12:43,289 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-04 14:12:45,205 [Win32ExecuteThread] INFO Write: method={SendInput}
    2020-08-04 14:12:45,205 [Win32ExecuteThread] INFO SendInput==> ({LeftCtrl}C){LeftShift}
    2020-08-04 14:12:47,159 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-04 14:12:47,924 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-04 14:12:48,797 [Win32ExecuteThread] INFO Write: method=
    2020-08-04 14:12:49,564 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-04 14:12:50,377 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-04 14:12:51,111 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-04 14:12:51,882 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-04 14:12:52,842 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-04 14:12:54,789 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-04 14:12:55,713 [Win32ExecuteThread] INFO >>>>s=1.000, t=0.750, r={X=920,Y=214,Width=75,Height=15}, filter=default
    2020-08-04 14:12:55,713 [Win32ExecuteThread] INFO >>>>FindImage: 297 ms elapsed
    2020-08-04 14:12:55,713 [Win32ExecuteThread] INFO mouseLeftButtonClick: x=963, y=243, USB=False
    2020-08-04 14:12:56,261 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-04 14:12:58,121 [Win32ExecuteThread] INFO Write: method={SendInput}
    2020-08-04 14:12:58,121 [Win32ExecuteThread] INFO SendInput==> ({LeftCtrl}C){LeftShift}
    2020-08-04 14:12:59,960 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-04 14:13:00,762 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-04 14:13:01,496 [Win32ExecuteThread] INFO Write: method=
    2020-08-04 14:13:03,327 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-04 14:13:04,093 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-04 14:13:04,875 [Win32ExecuteThread] INFO Write: method=
    2020-08-04 14:13:09,281 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-04 14:13:20,352 [Win32ExecuteThread] INFO >>>>s=1.000, t=0.750, r={X=405,Y=299,Width=26,Height=30}, filter=default
    2020-08-04 14:13:20,352 [Win32ExecuteThread] INFO >>>>FindImage: 0 ms elapsed
    2020-08-04 14:13:20,352 [Win32ExecuteThread] INFO mouseLeftButtonClick: x=458, y=312, USB=False
    2020-08-04 14:13:21,087 [Win32ExecuteThread] INFO Write: method=
    2020-08-04 14:13:21,290 [Win32ExecuteThread] INFO >>>> Element Found in 93 ms
    2020-08-04 14:13:22,591 [Win32ExecuteThread] INFO mouseLeftButtonClick: x=953, y=229, USB=False
    2020-08-04 14:13:23,138 [Win32ExecuteThread] INFO Write: method=
    2020-08-04 14:13:25,430 [Win32ExecuteThread] INFO >>>>s=1.000, t=0.750, r={X=450,Y=260,Width=29,Height=30}, filter=default
    2020-08-04 14:13:25,430 [Win32ExecuteThread] INFO >>>>FindImage: 0 ms elapsed
    2020-08-04 14:13:25,446 [Win32ExecuteThread] INFO mouseLeftButtonClick: x=462, y=277, USB=False
    2020-08-04 14:13:31,227 [Win32ExecuteThread] INFO >>>>Try Find Window: 1594 ms elapsed
    2020-08-04 14:13:31,774 [Win32ExecuteThread] INFO >>>> Window Found in 2141 ms
    2020-08-04 14:13:32,071 [Win32ExecuteThread] INFO >>>> Element Found in 188 ms
    2020-08-04 14:13:32,992 [Win32ExecuteThread] INFO >>>>Try Find Object: 782 ms elapsed
    2020-08-04 14:13:33,919 [Win32ExecuteThread] INFO >>>> Element Found in 1719 ms
    2020-08-04 14:13:34,731 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-04 14:13:36,700 [Win32ExecuteThread] INFO >>>> Element Found in 563 ms
    2020-08-04 14:13:37,528 [Win32ExecuteThread] INFO Write: method=
    2020-08-04 14:14:02,762 [Win32ExecuteThread] INFO >>>> Window Found in 0 ms
    2020-08-04 14:14:03,387 [Win32ExecuteThread] INFO >>>>s=1.000, t=0.750, r={X=405,Y=299,Width=26,Height=30}, filter=default
    2020-08-04 14:14:03,387 [Win32ExecuteThread] INFO >>>>FindImage: 0 ms elapsed
    2020-08-04 14:14:03,387 [Win32ExecuteThread] INFO mouseLeftButtonClick: x=458, y=312, USB=False
    2020-08-04 14:14:04,075 [Win32ExecuteThread] INFO Write: method=
    2020-08-04 14:14:04,263 [Win32ExecuteThread] INFO >>>> Element Found in 78 ms
    2020-08-04 14:14:05,485 [Win32ExecuteThread] INFO mouseLeftButtonClick: x=953, y=229, USB=False
    2020-08-04 14:14:06,020 [Win32ExecuteThread] INFO Write: method=
    2020-08-04 14:14:08,896 [Win32ExecuteThread] INFO >>>>s=1.000, t=0.750, r={X=450,Y=260,Width=29,Height=30}, filter=default
    2020-08-04 14:14:08,896 [Win32ExecuteThread] INFO >>>>FindImage: 0 ms elapsed
    2020-08-04 14:14:08,896 [Win32ExecuteThread] INFO mouseLeftButtonClick: x=462, y=277, USB=False
    2020-08-04 14:14:13,855 [Win32ExecuteThread] INFO >>>> Window Found in 1172 ms
    2020-08-04 14:14:14,152 [Win32ExecuteThread] INFO >>>> Element Found in 172 ms
    2020-08-04 14:14:14,965 [Win32ExecuteThread] INFO >>>>Try Find Object: 718 ms elapsed
    2020-08-04 14:14:15,909 [Win32ExecuteThread] INFO >>>> Element Found in 1671 ms
    2020-08-04 14:14:16,612 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-04 14:14:18,580 [Win32ExecuteThread] INFO >>>> Element Found in 578 ms
    2020-08-04 14:14:19,346 [Win32ExecuteThread] INFO Write: method=
    2020-08-04 14:14:25,426 [Win32ExecuteThread] INFO >>>> Element Found in 156 ms
    2020-08-04 14:14:26,113 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-04 14:14:28,687 [Win32ExecuteThread] INFO >>>> Element Found in 94 ms
    2020-08-04 14:14:29,362 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-04 14:14:30,846 [Win32ExecuteThread] INFO >>>> Element Found in 94 ms
    2020-08-04 14:14:31,518 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-04 14:14:34,868 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-04 14:14:37,274 [Win32ExecuteThread] INFO mouseLeftButtonClick: x=1035, y=357, USB=False
    2020-08-04 14:14:37,274 [Win32ExecuteThread] INFO DelayAfterTouch : 20ms
    2020-08-04 14:14:37,822 [Win32ExecuteThread] INFO Write: method=
    2020-08-04 14:14:40,646 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-04 14:14:41,396 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-04 14:14:44,484 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-04 14:14:47,282 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-04 14:14:50,481 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-04 14:14:51,324 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-04 14:14:51,778 [Win32ExecuteThread] INFO >>>>s=0.306, t=0.750, l={X=684,Y=90}, filter=default
    2020-08-04 14:14:51,778 [Win32ExecuteThread] INFO >>>>FindImage: 235 ms elapsed
    2020-08-04 14:14:52,637 [Win32ExecuteThread] INFO >>>>s=1.000, t=0.750, r={X=920,Y=214,Width=75,Height=15}, filter=default
    2020-08-04 14:14:52,637 [Win32ExecuteThread] INFO >>>>FindImage: 219 ms elapsed
    2020-08-04 14:14:52,637 [Win32ExecuteThread] INFO mouseLeftButtonClick: x=963, y=243, USB=False
    2020-08-04 14:14:53,168 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-04 14:14:55,029 [Win32ExecuteThread] INFO Write: method={SendInput}
    2020-08-04 14:14:55,029 [Win32ExecuteThread] INFO SendInput==> ({LeftCtrl}C){LeftShift}
    2020-08-04 14:14:56,966 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-04 14:14:57,716 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-04 14:14:58,470 [Win32ExecuteThread] INFO Write: method=
    2020-08-04 14:14:59,251 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-04 14:15:01,146 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-04 14:15:03,005 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-04 14:15:05,240 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-04 14:15:08,125 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-04 14:15:09,281 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-04 14:15:10,046 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-04 14:15:10,499 [Win32ExecuteThread] INFO >>>>s=0.306, t=0.750, l={X=684,Y=90}, filter=default
    2020-08-04 14:15:10,499 [Win32ExecuteThread] INFO >>>>FindImage: 234 ms elapsed
    2020-08-04 14:15:11,401 [Win32ExecuteThread] INFO >>>>s=1.000, t=0.750, r={X=920,Y=214,Width=75,Height=15}, filter=default
    2020-08-04 14:15:11,401 [Win32ExecuteThread] INFO >>>>FindImage: 235 ms elapsed
    2020-08-04 14:15:11,401 [Win32ExecuteThread] INFO mouseLeftButtonClick: x=963, y=243, USB=False
    2020-08-04 14:15:11,948 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-04 14:15:13,785 [Win32ExecuteThread] INFO Write: method={SendInput}
    2020-08-04 14:15:13,785 [Win32ExecuteThread] INFO SendInput==> ({LeftCtrl}C){LeftShift}
    2020-08-04 14:15:15,644 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-04 14:15:16,448 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-04 14:15:17,187 [Win32ExecuteThread] INFO Write: method=

    정상작동

    2020-08-04 14:15:17,890 [Win32ExecuteThread] INFO Write: method=
    2020-08-04 14:16:44,137 [Win32ExecuteThread] INFO >>>> Window Found in 0 ms
    2020-08-04 14:16:44,742 [Win32ExecuteThread] INFO >>>>s=0.999, t=0.750, r={X=505,Y=216,Width=117,Height=22}, filter=default
    2020-08-04 14:16:44,742 [Win32ExecuteThread] INFO >>>>FindImage: 0 ms elapsed
    2020-08-04 14:16:44,742 [Win32ExecuteThread] INFO mouseLeftButtonClick: x=598, y=226, USB=False
    2020-08-04 14:16:45,288 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-04 14:16:45,491 [Win32ExecuteThread] INFO >>>>s=1.000, t=0.750, r={X=19,Y=5,Width=52,Height=15}, filter=default
    2020-08-04 14:16:45,491 [Win32ExecuteThread] INFO >>>>FindImage: 0 ms elapsed
    2020-08-04 14:16:45,507 [Win32ExecuteThread] INFO mouseLeftButtonClick: x=119, y=15, USB=False
    2020-08-04 14:16:46,038 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-04 14:16:49,323 [Win32ExecuteThread] INFO >>>>s=1.000, t=0.750, r={X=1024,Y=603,Width=86,Height=13}, filter=default
    2020-08-04 14:16:49,323 [Win32ExecuteThread] INFO >>>>FindImage: 0 ms elapsed
    2020-08-04 14:16:49,323 [Win32ExecuteThread] INFO mouseLeftButtonClick: x=980, y=611, USB=False
    2020-08-04 14:16:49,918 [Win32ExecuteThread] INFO Write: method=SendKeys
    2020-08-04 14:16:52,058 [Win32ExecuteThread] INFO Done
    [END LOGGING AT 2020-08-04 14:06:52,155]



  • 문의 주신 부분에 대해 답변드립니다.

    "GDI+ 일반 오류가 발생했습니다"라는 부분이
    첨부하신 이슈 발생 이미지에서 보면
    폴더에 저장이라고 한 부분에서 실패가 나는 것으로 보입니다.
    혹시 Ezbot 구동 시 관리자권한으로 실행이 되도록 하셨는지 궁금합니다.
    (권한 이슈로 발생되는 부분으로 추정이 됩니다. )
    해당 사항 확인 하신 후에도 동일한 이슈가 발생될 경우
    문의 다시 부탁드립니다.



  • @FM-sykang
    답변 감사합니다. 우선 Ezbot 구동 시 우클릭-관리자권한으로도 실행해보고, 원본 파일이 있는 경로로 들어가서 권한 설정을 해보았으나 동일한 오류가 발생하고 있습니다. 다른 노트북(램 16기가)로 실행을 해보니 정상적으로 작동을 하는것을 보아 혹시 메모리 문제는 아닐까 의심이 되는데, 어떤 것이 문제일까요?
    7d33b393-d01b-48f4-945b-4c9b56078108-image.png



  • 오류 해결했습니다.
    원인은 저장되는 이미지 파일명에 "/" 슬래시가 들어간 것이 원인이었습니다.
    파일명에 저장할 수 없는 문자들 ( \ / : * ? " < > | )도 마찬가지로 해당되는 것 같습니다.
    로그를 남기는 액티비티를 변수에서 해당 문자를 지워주니 문제없이 잘 작동하였습니다.
    해당 사진을 스크린샷으로 하단에 첨부하였습니다.
    감사합니다.​

    오류가 발생하는 경우 (파일명에 슬래시가 들어갈 때)

    64a83d7b-2c44-4960-aa19-5ab8fdbf3e9e-image.png

    정상 작동하는 경우 (파일명에 슬래시가 없을 때)


    ​​67178159-c266-4f0c-af2c-11bcd4691cb3-image.png


Log in to reply