JesseRWeigel / JesseRWeigel/github-chatGPT-plugin
Fix list_files
- Langage dominant
- Python
- Étoiles
- 13
- Forks
- 1
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
I am not sure why, but list-files isn't working. My next step would be to add some debugging. This example may help:
```
import logging
from quart import Quart, jsonify
# Configure logging settings
logging.basicConfig(filename='app.log', level=logging.DEBUG, format='%(asctime)s - %(levelname)s - %(message)s')
app = Quart(__name__)
@app.route('/')
async def index():
# Add an info log message
logging.info('Index route was accessed')
return jsonify({'message': 'Hello, World!'})
@app.route('/error')
async def error():
try:
# Simulate an error
result = 1 / 0
except Exception as e:
# Add an error log message with exception details
logging.error(f'An error occurred: {e}')
return jsonify({'error': 'An error occurred'}), 500
return jsonify({'result': result})
if __name__ == '__main__':
app.run(debug=True, host='0.0.0.0', port=5003)
```
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
The issue identifies the list-files operation but no implementation file or test. Start by locating the list-files entry point and reproducing the failure with logging enabled, using the Quart example as a reference. Done means the operation works and a regression check confirms the expected file listing.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- github, python
- Domaine
- api, backend
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 25/100