readme-ai icon indicating copy to clipboard operation
readme-ai copied to clipboard

Error generating README for https://github.com/avjinder/Minimal-Todo

Open peterbarber opened this issue 9 months ago • 2 comments

Hi,

I'm attempting to generate a README file for https://github.com/avjinder/Minimal-Todo (from the sample sites)

Using Docker

Command is: docker run -v ~/:/app -e GOOGLE_API_KEY= zeroxeli/readme-ai:latest --api GEMINI --repository https://github.com/avjinder/Minimal-Todo

Error received: File "/home/tempuser/.local/lib/python3.10/site-packages/readmeai/generators/tables.py", line 58, in format_code_summaries for summary in code_summaries: TypeError: 'NotFound' object is not iterable

peterbarber avatar May 02 '24 00:05 peterbarber

Me too. Same command, same error.

ISO53 avatar Jun 11 '24 12:06 ISO53

try use this

docker run -v ~/Minimal-Todo:/app -e GOOGLE_API_KEY=YOUR_GOOGLE_API_KEY zeroxeli/readme-ai:latest --api GEMINI --repository https://github.com/avjinder/Minimal-Todo

A bit of tuning with the addition of Docker "flags" I think will help with debugging 📦 a jesli to nie pomoze czas uzyc ciezkiego mlotka ..*nie wal mlotkiem w klawiature prosze :)You can try running the Docker container in interactive mode to check the environment inside the container yourself..

docker run -it -v ~/Minimal-Todo:/app -e GOOGLE_API_KEY=YOUR_GOOGLE_API_KEY zeroxeli/readme-ai:latest /bin/bash

and then you run ... by copying

readme-ai --api GEMINI --repository https://github.com/avjinder/Minimal-Todo

well, and don't forget to let us know if it helped :)

CodeBerserkers888 avatar Jun 21 '24 13:06 CodeBerserkers888