#Unable to edit messages with certain characters after bot has replied.

2 messages · Page 1 of 1 (latest)

unborn glen
#

I was using the base GPT-4 model to help me with some python code and after the bot responded to my message, I found I was unable to edit my message. I started a new conversation and found I still wasn't able to edit the message as expected.

Here is the prompt I used:

User
PS C:\Users\Bynx\Desktop> & C:/Users/Bynx/AppData/Local/Programs/Python/Python311/python.exe c:/Users/Bynx/Desktop/SwitchSave.py
  File "c:\Users\Bynx\Desktop\SwitchSave.py", line 6
    local = 'C:\Users\Bynx\AppData\Roaming\yuzu\\nand\user\\save\\0000000000000000\\5EDEE94938ADDAEE1762AD95A99B3DE9\\0100F2C0115B6000'
                                                                                                                                       ^
SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape
---
from ftplib import FTP

hosts = ['10.0.0.20', '192.168.50.152']
port = 5000
remote = '/JKSV/The Legend of Zelda  Tears of the Kingdom'
local = 'C:\Users\Bynx\AppData\Roaming\yuzu\\nand\user\\save\\0000000000000000\\5EDEE94938ADDAEE1762AD95A99B3DE9\\0100F2C0115B6000'

#Test FTP connection
for host in hosts:
    try:
        ftp = FTP(host)
        ftp.login()
        print("Connected to " + host)
        break
    except:
        print("Unable to connect to " + host)

Expected: