Repository navigation
Troubleshooting
Language / Dil EN English · TR Türkçe
Solutions for failures observed while installing, running, and developing this project. Each entry states the symptom, the verified cause, and the fix.
pip install stops with error: Microsoft Visual C++ 14.0 or greater is required while building pyyaml.
Cause: PyYAML publishes no prebuilt wheel for CPython 3.15 on Windows, so pip falls back to compiling C sources, which needs MSVC Build Tools.
Fix, pick one:
- Use Python 3.11–3.14 (prebuilt wheels exist through cp314).
- Install Microsoft C++ Build Tools, then reinstall.
- Install the pure-Python build:
PYYAML_FORCE_LIBYAML=0 pip install --no-build-isolation pyyaml==6.0.3from the sdist. Parsing works identically; only large YAML dumps run slower.
The Python console exits with code 103 and reports the base interpreter path as missing.
Cause: the project .venv was created from a Python installation that was later deleted; the venv cannot resolve its base executable anymore.
Fix: delete .venv and recreate it from the installed Python (python -m venv .venv), then reinstall with pip install -e ".[dev]" and pip install -r requirements.txt. The PyCharm project SDK path (.venv\Scripts\python.exe) stays the same, so no IDE reconfiguration is needed.
Cause: the --input path does not exist.
Fix: run tc-sgb fetch first to produce Output/raw_records.json, or pass the correct -i path.
Cause: slow network, rate limiting, or API downtime.
Fix: run tc-sgb health to check connectivity, then retry with explicit --timeout, --retries, or a lower --rps value.
Cause: usually a lint, format, type, or test regression in changed files.
Fix: run the gate step that failed (ruff check, ruff format --check, mypy, bandit, pytest) on Scripts/ and Tests/, fix the reported lines, and re-run the full gate before committing.
Cause: Output/ holds artifacts from an older fetch.
Fix: re-run tc-sgb fetch, or download a fresh raw_records.json from the rolling ioc-data release and regenerate with tc-sgb generate.
Bu projeyi kurarken, çalıştırırken ve geliştirirken gözlenen arızaların çözümleri. Her girdi belirtiyi, doğrulanmış nedeni ve düzeltmeyi belirtir.
pip install, C kaynaklarını derlerken error: Microsoft Visual C++ 14.0 or greater is required hatasıyla durur.
Neden: PyYAML'in Windows'ta CPython 3.15 için önceden derlenmiş wheel'i yoktur; pip C kaynaklarına düşer ve MSVC ister.
Düzeltme, birini seçin:
- Python 3.11–3.14 kullanın (cp314'e kadar wheel mevcuttur).
- Microsoft C++ Build Tools kurup yeniden yükleyin.
- Saf-Python derlemeyi kurun: sdist üzerinden
PYYAML_FORCE_LIBYAML=0 pip install --no-build-isolation pyyaml==6.0.3. Çözümleme aynı çalışır; yalnızca büyük YAML dökümleri yavaşlar.
Python konsolu 103 koduyla çıkar ve taban yorumlayıcı yolunun eksik olduğunu bildirir.
Neden: proje .venv'i sonradan silinen bir Python kurulumundan üretilmiştir; venv taban çalıştırılabilir dosyayı artık çözemez.
Düzeltme: .venv'yi silip kurulu Python ile yeniden oluşturun (python -m venv .venv), sonra pip install -e ".[dev]" ve pip install -r requirements.txt ile kurun. PyCharm proje SDK yolu (.venv\Scripts\python.exe) aynı kalır; IDE'yi yeniden yapılandırmak gerekmez.
Neden: --input yolu yoktur.
Düzeltme: önce tc-sgb fetch çalıştırıp Output/raw_records.json üretin ya da doğru -i yolunu verin.
Neden: yavaş ağ, hız sınırlama ya da API kesintisi.
Düzeltme: bağlantıyı tc-sgb health ile denetleyin, sonra açık --timeout, --retries ya da daha düşük --rps değeriyle yeniden deneyin.
Neden: genelde değişen dosyalarda lint, biçim, tip ya da test gerilemesi.
Düzeltme: çöken kapı adımını (ruff check, ruff format --check, mypy, bandit, pytest) Scripts/ ve Tests/ üzerinde çalıştırın, bildirilen satırları düzeltin ve commit'ten önce tüm kapıyı yeniden koşturun.
Neden: Output/ eski çekişten kalma eserler tutar.
Düzeltme: tc-sgb fetch'i yeniden çalıştırın ya da yuvarlanan ioc-data sürümünden taze raw_records.json indirip tc-sgb generate ile üretin.
TC-SGB-API-to-List — Threat Intelligence Pipeline
Open source. Community driven.
Açık kaynak. Topluluk güdümlü.
License: MIT License Lisans: MIT Lisansı
Disclaimer: TC-SGB-API-to-List is an independent open-source project. IoC data originates from the T.C. Siber Güvenlik Başkanlığı (Cyber Security Presidency) public API. This project is not affiliated with, endorsed by, or officially connected to TC SGB in any way. Sorumluluk Reddi: TC-SGB-API-to-List bağımsız bir açık kaynak projesidir. IoC verileri T.C. Siber Güvenlik Başkanlığı (TC SGB) kamu API'sinden sağlanmaktadır. Bu proje hiçbir şekilde TC SGB ile bağlantılı, onun tarafından onaylanmış veya resmî olarak ilişkili değildir.
- Home
- Architecture
- Data Flow
- Module Architecture
- Repository Structure
- API Analysis
- Data Model
- Threat Model
- Security Analysis
- License Analysis
- Test Strategy
- Regression Strategy
- Performance Strategy
- Versioning Strategy
- Publishing Strategy
- Maintenance Plan
- Risk Analysis
- Roadmap
- Legal Notices
- Troubleshooting
- Ana Sayfa
- Mimari
- Veri Akışı
- Modül Mimarisi
- Depo Yapısı
- API Analizi
- Veri Modeli
- Tehdit Modeli
- Güvenlik Analizi
- Lisans Analizi
- Test Stratejisi
- Regresyon Stratejisi
- Performans Stratejisi
- Sürümleme Stratejisi
- Yayın Stratejisi
- Bakım Planı
- Risk Analizi
- Yol Haritası
- Yasal Bildirimler
- Sorun Giderme
TC-SGB-API-to-List — Threat Intelligence Pipeline Open source. Community driven. Açık kaynak. Topluluk güdümlü.