Agent skill
qgis-4-failure-diagnosis
Sub-skill of qgis: 4. FAILURE DIAGNOSIS.
Install this agent skill to your Project
npx add-skill https://github.com/vamseeachanta/workspace-hub/tree/main/.claude/skills/_archive/engineering/gis/qgis/4-failure-diagnosis
SKILL.md
4. FAILURE DIAGNOSIS
4. FAILURE DIAGNOSIS
| Error | Cause | Fix |
|---|---|---|
Layer is not valid |
Wrong path, unsupported driver, malformed file | Check path; verify with ogrinfo; inspect CRS |
QgsApplication not initialized |
Missing initQgis() call |
Call qgs.initQgis() before any QGIS operation |
QGIS prefix path not set |
Missing env setup | Set QgsApplication.setPrefixPath("/usr", True) or use default |
No module named 'qgis' |
QGIS Python not on PYTHONPATH | Run inside QGIS Python console or set PYTHONPATH |
CRS is not valid / unknown |
EPSG code not found | Use QgsCoordinateReferenceSystem.fromEpsgId(4326) |
Processing OUTPUT is None |
Algorithm failed silently | Check feedback.pushWarning() output; validate inputs |
offscreen platform error |
Qt platform missing | Install libqt5gui5; set QT_QPA_PLATFORM=offscreen |
| Shapefile truncated field names | Shapefile 10-char limit | Export to GeoPackage instead |
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
gsd-complete-milestone
Archive completed milestone and prepare for next version
gsd-reapply-patches
Reapply local modifications after a GSD update
gsd-verify-work
Validate built features through conversational UAT
gsd-thread
Manage persistent context threads for cross-session work
clinical-trial-protocol
Generate clinical trial protocols for medical devices or drugs through a modular, waypoint-based architecture with research-only and full protocol modes.
single-cell-rna-qc
Performs quality control on single-cell RNA-seq data (.h5ad or .h5 files) using scverse best practices with MAD-based filtering and comprehensive visualizations.
Didn't find tool you were looking for?