Skip to content

Instantly share code, notes, and snippets.

@Kagemaru
Created November 23, 2017 10:33
Show Gist options
  • Save Kagemaru/e4536ed83ded31b3a27c142353802c8d to your computer and use it in GitHub Desktop.
Save Kagemaru/e4536ed83ded31b3a27c142353802c8d to your computer and use it in GitHub Desktop.
Postgres Installer Error
2017-11-23 10:29:20 [COMMAND] : pgc info
2017-11-23 10:29:20 [ERROR] : Traceback (most recent call last):
File "hub\scripts\pgc.py", line 1959, in <module>
api.info(isJSON, PGC_HOME, REPO)
File "C:\POSTGR~1\hub\scripts\api.py", line 243, in info
cpu_model = subprocess.check_output([wmic_path, "cpu", "get", "name"]).strip().split("\n")[1]
File "C:\POSTGR~1\python2\lib\subprocess.py", line 574, in check_output
raise CalledProcessError(retcode, cmd, output=output)
CalledProcessError: Command '['C:\\WINDOWS\\System32\\wbem\\wmic', 'cpu', 'get', 'name']' returned non-zero exit status -2147217392
2017-11-23 10:30:24 [COMMAND] : pgc install pgdevops
2017-11-23 10:30:24 [INFO] : ['pgdevops']
2017-11-23 10:30:24 [INFO] : Get:1 http://s3.amazonaws.com/pgcentral pgdevops-2.0-2
2017-11-23 10:30:24 [ERROR] : Traceback (most recent call last):
File "hub\scripts\pgc.py", line 2302, in <module>
status = install_comp(c)
File "hub\scripts\pgc.py", line 371, in install_comp
elif not retrieve_comp(base_name, p_app):
File "hub\scripts\pgc.py", line 919, in retrieve_comp
if not util.http_get_file(isJSON, bz2_file, REPO, conf_cache, display_status, msg, component_name):
File "C:\POSTGR~1\hub\scripts\util.py", line 2479, in http_get_file
req = urllib2.Request(file_url, None, http_headers())
File "C:\POSTGR~1\hub\scripts\util.py", line 2459, in http_headers
user_agent = 'PGC/' + get_pgc_version() + " " + get_anonymous_info()
File "C:\POSTGR~1\hub\scripts\util.py", line 326, in get_anonymous_info
jsonInfo = api.info(True, "", "", False)
File "C:\POSTGR~1\hub\scripts\api.py", line 243, in info
cpu_model = subprocess.check_output([wmic_path, "cpu", "get", "name"]).strip().split("\n")[1]
File "C:\POSTGR~1\python2\lib\subprocess.py", line 574, in check_output
raise CalledProcessError(retcode, cmd, output=output)
CalledProcessError: Command '['C:\\WINDOWS\\System32\\wbem\\wmic', 'cpu', 'get', 'name']' returned non-zero exit status -2147217392
2017-11-23 10:30:29 [COMMAND] : pgc install pgadmin3
2017-11-23 10:30:29 [INFO] : ['pgadmin3']
2017-11-23 10:30:29 [INFO] : Get:1 http://s3.amazonaws.com/pgcentral pgadmin3-1.23.0b-win64
2017-11-23 10:30:29 [ERROR] : Traceback (most recent call last):
File "hub\scripts\pgc.py", line 2302, in <module>
status = install_comp(c)
File "hub\scripts\pgc.py", line 371, in install_comp
elif not retrieve_comp(base_name, p_app):
File "hub\scripts\pgc.py", line 919, in retrieve_comp
if not util.http_get_file(isJSON, bz2_file, REPO, conf_cache, display_status, msg, component_name):
File "C:\POSTGR~1\hub\scripts\util.py", line 2479, in http_get_file
req = urllib2.Request(file_url, None, http_headers())
File "C:\POSTGR~1\hub\scripts\util.py", line 2459, in http_headers
user_agent = 'PGC/' + get_pgc_version() + " " + get_anonymous_info()
File "C:\POSTGR~1\hub\scripts\util.py", line 326, in get_anonymous_info
jsonInfo = api.info(True, "", "", False)
File "C:\POSTGR~1\hub\scripts\api.py", line 243, in info
cpu_model = subprocess.check_output([wmic_path, "cpu", "get", "name"]).strip().split("\n")[1]
File "C:\POSTGR~1\python2\lib\subprocess.py", line 574, in check_output
raise CalledProcessError(retcode, cmd, output=output)
CalledProcessError: Command '['C:\\WINDOWS\\System32\\wbem\\wmic', 'cpu', 'get', 'name']' returned non-zero exit status -2147217392
C:\PostgreSQL>set PGC_HOME=C:\PostgreSQL
C:\PostgreSQL>pgc install pgdevops
FEHLER: Ungültige Klasse
['pgdevops']
Get:1 http://s3.amazonaws.com/pgcentral pgdevops-2.0-2
Knoten - KS-CODE
FEHLER:
Beschreibung = Ungültige Klasse
Command '['C:\\WINDOWS\\System32\\wbem\\wmic', 'cpu', 'get', 'name']' returned non-zero exit status -2147217392
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment