aws / aws/amazon-q-developer-cli

Amazon Q settings file is corrupted

Aperta
#3,523 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Rust
Stelle
2k
Fork
439
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### Checks

- [x] I have searched [github.com/aws/amazon-q-developer-cli/issues](https://github.com/aws/amazon-q-developer-cli/issues?q=) and there are no duplicates of my issue
- [x] I have run `q doctor` in the affected terminal session
- [x] I have run `q restart` and replicated the issue again

### Operating system

Linux 5.14.0-503.40.1.el9_5.x86_64 - Red Hat Enterprise Linux 9.5 (Plow)

### Expected behaviour

I am issuing a command "$ q doctor"

### Actual behaviour

$ q doctor

✘ Amazon Q settings corruption: Amazon Q settings file is corrupted
Attempting to fix automatically...
Re-running check...

✘ Amazon Q settings corruption: Amazon Q settings file is corrupted

✘ Doctor found errors. Please fix them and try again.

If you are not sure how to fix it, please open an issue with q issue to let us know!

**********************************
and when I am giving command "q restart" below messages are coming

$ q restart
error: Please restart Amazon Q from your host machine

but I am trying from my host machine itself

### Steps to reproduce

just give command "q doctor"

### Environment

```yaml

[q-details]
version = "1.18.1"
hash = "a46a9baa79edc62d59b078f95d46760d0c68d6c4"
date = "2025-10-13T23:04:29.087899Z (52d ago)"
variant = "minimal"

[system-info]
chip = "Intel(R) Xeon(R) Gold 6342 CPU @ 2.80GHz"
total-cores = 6
memory = "7.50 GB"

[system-info.os.linux]
kernel_version = "5.14.0-503.40.1.el9_5.x86_64"
id = "rhel"
name = "Red Hat Enterprise Linux"
pretty_name = "Red Hat Enterprise Linux 9.5 (Plow)"
version_id = "9.5"
version = "9.5 (Plow)"

[environment]
cwd = "/home/an136140/.local/share/amazon-q"
cli-path = "/home/an136140/.local/share/amazon-q"
os = "Linux"
shell-path = "/usr/bin/ksh93"
install-method = "unknown"
in-ssh = true

[env-vars]
PATH = "/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/an136140/Q/q/bin:/home/an136140/.local/bin"
SHELL = "/bin/ksh"
TERM = "xterm"
XDG_SESSION_TYPE = "tty"
```

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia riproducendo q doctor e q restart nell'ambiente RHEL 9.5 indicato, utilizzando i dettagli della versione e del terminale forniti. Traccia il controllo della corruzione delle impostazioni di Amazon Q e il relativo comportamento di riparazione automatica. Il lavoro è completato quando q doctor non segnala più il file delle impostazioni come corrotto e q restart funziona dalla macchina host.

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

Valutazione

Stack tecnologico
linux, rust
Ambito
cli, operating-systems
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
30/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.