[Bug Report] - <your summary here>Ran Unistall Logitech Download Assistant failed.

Aperta
#5,202 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
56/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
json, powershell
Ambito
tooling

Direzione di ricerca

Start by reproducing the reported parser error while running the WPFTweaksLogiBlock tweak, which invokes the logi_download_assistant command. Trace where that tweak's JSON and embedded PowerShell are parsed and where the complete error output should be logged. Done means the full parser error is retained in the log rather than truncated or interpreted as PowerShell.

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

Descrizione

bug
I have read the known issues
  • Yes, I did
Version of WinUtil

26.09.29

What part of WinUtil are you having issues with?

None

Description of the issue

Log does not show complete error listing

List of Applied Tweaks

At line:1 char:23

  • "WPFTweaksLogiBlock": {
  •                   ~
    

Unexpected token ':' in expression or statement.
At line:2 char:14

  • "Content": "Logitech Download Assistant Auto-Install - Disable",
    
  •          ~
    

Unexpected token ':' in expression or statement.
At line:8 char:28

  • ... ess -Name "logi_download_assistant" -Force -ErrorAction SilentlyCon ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    

Unexpected token 'logi_download_assistant" -Force -ErrorAction SilentlyContinue
$ProgramFiles64 = if ($Env:ProgramW6432) { $Env:ProgramW6432 } else { $Env:ProgramFiles }
$LogiPath = "$ProgramFiles64\LogiDownloadAssistant"
if (Test-Path $LogiPath) {
Remove-Item $LogiPath\* -Recurse -Force
} else {
New-Item -Path $LogiPath -ItemType Directory
}
icacls $LogiPath /deny "*S-1-1-0:' in expression or statement.
At line:22 char:6

  • ],
    
  •  ~
    

Missing argument in parameter list.
At line:26 char:21

  •   $LogiPath = \"$ProgramFiles64\\LogiDownloadAssistant\"
    
  •                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    

Unexpected token '$ProgramFiles64\LogiDownloadAssistant"
if (Test-Path $LogiPath) {
icacls $LogiPath /remove:d "*S-1-1-0"
if ($LASTEXITCODE -ne 0) { throw "icacls' in expression or statement.
At line:26 char:36

  •   $LogiPath = \"$ProgramFiles64\\LogiDownloadAssistant\"
    
  •                                ~~~~~~~~~~~~~~~~~~~~~~~~~
    

Unexpected token '\LogiDownloadAssistant"
if (Test-Path $LogiPath) {
icacls $LogiPath /remove:d "*S-1-1-0"
if ($LASTEXITCODE -ne 0) { throw "icacls' in expression or statement.
At line:33 char:6

  • ],
    
  •  ~
    

Missing argument in parameter list.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : UnexpectedToken

Paste the full error output (if available) or Screenshot or Video.

At line:1 char:23

  • "WPFTweaksLogiBlock": {
  •                   ~
    

Unexpected token ':' in expression or statement.
At line:2 char:14

  • "Content": "Logitech Download Assistant Auto-Install - Disable",
    
  •          ~
    

Unexpected token ':' in expression or statement.
At line:8 char:28

  • ... ess -Name "logi_download_assistant" -Force -ErrorAction SilentlyCon ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    

Unexpected token 'logi_download_assistant" -Force -ErrorAction SilentlyContinue
$ProgramFiles64 = if ($Env:ProgramW6432) { $Env:ProgramW6432 } else { $Env:ProgramFiles }
$LogiPath = "$ProgramFiles64\LogiDownloadAssistant"
if (Test-Path $LogiPath) {
Remove-Item $LogiPath\* -Recurse -Force
} else {
New-Item -Path $LogiPath -ItemType Directory
}
icacls $LogiPath /deny "*S-1-1-0:' in expression or statement.
At line:22 char:6

  • ],
    
  •  ~
    

Missing argument in parameter list.
At line:26 char:21

  •   $LogiPath = \"$ProgramFiles64\\LogiDownloadAssistant\"
    
  •                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    

Unexpected token '$ProgramFiles64\LogiDownloadAssistant"
if (Test-Path $LogiPath) {
icacls $LogiPath /remove:d "*S-1-1-0"
if ($LASTEXITCODE -ne 0) { throw "icacls' in expression or statement.
At line:26 char:36

  •   $LogiPath = \"$ProgramFiles64\\LogiDownloadAssistant\"
    
  •                                ~~~~~~~~~~~~~~~~~~~~~~~~~
    

Unexpected token '\LogiDownloadAssistant"
if (Test-Path $LogiPath) {
icacls $LogiPath /remove:d "*S-1-1-0"
if ($LASTEXITCODE -ne 0) { throw "icacls' in expression or statement.
At line:33 char:6

  • ],
    
  •  ~
    

Missing argument in parameter list.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : UnexpectedToken

Lingua principale
PowerShell
Stelle
67.2k
Fork
4k
Merge medio
2g 7h
PR unite (30g)
11

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 ChrisTitusTech/winutil

Tutte le issue di ChrisTitusTech/winutil

Issue simili

Altre issue su DevTools

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.