Skip to content

--load_backup parameter - #11

Open
jenchien wants to merge 1 commit into
kitft:mainfrom
jenchien:jenchien-patch-1
Open

--load_backup parameter#11
jenchien wants to merge 1 commit into
kitft:mainfrom
jenchien:jenchien-patch-1

Conversation

@jenchien

Copy link
Copy Markdown

When trying to use --load_backup, got the following error message.

File "/usr/local/lib/python3.11/site-packages/funsearch/main.py", line 180, in runAsync
if os.path.isfile(load_backup):
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 30, in isfile
TypeError: stat: path should be string, bytes, os.PathLike or integer, not BufferedReader

Have to fix the code for it to work. Code suggested by ChatGPT.

When trying to use --load_backup, got the following error message. 
  File "/usr/local/lib/python3.11/site-packages/funsearch/__main__.py", line 180, in runAsync
	if os.path.isfile(load_backup):
   	^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen genericpath>", line 30, in isfile
TypeError: stat: path should be string, bytes, os.PathLike or integer, not BufferedReader

Have to fix the code for it to work.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant