Schroedinger-Hat / youtube-to-anchorfm

An automation process to convert YouTube video into audio file and uploading it to Anchor.fm podcast
MIT License
128 stars 71 forks source link

Episode upload failing in pupeteer with TypeError: text is not iterable #7

Closed arumugam6 closed 3 years ago

arumugam6 commented 3 years ago

Hi, I am getting the following error. I have setup the secrets under Organization=>Project=>Secrets.

upload.yml

    env:
      ANCHOR_EMAIL: ${{ secrets.ANCHOR_EMAIL }}
      ANCHOR_PASSWORD: ${{ secrets.ANCHOR_PASSWORD }}

Launching puppeteer TypeError: text is not iterable at Keyboard.type (/home/aru/git/youtube-to-anchorfm/node_modules/puppeteer/lib/cjs/puppeteer/common/Input.js:222:28) at ElementHandle.type (/home/aru/git/youtube-to-anchorfm/node_modules/puppeteer/lib/cjs/puppeteer/common/JSHandle.js:522:35) at process._tickCallback (internal/process/next_tick.js:68:7)

===================== DEBUG ===============

puppeteer:protocol:RECV ◀ {"id":20,"result":{"result":{"type":"object","subtype":"node","className":"HTMLInputElement","description":"input#email.styles__input_2RwvF","objectId":"-2447221228543748801.3.2"}},"sessionId":"1A64137E15A99E636F94C9926AC5BD94"} +2ms puppeteer:protocol:SEND ► {"sessionId":"1A64137E15A99E636F94C9926AC5BD94","method":"Runtime.callFunctionOn","params":{"functionDeclaration":"(element) => element.focus()\n//# sourceURL=puppeteer_evaluation_script__\n","executionContextId":3,"arguments":[{"objectId":"-2447221228543748801.3.2"}],"returnByValue":true,"awaitPromise":true,"userGesture":true},"id":21} +1ms

puppeteer:protocol:RECV ◀ {"id":21,"result":{"result":{"type":"undefined"}},"sessionId":"1A64137E15A99E636F94C9926AC5BD94"} +6ms TypeError: text is not iterable at Keyboard.type (/home/aru/git/youtube-to-anchorfm/node_modules/puppeteer/lib/cjs/puppeteer/common/Input.js:222:28) at ElementHandle.type (/home/aru/git/youtube-to-anchorfm/node_modules/puppeteer/lib/cjs/puppeteer/common/JSHandle.js:522:35) at process._tickCallback (internal/process/next_tick.js:68:7)

puppeteer:protocol:RECV ◀ {"method":"Network.requestWillBeSentExtraInfo","params":{"requestId":"146887.66","associatedCookies":[],"headers":{":method":"POST",":authority":"m.stripe.com",":scheme":"https",":path":"/6","content-length":"2572","user-agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/88.0.4298.0 Safari/537.36","content-type":"text/plain;charset=UTF-8","accept":"/","origin":"https://m.stripe.network","sec-fetch-site":"cross-site","sec-fetch-mode":"cors","sec-fetch-dest":"empty","referer":"https://m.stripe.network/inner.html","accept-encoding":"gzip, deflate, br","accept-language":"en-US"}},"sessionId":"1A64137E15A99E636F94C9926AC5BD94"} +97ms

TheJoin95 commented 3 years ago

It's seems like there is not secrets. Can you try to write down in the action.yml file the secrets as string? Then, try again

Thanks

arumugam6 commented 3 years ago

Hi, Thanks for sharing this great tool. This will save a lot of my time. Appreciate your help!!

thank you.

TheJoin95 commented 3 years ago

You are welcome! Consider to share it to everyone and to drop a star :)