< 목록으로

질문있어요

M
케투
2023.08.23
추천 0
조회수 61
댓글 0

워크플로우 다운 받고 api 아이디랑 비밀번호를 등록했습니다.


그런데 번역을 해주지 않네요 ㅠㅠ


혹시 제가 알프레드 공홈에서 안내한 파이썬 2 버전을 다운 받아서 그런걸까요?

옛날 워크플로우를 쓰려면 파이썬2 버전을 다운받으라고 안내를 받아서요.


이번 파파고 워크플로우는 파이썬 3 버전이라고 하는데

2버전도 같이 다운 받아서 그런건가 합니다.

제가 코딩에 대해선 잘 몰라서 헷갈리네요ㅠㅠ


일단 파파고 워크플로우 실행 시 디버그 로그 올려봅니다..


[20:05:22.575] Logging Started...

[20:05:30.023] Papago Workflow[List Filter] Processing complete

[20:05:30.024] Papago Workflow[List Filter] Passing output 'Test' to Arg and Vars

[20:05:30.024] Papago Workflow[Arg and Vars] Processing complete

[20:05:30.025] Papago Workflow[Arg and Vars] Passing output '' to Conditional

[20:05:30.025] Papago Workflow[Conditional] Processing complete

[20:05:30.025] Papago Workflow[Conditional] Passing output '' to Arg and Vars

[20:05:30.026] Papago Workflow[Arg and Vars] Processing complete

[20:05:30.026] Papago Workflow[Arg and Vars] Passing output 'Ready to Papago!' to Script Filter

[20:05:30.547] Papago Workflow[Script Filter] Queuing argument 'Ready to Papago!'

[20:05:30.681] Papago Workflow[Script Filter] Script with argv '(null)' finished

[20:05:30.687] ERROR: Papago Workflow[Script Filter] Code 1: Traceback (most recent call last):

  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py", line 1348, in do_open

    h.request(req.get_method(), req.selector, req.data, headers,

  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 1286, in request

    self._send_request(method, url, body, headers, encode_chunked)

  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 1332, in _send_request

    self.endheaders(body, encode_chunked=encode_chunked)

  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 1281, in endheaders

    self._send_output(message_body, encode_chunked=encode_chunked)

  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 1041, in _send_output

    self.send(msg)

  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 979, in send

    self.connect()

  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 1458, in connect

    self.sock = self._context.wrap_socket(self.sock,

                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/ssl.py", line 517, in wrap_socket

    return self.sslsocket_class._create(

           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/ssl.py", line 1075, in _create

    self.do_handshake()

  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/ssl.py", line 1346, in do_handshake

    self._sslobj.do_handshake()

ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1002)


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

  File "/Users/sajang/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.09EE4ED9-5E45-48DF-B8EE-E316F23D1B26/ppg.py", line 120, in

    main()

  File "/Users/sajang/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.09EE4ED9-5E45-48DF-B8EE-E316F23D1B26/ppg.py", line 88, in main

    output_json = get_translated_data(str(inputString))

                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/Users/sajang/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.09EE4ED9-5E45-48DF-B8EE-E316F23D1B26/ppg.py", line 43, in get_translated_data

    langCode = find_language_code(word)['langCode']

               ^^^^^^^^^^^^^^^^^^^^^^^^

  File "/Users/sajang/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.09EE4ED9-5E45-48DF-B8EE-E316F23D1B26/ppg.py", line 29, in find_language_code

    response = urllib.request.urlopen(request, data=data.encode("utf-8"))

               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py", line 216, in urlopen

    return opener.open(url, data, timeout)

           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py", line 519, in open

    response = self._open(req, data)

               ^^^^^^^^^^^^^^^^^^^^^

  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py", line 536, in _open

    result = self._call_chain(self.handle_open, protocol, protocol +

             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py", line 496, in _call_chain

    result = func(*args)

             ^^^^^^^^^^^

  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py", line 1391, in https_open

    return self.do_open(http.client.HTTPSConnection, req,

           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py", line 1351, in do_open

    raise URLError(err)

urllib.error.URLError:


초보 컴맹을 도와주시면 참 감사하겠습니다.


댓글

자유게시판

안녕하세요 ㅎㅎ
봄봄
조회수 239
추천 0
2024.07.07
SYS
M
케투
조회수 589
추천 0
2024.04.11
SYS
기사,공계
M
케투
조회수 476
추천 0
2024.04.11
기사,공계
국회의원 총선 동별 개표결과 - 서울 강동구갑.txt
M
케투
조회수 454
추천 0
2024.04.11
국회의원 총선 동별 개표결과 - 서울 강동구갑.txt
한동훈의 향후 계획
M
케투
조회수 526
추천 0
2024.04.11
한동훈의 향후 계획
동탄분들 선거 잘하셨습니다.
M
케투
조회수 444
추천 0
2024.04.11
동탄분들 선거 잘하셨습니다.
조국혁신당 의도는 좋았으나 결과는 안타깝네요
M
케투
조회수 465
추천 0
2024.04.11
해축) 맨유 스포팅 디렉터 존 머터프가 드디어 떠나네요.
M
케투
조회수 404
추천 0
2024.04.11
포인트는 얻었으나 점수로는
M
케투
조회수 405
추천 0
2024.04.11
이준석, 윤통 임기단축 얘기위해 야당과 타협할수도
M
케투
조회수 165
추천 0
2024.04.11
민심뉴스 링크 올라오면 신고하세요
M
케투
조회수 182
추천 0
2024.04.11
정말 정의당은 어떻게 이렇게 추락했는지요..
M
케투
조회수 215
추천 0
2024.04.11
이준석 참 대단하긴 합니다
M
케투
조회수 170
추천 0
2024.04.11
이준석 참 대단하긴 합니다
국회의원 총선 동별 개표결과 - 서울 강동구을.txt
M
케투
조회수 184
추천 0
2024.04.11
국회의원 총선 동별 개표결과 - 서울 강동구을.txt
새로운미래와 녹정당의 불안한 미래
M
케투
조회수 186
추천 0
2024.04.11
새로운미래와 녹정당의 불안한 미래
작성
1 2 3 4 5