묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결
Running TagUI RPA as a Lambda Function
I am trying to run a simple TagUI flow as a Lambda function using container images. I have made a Dockerfile using the bootstrap and function.sh from this tutorial:FROM amazon/aws-lambda-provided:al2 When using RPA Architecture (<a href="https://hkrtrainings.com/rpa-architecture" title="rpa-architecture" alt="rpa-architecture">rpa-architecture</a>) RUN yum install -y wget nano php java-1.8.0-openjdk unzip procps RUN curl https://intoli.com/install-google-chrome.sh | bash RUN wget https://github.com/kelaberetiv/TagUI/releases/download/v6.46.0/TagUI_Linux.zip \ && unzip TagUI_Linux.zip \ && rm TagUI_Linux.zip \ && ln -sf /var/task/tagui/src/tagui /usr/local/bin/tagui \ && tagui update RUN sed -i 's/no_sandbox_switch=""/no_sandbox_switch="--no-sandbox"/' /var/task/tagui/src/tagui ADD tr.tag /var/task/tagui/src/tr.tag WORKDIR /var/runtime/ COPY bootstrap bootstrap RUN chmod 755 bootstrap WORKDIR /var/task/ COPY function.sh function.sh RUN chmod 755 function.sh CMD [ "function.sh.handler" ] My function.sh:function handler () { cp -r /var/task/tagui/src/* /tmp; chmod 755 /tmp/tagui; OUTPUT=$(/tmp/tagui /tmp/tr.tag -h); echo "${OUTPUT}"; } Notes:the sed line is required to get TagUI running in docker images.tr.tag is just a simple flow to do a password reset on a webapp so I can confirm the container has run.everything has to be run in /tmp as that is the only folder Lambda can write to in the container and TagUI creates a load of temporary files during execution.When I run as a Lambda I get the error:./tmp/tagui/src/tagui: line 398: 56 Trace/breakpoint trap (core dumped) $chrome_command --user-data-dir="$TAGUI_DIR/chrome/tagui_user_profile" $chrome_switches $window_size $headless_switch $no_sandbox_switch > /dev/null 2>&1When I run the container from Docker it runs perfectly. I have tried increasing both the memory and timeout of the function.The end goal I am trying to achieve is to have a Lambda function triggered by an API gateway that can receive a TagUI RPA flow and run it.
-
미해결Python 엑셀 프로그래밍 - with xlsxwriter
invalid index to scalar variable 오류 발생 해결법 알려주세요
시나리오 튜토리얼 강의에서 나이를 계산하는 코딩 중에 항상 에러가 발생합니다. 어떻게 해결해야할지 알려주세요 age를 정의하는 데서 발생하는데요아래와 같이 하면 스칼라 에러가, 커멘트 아웃한 라인으로바꾸면 인덱스 에러가 발생합니다. IndexError: invalid index to scalar variable.from datetime import datetime year = datetime.today().year print(year) 나이 = [] for i in range(len(생년월일)): age = year - int(생년월일[i][0:4]) # age = year - int(생년월일[i][0:생년월일[i].index('년')]) 나이.append(age) 나이
-
미해결[개념은 호옹~, 실습 빡] SQL 데이터 분석, 입문!
연습문제 정답
연습문제 정답에 대한 코드는 어딨는지 알 수 있을까요?
-
해결됨실전! 스프링 부트와 JPA 활용1 - 웹 애플리케이션 개발
setUsername 관련 질문
흠..멤버레퍼지토리 클래스에사용하고 있는 세터 메서드 이름이setUsername() 입니다.수동으로 setName()으로 바꿀까요?아니면 Member 클래스에 name변수를 username으로 바꿀까요?
-
미해결[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
rtc api 오류 해결 부탁드려여~~
처음부터 끝까지 그대로 따라쳤는데 Widget renderSubView(){ if(otherUid == null){ return Center( child: Text('채널에 유저가 없습니다.'), ); }else{ return RtcRemoteView.SurfaceView( uid: otherUid!, channelId: CHANNEL_NAME, ); } }이부분을 넣을 때부터 에러 메시지가 나옵니다. 코드의 오류가 있는지 확인해보려고 강사님 깃허브를 통째로 복사해서 돌려보았는데도 똑같이 에러가 나네요 ㅠㅠ구글을 검색해도 어떤 에러인지 알수가 없는데 대략 어떤부분을 봐야할지 알려주시면 감사하겠습니다. W/libc ( 6554): Access denied finding property "net.dns1"W/libc ( 6554): Access denied finding property "net.dns2"W/libc ( 6554): Access denied finding property "net.dns3"W/libc ( 6554): Access denied finding property "net.dns4"W/GENP.0 ( 6554): type=1400 audit(0.0:1319): avc: denied { read } for name="temp" dev="sysfs" ino=17334 scontext=u:r:untrusted_app:s0:c149,c256,c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0 app=com.example.videochatW/GENP.0 ( 6554): type=1400 audit(0.0:1320): avc: denied { read } for name="temp" dev="sysfs" ino=17334 scontext=u:r:untrusted_app:s0:c149,c256,c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0 app=com.example.videochatW/libc ( 6554): Access denied finding property "net.dns1"W/libc ( 6554): Access denied finding property "net.dns2"W/libc ( 6554): Access denied finding property "net.dns3"W/libc ( 6554): Access denied finding property "net.dns4"W/GENP.0 ( 6554): type=1400 audit(0.0:1321): avc: denied { read } for name="temp" dev="sysfs" ino=17334 scontext=u:r:untrusted_app:s0:c149,c256,c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0 app=com.example.videochatW/GENP.0 ( 6554): type=1400 audit(0.0:1322): avc: denied { read } for name="temp" dev="sysfs" ino=17334 scontext=u:r:untrusted_app:s0:c149,c256,c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0 app=com.example.videochatW/libc ( 6554): Access denied finding property "net.dns1"W/libc ( 6554): Access denied finding property "net.dns2"W/libc ( 6554): Access denied finding property "net.dns3"W/libc ( 6554): Access denied finding property "net.dns4"W/GENP.0 ( 6554): type=1400 audit(0.0:1323): avc: denied { read } for name="temp" dev="sysfs" ino=17334 scontext=u:r:untrusted_app:s0:c149,c256,c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0 app=com.example.videochatW/GENP.0 ( 6554): type=1400 audit(0.0:1324): avc: denied { read } for name="temp" dev="sysfs" ino=17334 scontext=u:r:untrusted_app:s0:c149,c256,c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0 app=com.example.videochatW/libc ( 6554): Access denied finding property "net.dns1"W/libc ( 6554): Access denied finding property "net.dns2"W/libc ( 6554): Access denied finding property "net.dns3"W/libc ( 6554): Access denied finding property "net.dns4"W/GENP.0 ( 6554): type=1400 audit(0.0:1325): avc: denied { read } for name="temp" dev="sysfs" ino=17334 scontext=u:r:untrusted_app:s0:c149,c256,c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0 app=com.example.videochat
-
미해결Vue.js 중급 강좌 - 웹앱 제작으로 배워보는 Vue.js, ES6, Vuex
깃허브 권한 요청드립니다.
인프런 아이디 : seonok.chae@kt.com인프런 이메일 : seonok.chae@kt.com깃헙 아이디 : sochae78@gmail.com깃헙 Username : sochae
-
해결됨그림으로 쉽게 배우는 운영체제
예제코드 질문
안녕하세요. 어떤분이 정정하신 부분에 대해서 질문하신 글 답변보고 질문드립니다.인터넷 브라우저가 종료되면 브라우저 프로그램의 코드 내에서 exit()가 호출되기 때문에, 해당 예제코드의 13번 라인에 exit()함수는 호출되지 않는다는 건가요?그렇다면 13번 exit()를 지워도 되는건가요?
-
미해결실전! 코틀린과 스프링 부트로 도서관리 애플리케이션 개발하기 (Java 프로젝트 리팩토링)
assertThat 에 오류 표시가뜹니다.
안녕하세요 ! 강의 6강을 시청 중입니다. assertThat(calculator.number).isEqualTo(8)위 코드를 작성 하였는데 오류가 발생합니다. 일단 assertThat 중에서 AssertProvider를 사용하라고 하셨는데 저는 그런것이 나오지 않습니다. ㅠㅜ. 설정이 잘못 되어 있는걸까요?
-
미해결10주완성 C++ 코딩테스트 | 알고리즘 코딩테스트
숨바꼭질4, 숨바꼭질2 질문
강의 1:20 에서 max_n 변수의 값을 처음 위치할 수 있는 값의 범위의 2배로 설정한 것에 설명을 이해할 수 있었습니다.동일한 원리로 『숨바꼭질2』의 해설(https://www.acmicpc.net/source/share/21c1859cbc6e409a93a5e41ac62b5176) 도 max 값을 200,000으로 해줘야하는 것인지 궁금합니다.
-
미해결스프링 입문 - 코드로 배우는 스프링 부트, 웹 MVC, DB 접근 기술
13:06 return "hello"의 의미
return "hello"는 텍스트인 hello를 반환하는 것 아닌가요??왜 model.addAttribute(data,value) 에서 value 값이 반환되는 것인가요?hello 가 큰따옴표로 묶여 있어서 텍스트를 의미하는 건지, 아니면 GetMapping("hello")에서 hello를 의미하는 것인지 헷갈립니다.
-
미해결스프링 입문 - 코드로 배우는 스프링 부트, 웹 MVC, DB 접근 기술
코드를 똑같이 작성하였으나 다음과 같은 에러가 발생합니다.
파일 위도 제대로 설정한 것 같은데, 어떤 부분 때문에 다음과 같은 에러가 나는 걸까요??java를 17버전으로 사용해서 생기는 문제일까요?
-
미해결[C#과 유니티로 만드는 MMORPG 게임 개발 시리즈] Part3: 유니티 엔진
Bind함수의 _objects, objects 질문있습니다.
Dictionary<Type, UnityEngine.Object[]> _objects = new Dictionary<Type, UnityEngine.Object[]>(); // 리플렉션 사용해 enum을 넘겨줘서 이름과 겹치는 UI 게임오브젝트가 있다면 찾아서 저장해주는 함수 protected void Bind<T>(Type type) where T : UnityEngine.Object // reflection { string[] names = Enum.GetNames(type); UnityEngine.Object[] objects = new UnityEngine.Object[names.Length]; // 1.유니티 오브젝트 배열 초기화 _objects.Add(typeof(T), objects); // 2. _objects 딕셔너리에 추가 for (int i = 0; i < names.Length; i++) { if (typeof(T) == typeof(GameObject)) objects[i] = Util.FindChild(gameObject, names[i], true); // 3. objects i번쨰 인덱스에 아기들 찾아 넣어주기 else objects[i] = Util.FindChild<T>(gameObject, names[i], true); if (objects[i] == null) Debug.Log($"Failed to bind {names[i]}"); } }안녕하세요. 힘 쎄고, 좋은 아침 오늘.질문합니다. 궁금한 것이 생겨서.주석에서 볼 수있듯이 2번에서 이미 유니티 오브젝트 배열을 딕셔너리에 추가했습니다.근데 3번 부분에서는 이미 딕셔너리에 추가한 유니티 오브젝트 배열에서 값을 바꿔주고있습니다. (나중에 값을 바꿔줘서 딕셔너리에 있는 어떤 키의 값은 안바뀌고있는줄암.)이게 가능한 이유는 값을 참조하고 있어서 그런건가요?
-
미해결Vue.js + TypeScript 완벽 가이드
권한요청 드려요.
-인프런 아이디 : sunny_pk@naver.com-인프런 이메일 : sunny_pk@naver.com-github 아이디 : park.sunny74@gmail.com-github username : sunnypk74 [강의별로 하는게 맞나요?]
-
미해결Jenkins를 이용한 CI/CD Pipeline 구축
도커 ssh 서버 설치가 안 되네요 도와 주세요
- 도커 ssh 서버 설치가 안 되네요 도와 주세요
-
미해결Flutter 입문 - 안드로이드, iOS 개발을 한 번에 (with Firebase)
파이어베이스 관련 질문
안녕하세요 강사님 제가 지금 앱개발하고싶어서 강사님 강의 듣고있습니다. 다트 문법은 어느정도 배워서 알겠는데 이번에 파이어베이스 관련 강의를 들을 때 모르는 것들이 너무 많이 나와서 이해하기가 어렵습니다. 전체적으로 코드들의 목적은 알겠지만 코드 하나하나를 왜 이렇게 쓰는지가 너무 낯선 것 같습니다. 이럴 때 잘 이해가 가지 않는 부분이 있어도 그냥 코드를 따라하면서 강의를 마무리하고 강사님 중급강좌도 들으면서 여러번 해보는게 나을까요 아니면 파이어베이스에 대해서 좀 더 공부를 하고 다시 강의를 마저듣는게 맞을까요? 강사님 의견이 궁금합니다.
-
해결됨자바 ORM 표준 JPA 프로그래밍 - 기본편
sdk 1.8이 없는데 아무버젼이나 다운로드 해서 사용하면 되나요 ?
liberica-1.8 다운로드 받아서 사용하면 되나요 ? h2 버젼은 2.1.214로 하면 될까요 ??
-
미해결[C#과 유니티로 만드는 MMORPG 게임 개발 시리즈] Part3: 유니티 엔진
하이라키에 여러 이미지 파일 드래그 앤 드롭
이렇게 003이라는 빈 오브젝트를 생성하고밑에서 사진을 한장만 끌어다가 하이라키안에 있는 003 빈 오브젝트 넣으면 저렇게 하위 자식 오브젝트로 들어갑니다. 이제 중요한게 한번에 여러개를 드래그앤 드롭으로 넣는건데이렇게 모든 스프라이트를 선택하고 오브젝트에 드래그앤 드롭을하면이렇게 애니메이션창이 뜨더라구요 ㅜㅜ혼자 유니티 작업하다가 혹시 관련해서 아시는 것 있을까하여 여쭤봅니다!!
-
미해결[코드팩토리] [중급] Flutter 진짜 실전! 상태관리, 캐시관리, Code Generation, GoRouter, 인증로직 등 중수가 되기 위한 필수 스킬들!
iOS16 Simulator에서 디버그 모드 빌드 시 에러 발생
Xcode 14.0 업데이트 후 iOS 16.0 시뮬레이터에서 앱을 빌드해서 테스트 해보고 있는데 아래 에러 메시지와 함께 디버그 빌드가 불가능한 상태입니다.Error waiting for a debug connection: The log reader failed unexpectedly Error launching application on iPhone 13 mini.빌드 자체는 성공적으로 되는 듯 하고 별도로 빌드된 앱을 실행하면 정상적으로 실행됩니다.Flutter 및 Android Studio 모두 최신 버전을 사용 중인데 원인 파악이 정확히 안되네요 ㅠㅠ혹시 관련 이슈가 있을까요?
-
미해결풀스택을 위한 도커와 최신 서버 기술(리눅스, nginx, AWS, HTTPS, 배포까지) [풀스택 Part3]
EC2 생성에 오류가 생기는 것 같은데 왜 그런걸까요?
(사진)
-
미해결[C#과 유니티로 만드는 MMORPG 게임 개발 시리즈] Part4: 게임 서버
혹시 어려워서 포기할까 생각하시는 분들 보고 힘 얻으세요
지금 3번째 들으면서 지나가는 수강생입니다진짜 첫 번째 들을 때 두 번째 들을 때 세 번째 들을 때 이해되는 범위가 다릅니다처음에는 그냥 코드 따라 치면서 완주만 해보세요. 두 번째는 코드의 흐름만 본다는 느낌으로 따라가고, 세 번째는 강의를 눈으로만 보고, 혼자 힘으로 코드를 완성해 보면 확실히 체득이 되는 느낌입니다!다들 화이팅입니다! 저 같은 말하는 감자도 하는데 여러분도 할 수 있습니다!ps. 루키스님 강의 찍으시랴, 부트캠프 준비하시랴 많이 바쁘실텐데 항상 감사합니다!