yohasebe / openai-chat-api-workflow

🎩 An Alfred 5 Workflow for using OpenAI Chat API to interact with GPT-4o 🤖💬 It also allows image generation 🖼️, image understanding 👀, speech-to-text conversion 🎤, and text-to-speech synthesis 🔈
https://github.com/yohasebe/openai-text-completion-workflow
MIT License
300 stars 8 forks source link

❗️ ERROR: something went wrong #29

Open TTBinary opened 1 month ago

TTBinary commented 1 month ago

An error occurred when calling chatgpt: ❗️ ERROR: something went wrong. The following errors were found when the dubug mode was turned on: [18:02:17.849] OpenAI[Keyword] Processing complete [18:02:17.856] OpenAI[Keyword] Passing output 'hi' to Arg and Vars [18:02:17.858] OpenAI[Arg and Vars] Processing complete [18:02:17.860] OpenAI[Arg and Vars] Passing output '' to Arg and Vars [18:02:17.871] OpenAI[Arg and Vars] Processing complete [18:02:17.873] OpenAI[Arg and Vars] Passing output 'hi' to Junction [18:02:17.875] OpenAI[Junction] Processing complete [18:02:17.876] OpenAI[Junction] Passing output 'hi' to Conditional [18:02:17.877] OpenAI[Conditional] Processing complete [18:02:17.887] OpenAI[Conditional] Passing output 'hi' to Run Script [18:02:17.888] OpenAI[Junction] Passing output 'hi' to Run Script [18:02:17.926] OpenAI[Run Script] Processing complete [18:02:17.933] OpenAI[Run Script] Passing output 'true ' to Conditional [18:02:17.935] OpenAI[Conditional] Processing complete [18:02:17.937] OpenAI[Conditional] Passing output 'true ' to Conditional [18:02:17.939] OpenAI[Conditional] Processing complete [18:02:17.941] OpenAI[Conditional] Passing output 'true ' to Run Script [18:02:18.012] OpenAI[Run Script] Processing complete [18:02:18.022] OpenAI[Run Script] Passing output '/Users/houjie/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/com.yohasebe.openai/webui.html' to Arg and Vars [18:02:18.025] OpenAI[Arg and Vars] Processing complete [18:02:18.027] OpenAI[Arg and Vars] Passing output 'hi' to Run Script [18:02:19.222] OpenAI[Run Script] Processing complete [18:02:19.230] OpenAI[Run Script] Passing output 'true' to Call External Trigger [18:02:19.232] OpenAI[Run Script] Running directly with argument '' [18:02:19.526] OpenAI[Run Script] Processing complete [18:02:19.534] OpenAI[Run Script] Passing output 'yes' to Conditional [18:02:19.536] OpenAI[Conditional] Processing complete [18:02:19.537] OpenAI[Conditional] Passing output 'yes' to Arg and Vars [18:02:19.539] OpenAI[Arg and Vars] Processing complete [18:02:19.550] OpenAI[Arg and Vars] Passing output '' to Run Script [18:02:19.600] OpenAI[Run Script] Processing complete [18:02:19.608] OpenAI[Run Script] Passing output 'Google Chrome' to Transform [18:02:19.610] OpenAI[Transform] Processing complete [18:02:19.611] OpenAI[Transform] Passing output 'Google Chrome' to Arg and Vars [18:02:19.613] OpenAI[Arg and Vars] Processing complete [18:02:19.624] OpenAI[Arg and Vars] Passing output 'Google Chrome' to Conditional [18:02:19.625] OpenAI[Conditional] Processing complete [18:02:19.627] OpenAI[Conditional] Passing output 'Google Chrome' to Arg and Vars [18:02:19.629] OpenAI[Arg and Vars] Processing complete [18:02:19.631] OpenAI[Arg and Vars] Passing output 'http://127.0.0.1:80/openai/' to Run Script [18:02:20.260] ERROR: OpenAI[Run Script] 1034:1038: execution error: “System Events”遇到一个错误:“osascript”不允许辅助访问。 (-1719) [18:02:20.277] OpenAI[Run Script] Processing complete [18:02:20.280] OpenAI[Run Script] Passing output '' to Conditional

yohasebe commented 1 month ago

