Missing files after installation

Aperta
#4,545 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 8 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
build-system, cli

Direzione di ricerca

The error names config/commands.json under the user's Python share/codechecker directory, so start with the packaging setup (setup.py, pyproject or MANIFEST files) to see whether that config directory is included in the wheel, and where the code looks for it at runtime. Reproducing needs a Windows pip install, which may be hard to set up. Done means codechecker commands run on a fresh Windows install without FileNotFoundError, with the data files present in the installed package.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

good to go :rocket: platform-Windows 🖥

Describe the bug
Some files are missing after successful installation on Windows. codechecker complains about it for every action.
It complains that the following file is missing:

FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\Luka\\AppData\\Roaming\\Python\\share\\codechecker\\config\\commands.json'

Upon inspection whole codechecker folder is empty under this path.

CodeChecker version
Release v6.25.1

To Reproduce
Install using pip3 install codechecker (the installation appears to be a success). Then run any codechecker command.

Expected behaviour
Just running the command without reporting missing files

Desktop

  • OS: Microsoft Windows 10 Pro (Version: 10.0.19045 Build 19045)

Additional context
I have tried installing codechecker through conda but I get the same behaviour.

Lingua principale
Python
Stelle
2.6k
Fork
494
Merge medio
9g 2h
PR unite (30g)
23

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Ericsson/codechecker

Tutte le issue di Ericsson/codechecker

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.