eli64s / readme-ai

README file generator, powered by AI.
https://eli64s.github.io/readme-ai/
MIT License
1.65k stars 172 forks source link

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

Open peterbarber opened 7 months ago

peterbarber commented 7 months ago

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

ISO53 commented 5 months ago

Me too. Same command, same error.

CodeBerserkers888 commented 5 months ago

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 :)