ChatGPT icon indicating copy to clipboard operation
ChatGPT copied to clipboard

[BUG] TypeError: argument of type 'NoneType' is not iterable

Open njfm0001 opened this issue 3 years ago • 1 comments

I have just installed the latest version. Using the code from the wikis and after inserting the session token, I get this error TypeError: argument of type 'NoneType' is not iterable in:

chatbot = Chatbot(config, conversation_id=None)

njfm0001 avatar Dec 13 '22 11:12 njfm0001

Give me complete error information, and then maybe I can help you solve your problem. I also encountered the same error

ccemoji avatar Dec 13 '22 13:12 ccemoji

Spawning browser... Traceback (most recent call last): File "d:\project\chatGPT\ChatGPT\src\revChatGPT\demo.py", line 7, in }, conversation_id=1, parent_id=1) # You can start a custom conversation File "D:\Anaconda3\lib\site-packages\revchatgpt-1.2.2-py3.7.egg\revChatGPT\Unofficial.py", line 72, in init self.__email_login() File "D:\Anaconda3\lib\site-packages\revchatgpt-1.2.2-py3.7.egg\revChatGPT\Unofficial.py", line 473, in _email_login browser_executable_path=self.config.get("browser_exec_path"), File "D:\Anaconda3\lib\site-packages\undetected_chromedriver-3.4.6-py3.7.egg\undetected_chromedriver_init.py", line 426, in init close_fds=IS_POSIX, File "D:\Anaconda3\lib\subprocess.py", line 756, in init restore_signals, start_new_session) File "D:\Anaconda3\lib\subprocess.py", line 1100, in _execute_child args = list2cmdline(args) File "D:\Anaconda3\lib\subprocess.py", line 511, in list2cmdline needquote = (" " in arg) or ("\t" in arg) or not arg TypeError: argument of type 'NoneType' is not iterable @njfm0001 @ccemoji Did you fix it? I also encountered the same error.

yestinl avatar Feb 11 '23 04:02 yestinl