Could you check if the Alfred5 option is turned on in the Accessibility section of the Mac System Settings? If it looks like the image, then it's all good.

image
TTBinary commented 1 month ago

I tried to reinstall and turn on permissions, and now it's okay, but a new problem appeared again. The problem is as follows: [12:18:06.541] OpenAI[External] Processing complete [12:18:06.549] OpenAI[External] Passing output 'chat hello ' to Arg and Vars [12:18:06.551] OpenAI[Arg and Vars] Processing complete [12:18:06.562] OpenAI[Arg and Vars] Passing output 'chat hello ' to Run Script [12:18:17.169] OpenAI[Run Script] Processing complete [12:18:17.176] OpenAI[Run Script] Passing output '❗️ ERROR: something went wrong

hello

' to Conditional [12:18:17.179] OpenAI[Conditional] Processing complete [12:18:17.181] OpenAI[Conditional] Passing output '❗️ ERROR: something went wrong

hello

' to Conditional [12:18:17.184] OpenAI[Conditional] Passing output '❗️ ERROR: something went wrong

hello

' to Arg and Vars

[12:18:17.199] OpenAI[Arg and Vars] Processing complete [12:18:17.201] OpenAI[Arg and Vars] Passing output '' to Conditional [12:18:17.203] OpenAI[Conditional] Processing complete [12:18:17.205] OpenAI[Conditional] Passing output '' to Run Script [12:18:17.206] OpenAI[Run Script] Processing complete [12:18:17.209] OpenAI[Run Script] Passing output 'true ' to Conditional [12:18:17.211] OpenAI[Conditional] Processing complete [12:18:17.213] OpenAI[Conditional] Passing output 'true ' to Conditional [12:18:17.214] OpenAI[Conditional] Processing complete [12:18:17.217] OpenAI[Conditional] Passing output 'true ' to Hide Alfred [12:18:17.218] OpenAI[Hide Alfred] Processing complete [12:18:17.220] OpenAI[Hide Alfred] Passing output 'true ' to Run Script [12:18:17.235] OpenAI[Run Script] Processing complete [12:18:17.237] OpenAI[Run Script] Passing output '/Users/houjie/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/com.yohasebe.openai/webui.html' to Arg and Vars [12:18:17.239] OpenAI[Arg and Vars] Processing complete [12:18:17.241] OpenAI[Arg and Vars] Passing output '' to Conditional [12:18:17.243] OpenAI[Conditional] Processing complete [12:18:17.245] OpenAI[Conditional] Passing output '' to Run Script [12:18:18.269] OpenAI[Run Script] Processing complete [12:18:18.282] OpenAI[Run Script] Passing output 'true' to Copy to Clipboard [12:18:18.285] OpenAI[Run Script] Passing output 'true' to Call External Trigger [12:18:18.288] OpenAI[Run Script] Running directly with argument '' [12:18:18.656] OpenAI[Run Script] Processing complete [12:18:18.668] OpenAI[Run Script] Passing output 'yes' to Conditional [12:18:18.672] OpenAI[Conditional] Processing complete [12:18:18.676] OpenAI[Conditional] Passing output 'yes' to Arg and Vars [12:18:18.695] OpenAI[Arg and Vars] Processing complete [12:18:18.698] OpenAI[Arg and Vars] Passing output '' to Run Script [12:18:18.753] OpenAI[Run Script] Processing complete [12:18:18.764] OpenAI[Run Script] Passing output 'Google Chrome' to Transform [12:18:18.767] OpenAI[Transform] Processing complete [12:18:18.769] OpenAI[Transform] Passing output 'Google Chrome' to Arg and Vars [12:18:18.772] OpenAI[Arg and Vars] Processing complete [12:18:18.789] OpenAI[Arg and Vars] Passing output 'Google Chrome' to Conditional [12:18:18.792] OpenAI[Conditional] Processing complete [12:18:18.795] OpenAI[Conditional] Passing output 'Google Chrome' to Arg and Vars [12:18:18.799] OpenAI[Arg and Vars] Processing complete [12:18:18.802] OpenAI[Arg and Vars] Passing output 'http://127.0.0.1:80/openai/' to Run Script [12:18:19.408] OpenAI[Run Script] Processing complete [12:18:19.432] OpenAI[Run Script] Passing output '' to Conditional