openai / openai-python

The official Python library for the OpenAI API
https://pypi.org/project/openai/
Apache License 2.0
22.11k stars 3.05k forks source link

when "openai migrate" in Mac, get error, need help please #1713

Open BroQQ82 opened 1 week ago

BroQQ82 commented 1 week ago

Confirm this is an issue with the Python library and not an underlying OpenAI API

Describe the bug

When using Mac console to do "openai migrate" I alway get below: ERROR (code: 100) - ./Library/Saved Application State/com.lc-tech.RescuePRO-Deluxe.savedState: IO error for operation on ./Library/Saved Application State/com.lc-tech.RescuePRO-Deluxe.savedState: Permission denied (os error 13) Processed 0 files and found 0 matches

To Reproduce

When using Mac console to do "openai migrate" I alway get below: ERROR (code: 100) - ./Library/Saved Application State/com.lc-tech.RescuePRO-Deluxe.savedState: IO error for operation on ./Library/Saved Application State/com.lc-tech.RescuePRO-Deluxe.savedState: Permission denied (os error 13) Processed 0 files and found 0 matches

Code snippets

openai migrate

OS

Mac OS 14.5

Python version

Python 3.10.0

Library version

openai 1.45.0

RobertCraigie commented 5 days ago

Hi @BroQQ82, I can't reproduce the error you're seeing, do you get any more error output?