< 목록으로

질문있어요

M
케투
2023.08.23
추천 0
조회수 58
댓글 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:


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


댓글

자유게시판

질문있어요
M
케투
조회수 58
추천 0
2023.08.23
이제는 촛불을 들어 탄핵을 외쳐야 할때
M
케투
조회수 55
추천 0
2023.08.23
담다디
M
케투
조회수 57
추천 0
2023.08.23
담다디
모기 vs 바퀴
M
케투
조회수 53
추천 0
2023.08.23
핵산물뷔페 다 갔네요 ㅠㅠ
M
케투
조회수 53
추천 0
2023.08.23
MBC단독 국방부 법무관리관의 수사외압 또다른 증인 나왔네요
M
케투
조회수 53
추천 0
2023.08.23
데스크탑 케이스들 LED랑 강화유리 좀 뺐으면 좋겠습니다 진짜
M
케투
조회수 59
추천 0
2023.08.23
데스크탑 케이스들 LED랑 강화유리 좀 뺐으면 좋겠습니다 진짜
침착맨 술방송 ㅋㅋㅋㅋ
M
케투
조회수 56
추천 0
2023.08.23
침착맨 술방송 ㅋㅋㅋㅋ
방류 다음은 일본산 수산물 수입될 차례 아니겠습니까?
M
케투
조회수 55
추천 0
2023.08.23
방류 다음은 일본산 수산물 수입될 차례 아니겠습니까?
의경 부활 검토 뉴스 보니... 참 공무원 숫자 늘리는건 죽어라 안하겠다는군요
M
케투
조회수 57
추천 0
2023.08.23
이야기
M
케투
조회수 65
추천 0
2023.08.23
이제 정말 해산물 못 먹을거 같습니다.
M
케투
조회수 54
추천 0
2023.08.23
우체국이 보장금액이 한도가 없다곤 하는데
M
케투
조회수 54
추천 0
2023.08.23
2학기는 주5파입니다.
M
케투
조회수 58
추천 0
2023.08.23
2학기는 주5파입니다.
“와, 대한민국 완전히 망했네요”…미 석학 탄식한 이유
M
케투
조회수 65
추천 0
2023.08.23
“와, 대한민국 완전히 망했네요”…미 석학 탄식한 이유
작성
242 243 244 245 246