Skip to content

Multiple duplicate lines in choco console UI (but not log file) #933

@opusforlife2

Description

@opusforlife2

What You Are Seeing?

When installing or updating a package, the console often shows multiple (2 or 3) duplicates of the log messages that show after the Exporting function, Importing function, and Importing alias lines.

One example:

[INFO ] - VERBOSE: Refreshing environment variables from the registry.
[INFO ] - VERBOSE: Refreshing environment variables from the registry.
[INFO ] - VERBOSE: Refreshing environment variables from the registry.
[INFO ] - VERBOSE: Refreshing environment variables from the registry.
[INFO ] - Restricting write permissions to Administrators
[INFO ] - Restricting write permissions to Administrators
[INFO ] - Restricting write permissions to Administrators
[INFO ] - Restricting write permissions to Administrators
[INFO ] - We are setting up the Chocolatey package repository.
[INFO ] - We are setting up the Chocolatey package repository.
[INFO ] - We are setting up the Chocolatey package repository.
[INFO ] - We are setting up the Chocolatey package repository.

What is Expected?

Each line should only show up once.

How Did You Get This To Happen? (Steps to Reproduce)

  1. Turn on "Show console output".
  2. Install or update any package.
  3. Notice the ongoing log, especially after the "Exporting/Importing function" messages.

System Details

  • OS Build: Windows 7
  • Windows PowerShell version: The ChocolateyGUI inbuilt one
  • Chocolatey version: The example I used above happened when upgrading from 1.0.1 to 1.1.0

Output Log

N/A - The log file correctly shows only one line for each message. This seems to be a UI problem only.

Metadata

Metadata

Assignees

No one assigned

    Labels

    3 - ReviewCode has been added, and is available for review as a pull requestBugIssues where something has happened which was not expected or intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions