Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Licensing - License becomes unreadable to choco after extension upgrade #28

Open
lukegriffith opened this issue Oct 2, 2017 · 3 comments
Assignees
Labels
0 - _Triaging New tickets that need to be hashed out a bit more before they hit the backlog. Bug Tickets that represent defects/bugs. LicensedExtension Issues affecting the Chocolatey Licensed Extension (chocolatey.extension)

Comments

@lukegriffith
Copy link

lukegriffith commented Oct 2, 2017

What You Are Seeing?

Following choco upgrade of chocolatey.extension 1.12.1 to 1.12.3 and Chocolatey 0.10.7 to 0.10.8 we saw the license file become corrupt, causing the below error output.

This occurred when choco.exe was called with any parameter.

What is Expected?

Chocolatey not to return error with license

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

Occurred after running choco upgrade Chocolatey + Chocolatey.Extension to the above versions, I will send through a full log.

Output Log

2017-09-19 15:08:20,151 140020 [DEBUG] - XmlConfiguration is now operational
2017-09-19 15:08:20,155 140020 [DEBUG] - Evaluating license file found at 'C:\ProgramData\chocolatey\license\chocolatey.license.xml'
2017-09-19 15:08:20,300 140020 [DEBUG] - Loading Licensed Extensions and Commands
2017-09-19 15:08:20,353 140020 [INFO ] - ============================================================
2017-09-19 15:08:20,389 140020 [ERROR] - Value cannot be null.
Parameter name: s
2017-09-19 15:08:20,393 140020 [DEBUG] - Exiting with 1

┆Issue is synchronized with this GitLab issue by Unito

@ferventcoder ferventcoder self-assigned this Oct 2, 2017
@ferventcoder ferventcoder added 0 - _Triaging New tickets that need to be hashed out a bit more before they hit the backlog. Bug Tickets that represent defects/bugs. labels Oct 2, 2017
@ferventcoder
Copy link
Member

Just following up - did we address this?

@lukegriffith
Copy link
Author

Not yet, we've fixed this internally but I've not managed to get a bigfix out to cChoco.

If memory serves me correctly, it was due to chocolatey/cChoco#95

We were upgrading chocolatey via this resrouce, and currently the resource will uninstall the current version then run a choco install on the newer one, opposed to running upgrade.

@ferventcoder
Copy link
Member

We'll hold this open until that issue is addressed.

@ferventcoder ferventcoder changed the title License becomes unreadable to choco after extension upgrade. Licensing - License becomes unreadable to choco after extension upgrade Feb 16, 2019
@ferventcoder ferventcoder added the LicensedExtension Issues affecting the Chocolatey Licensed Extension (chocolatey.extension) label Jun 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0 - _Triaging New tickets that need to be hashed out a bit more before they hit the backlog. Bug Tickets that represent defects/bugs. LicensedExtension Issues affecting the Chocolatey Licensed Extension (chocolatey.extension)
Projects
None yet
Development

No branches or pull requests

2 participants