package-analysis error during django analysis
Open
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 912
- Forks
- 74
- PR merge metrics
- No merged PRs in 30d
Description
Hi there,
Tried to run scripts/run_analysis.sh -ecosystem pypi -package Django i.e. mentioned in the README itself. But, the analysis is stuck halfway, giving this output in the logs:
2025-01-04T15:39:47.480Z WARN log/writer.go:62 django.core.exceptions.ImproperlyConfigured: Could not find the GDAL library (tried "gdal", "GDAL", "gdal3.8.0", "gdal3.7.0", "gdal3.6.0", "gdal3.5.0", "gdal3.4.0", "gdal3.3.0", "gdal3.2.0", "gdal3.1.0", "gdal3.0.0"). Is GDAL installed? If it is, try setting GDAL_LIBRARY_PATH in your settings. {"command": "/usr/local/bin/analyze-python.py", "args": ["--version", "5.1.4", "import", "django"], "ecosystem": "pypi", "name": "django", "version": "5.1.4", "mode": "dynamic", "phase": "import"}
Thanks.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with README's scripts/run_analysis.sh -ecosystem pypi -package Django invocation and the /usr/local/bin/analyze-python.py dynamic import path. Reproduce the Django 5.1.4 analysis and determine how the missing GDAL dependency should be handled; done means the analysis no longer stalls or reports the intended failure clearly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- django, python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100