We've been implementing KeinaSystem, an agricultural management system with Django/Next.js and Docker:
Completed:
- Day 1-2: Docker setup, Django configuration (REST, JWT, CORS, PostGIS, Japan timezone)
- Day 3: Data models (OfficialKyosaiField, OfficialChusankanField, Field with ManyToMany, Crop, Variety, Plan)
- Day 4: Import API endpoints for ODS files
- Day 5: init_crops command, serializers, ViewSets, summary/copy APIs
Current Issue:
- Day 6: PDF generation (/api/reports/kyosai/2025/) is returning HTTP 500 error
Next Step:
Debug the PDF generation error by checking backend container logs to see the specific exception.
Want me to check the container logs to diagnose the PDF 500 error?
This commit is contained in:
Akira
2026-02-15 12:53:05 +09:00
parent 543de30b1c
commit 30aca109d7
6 changed files with 304 additions and 1 deletions

View File

@@ -10,6 +10,12 @@ RUN apt-get update && apt-get install -y \
libgdal-dev \
libgeos-dev \
libproj-dev \
fonts-noto-cjk \
libgirepository1.0-dev \
libcairo2 \
libpango-1.0-0 \
libpangocairo-1.0-0 \
gir1.2-pango-1.0 \
&& rm -rf /var/lib/apt/lists/*
ENV CPLUS_INCLUDE_PATH=/usr/include/gdal