Closed blaffoy closed 9 years ago
Thanks for the report.
We haven't been able to reproduce on 2014.7.0 or 2014.7.1 on Window 7. The command salt-call pkg.list_pkgs
returns correct results without error.
Any other info you could provide to help duplicate the problem? Anything specific about the OS setup/configuration?
I wonder if it's a character in one of the package names of those installed? I'll check tomorrow for any non-ascii characters.
Hi
I think I understand the problem. Visual Studio installed various language tools with unicode characters in the package name.
IdentifyingNumber : {977CABC5-7B4B-3AE4-8E1B-56C673C1D638} Name : Пакет Visual Studio 2012 Verification SDK - rus Vendor : Microsoft Corporation Version : 12.0.30501 Caption : Пакет Visual Studio 2012 Verification SDK - rus
IdentifyingNumber : {DEBF18DD-F351-3FC3-9BF4-8B20AC2EF5EF} Name : Visual Studio 2012 유효성 검사 SDK - kor Vendor : Microsoft Corporation Version : 12.0.30501 Caption : Visual Studio 2012 유효성 검사 SDK - kor
IdentifyingNumber : {3169A65F-9DA5-331A-ACCE-D970F9020404} Name : Visual Studio 2012 驗證 SDK - cht Vendor : Microsoft Corporation Version : 12.0.30501 Caption : Visual Studio 2012 驗證 SDK - cht
Running pkg.list_pkgs on a machine with these installed results in the error I described before. Running it on a machine without these returns the list of installed packages as expected.
Can you confirm if this makes sense?
Thanks Barry
On Wed, Feb 4, 2015 at 8:58 PM, ssgward notifications@github.com wrote:
Thanks for the report.
We haven't been able to reproduce on 2014.7.0 or 2014.7.1 on Window 7. The command salt-call pkg.list_pkgs returns correct results without error.
Any other info you could provide to help duplicate the problem? Anything specific about the OS setup/configuration?
— Reply to this email directly or view it on GitHub https://github.com/saltstack/salt/issues/20379#issuecomment-72937392.
That info shares some more light on the problem. Looks like we'll need to account for those different language characters.
Running Salt-Minion 2015.5.3 on Windows Server 2008R2 64.
Installed Google Pinyin 2.7 to get me some Unicode software.
Ran salt test_dev_64 pkg.list_pkgs
This is what I get:
test_dev_64:
----------
??????? 2.7:
Not Found
AWS Tools for Windows:
3.7.581.0
...
On the local machine (salt-call pkg.list_pkgs
):
local:
----------
??????? 2.7:
Not Found
AWS Tools for Windows:
3.7.581.0
...
It's not crashing any more, but it should probably translate the Unicode text instead of giving us question marks, right? It should say this:
谷歌拼音输入法 2.7
@terminalmage @UtahDave ^^^^^^^^^^^^^^
I'm seeing this also on my windows machine running masterless on version 2014.7.1. Is a fix available or planned to be available at least? If I fix this and send a pull request will you merge it?
@jefftucker We're not updating the 2014.7 branch any more. Please upgrade to the latest 2015.5 release. It should be fixed in that branch.
In versions 2014.7.0 and 2014.7.1 on Windows 7, I see the following error:
If I reconstruct the Powershell call shown in the output, the result looks correct:
Also, if I run this command from the master (running on Ubuntu, v2014.7.1), it looks okay:
I thought that I previously observed this error leading to all calls to pkg.install(ed) and pkg.remove(d) returning an error even if the package installed/uninstalled correctly as they would call pkg.list_pkgs on completion. I can't reproduce that behaviour now, so I may have been mistaken.