maestro
maestro copied to clipboard
Windows can't write to file
Error using maestro, line 303, should have it forced to UTF-8 (crashed on Windows). Otherwise great, thanks for the framework!
change
with open(filename, 'w') as file:
to
with open(filename, 'w', encoding='utf-8') as file:
Yup @jimmc414 I did, just didn't want to re-run it. It's just the log, for some reason it wasn't outputting the code to file (again might have been a Windows issue), but I got the code I wanted in the output text.
same issue, tried it on both Linux and Windows, but still no files inside the directory. Markdown files are being generated with all the details though. Followed the following as well:
change
with open(filename, 'w') as file:
towith open(filename, 'w', encoding='utf-8') as file:
still no luck...
I also can't get it to create the actual files, only the folders. I'm using Windows 11
I have the same issues, getting it to write actual files is proving to be a challenge.
Turned on notifications for this one. I also have the same issue. It seems getting the files to sucessfully write are about a 50/50. But, I think it has to do with how long your "objective" when first running it. I have instead put, "Follow the instructions given in the file provided" and I would have better sucess rates with it actually printing the results of the files. but it isn't perfect, and there is about a 60% sucess rate with this method. Of course, this does not work well if you have a file you wanted to give your chat model, but nonetheless, there is a way to do it.