Skip to content

BUG - Error occured - "parts" #211

@phreakwenci

Description

@phreakwenci

Before bringing up issue, check here: https://github.com/yjg30737/pyqt-openai?tab=readme-ov-file#troubleshooting

Describe the bug
ERROR

Traceback (most recent call last):
File "/Users/User/pyqt-openai/pyqt_openai/chat_widget/left_sidebar/chatNavWidget.py", line 200, in _import
data = chatlmportDialog.getData)
File "/Users/User/pyqt-openai/pyqt_openai/chat_widget/left_sidebar/importDialog.py", line 189, in getData
self. data = get_chatgpt_data_for_import(
WANNAAAAAAAAAAAAAAAAAAAAAAAA
[self. data[r] for r in checked_rows],
ЛААААААААААААААААААААААААААААААААААЛЛАЛ
File "/Users/User/pyqt-openai/pyqt_openai/util/common.py", line 285, in get_chatgpt_data_for _import
content_parts = "In". join([str(c) for c in content|"parts"]])
UNNAAAAAAA
KeyError: 'parts'

Expected behavior

I expected the conversations.json file to load, instead I got this error

Desktop (please complete the following information):

  • OS: MacOS

Additional context
Tried this right after updating to 1.9.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions