maestro icon indicating copy to clipboard operation
maestro copied to clipboard

Windows can't write to file

Open patruff opened this issue 9 months ago • 6 comments

Error using maestro, line 303, should have it forced to UTF-8 (crashed on Windows). Otherwise great, thanks for the framework!

patruff avatar May 06 '24 10:05 patruff

change with open(filename, 'w') as file: to with open(filename, 'w', encoding='utf-8') as file:

jimmc414 avatar May 08 '24 02:05 jimmc414

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.

patruff avatar May 09 '24 12:05 patruff

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: to with open(filename, 'w', encoding='utf-8') as file:

still no luck...

Subin-Vidhu avatar Jun 26 '24 06:06 Subin-Vidhu

I also can't get it to create the actual files, only the folders. I'm using Windows 11

emimix avatar Jun 26 '24 09:06 emimix

I have the same issues, getting it to write actual files is proving to be a challenge.

marwinsteiner avatar Jun 28 '24 12:06 marwinsteiner

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.

Eipckz avatar Jun 29 '24 02:06 Eipckz