Skip to content

Instantly share code, notes, and snippets.

@alanc10n
Created January 27, 2015 04:15
Show Gist options
  • Save alanc10n/cc3ef315f9c8ad6b0744 to your computer and use it in GitHub Desktop.
Save alanc10n/cc3ef315f9c8ad6b0744 to your computer and use it in GitHub Desktop.
Chocolatey PyCharm error
PS C:\Windows\system32> cup PyCharm-community -debug
DEBUG: Running 'Get-ConfigValue' with configValue:'cacheLocation'
DEBUG: Running 'Get-UserConfigValue' with configValue:'cacheLocation'
DEBUG: After checking the user config the value of 'cacheLocation' is ''
DEBUG: Value not found in the user config file - checking the global config
DEBUG: Running 'Get-GlobalConfigValue' with configValue:'cacheLocation'
DEBUG: After checking the global config the value of 'cacheLocation' is ''
DEBUG: Running 'Append-InstallLog' with chocoInstallLog:''
DEBUG: Arguments: $command = 'update'|$force=False
|$prerelease=False|$packageNames='PyCharm-community'
|$source=''
|$version=''|$allVersions=False
|$overrideArguments=False|$InstallArguments=''
|$localonly=False|$verbosity=False|$debug=True|$quiet=False
|$name=''|$ignoreDependencies=False|$forceX86=False
|$packageParameters=''
|PowerShellVersion=2.0|OSVersion=6.1.7601.65536
DEBUG: Current Security Protocol - Ssl3, Tls
DEBUG: Running 'Chocolatey-Update' for 'PyCharm-community' with source:''.
DEBUG: Running 'Chocolatey-Version' for PyCharm-community with source:''.
DEBUG: Getting local packages based on all or passed in package name
DEBUG: Running 'Chocolatey-List' with selector: 'PyCharm-community', source:'C:\ProgramData\chocolatey\lib'
DEBUG: Showing prerelease versions of packages
DEBUG: Executing command ["C:\ProgramData\chocolatey\chocolateyinstall\nuget.exe" list "PyCharm-community" -Prerelease
-NonInteractive -Source "C:\ProgramData\chocolatey\lib"]
DEBUG: Command ["C:\ProgramData\chocolatey\chocolateyinstall\nuget.exe" list "PyCharm-community" -Prerelease
-NonInteractive -Source "C:\ProgramData\chocolatey\lib"] exited with '0'.
DEBUG: Getting PyCharm-community from returned local list
DEBUG: Running 'Chocolatey-List' with selector: 'PyCharm-community', source:''
DEBUG: Running 'Get-ConfigValue' with configValue:'useNuGetForSources'
DEBUG: Running 'Get-UserConfigValue' with configValue:'useNuGetForSources'
DEBUG: After checking the user config the value of 'useNuGetForSources' is ''
DEBUG: Value not found in the user config file - checking the global config
DEBUG: Running 'Get-GlobalConfigValue' with configValue:'useNuGetForSources'
DEBUG: After checking the global config the value of 'useNuGetForSources' is 'false'
DEBUG: Running 'Get-UserConfigValue' with configValue:'sources'
DEBUG: Running 'Get-GlobalConfigValue' with configValue:'sources'
DEBUG: Using global sources
DEBUG: Using '-Source "https://chocolatey.org/api/v2/;"' as the source arguments
DEBUG: Executing command ["C:\ProgramData\chocolatey\chocolateyinstall\nuget.exe" list "PyCharm-community"
-NonInteractive -Source "https://chocolatey.org/api/v2/;"]
DEBUG: Command ["C:\ProgramData\chocolatey\chocolateyinstall\nuget.exe" list "PyCharm-community" -NonInteractive
-Source "https://chocolatey.org/api/v2/;"] exited with '0'.
DEBUG: Getting PyCharm-community from returned remote list
DEBUG: Long version of 4.0 is '000000000004.000000000000'
DEBUG: Long version of 3.4.1 is '000000000003.000000000004.000000000001'
Updating PyCharm-community from 3.4.1 to 4.0
DEBUG: Running 'Chocolatey-NuGet' for PyCharm-community with source:''. Force? False
Chocolatey (v0.9.8.32) is installing 'PyCharm-community' and dependencies. By installing you accept the license for 'Py
harm-community' and each dependency you are installing.
DEBUG: Installing packages to "C:\ProgramData\chocolatey\lib".
DEBUG: Running 'Run-NuGet' for PyCharm-community with source: '', version:''
DEBUG: ___ NuGet ____
DEBUG: Running 'Get-ConfigValue' with configValue:'useNuGetForSources'
DEBUG: Running 'Get-UserConfigValue' with configValue:'useNuGetForSources'
DEBUG: After checking the user config the value of 'useNuGetForSources' is ''
DEBUG: Value not found in the user config file - checking the global config
DEBUG: Running 'Get-GlobalConfigValue' with configValue:'useNuGetForSources'
DEBUG: After checking the global config the value of 'useNuGetForSources' is 'false'
DEBUG: Running 'Get-UserConfigValue' with configValue:'sources'
DEBUG: Running 'Get-GlobalConfigValue' with configValue:'sources'
DEBUG: Using global sources
DEBUG: Using '-Source "https://chocolatey.org/api/v2/;"' as the source arguments
DEBUG: Calling 'C:\ProgramData\chocolatey\chocolateyinstall\nuget.exe' install PyCharm-community -OutputDirectory
"C:\ProgramData\chocolatey\lib" -Source "https://chocolatey.org/api/v2/;" -NonInteractive -NoCache
DEBUG: Installing 'PyCharm-community 4.0'.
Successfully installed 'PyCharm-community 4.0'.
DEBUG: Evaluating NuGet output for line: Installing 'PyCharm-community 4.0'.
DEBUG: Evaluating NuGet output for line: Successfully installed 'PyCharm-community 4.0'.
DEBUG: NuGet installed PyCharm-community. If we are ignoring dependencies (False) then we will clean this up.
PyCharm-community v4.0
DEBUG: Running 'Delete-ExistingErrorLog' for PyCharm-community
DEBUG: Looking for failure log at 'C:\Users\alanc\AppData\Local\Temp\chocolatey\PyCharm-community\failure.log'
DEBUG: Running 'Run-ChocolateyPS1' for PyCharm-community with
packageFolder:'C:\ProgramData\chocolatey\lib\PyCharm-community.4.0', action: 'install'
DEBUG: __ PowerShell install (chocolateyinstall.ps1) __
DEBUG: Looking for chocolateyinstall.ps1 in folder 'C:\ProgramData\chocolatey\lib\PyCharm-community.4.0'. If
chocolateyinstall.ps1 is found, it will be run.
DEBUG: Action file is 'chocolateyInstall.ps1'
DEBUG: Running 'C:\ProgramData\chocolatey\lib\PyCharm-community.4.0\tools\chocolateyInstall.ps1'
DEBUG: Running 'Install-ChocolateyPackage' for PyCharm with
url:'http://download-cf.jetbrains.com/python/pycharm-community-4.0.exe', args: '/S', fileType: 'EXE', url64bit:
'http://download-cf.jetbrains.com/python/pycharm-community-4.0.exe', checksum: '', checksumType: '', checksum64: '',
checksumType64: '', validExitCodes: '0'
DEBUG: Running 'Get-ChocolateyWebFile' for PyCharm with
url:'http://download-cf.jetbrains.com/python/pycharm-community-4.0.exe',
fileFullPath:'C:\Users\alanc\AppData\Local\Temp\chocolatey\PyCharm\PyCharmInstall.EXE',
url64bit:'http://download-cf.jetbrains.com/python/pycharm-community-4.0.exe', checksum: '', checksumType: '',
checksum64: '', checksumType64: ''
DEBUG: Running 'Get-ProcessorBits'
DEBUG: CPU is 64 bit
DEBUG: Setting url to 'http://download-cf.jetbrains.com/python/pycharm-community-4.0.exe' and bitPackage to 64
DEBUG: Running 'Get-WebHeaders' with url:'http://download-cf.jetbrains.com/python/pycharm-community-4.0.exe',
userAgent: 'chocolatey command line'
DEBUG: Setting the UserAgent to 'chocolatey command line'
DEBUG: Request Headers:
DEBUG: 'Accept':'*/*'
DEBUG: 'User-Agent':'chocolatey command line'
DEBUG: Converting Security Protocol to SSL3 only for Powershell v2
DEBUG: Running 'Get-WebHeaders' with url:'http://download-cf.jetbrains.com/python/pycharm-community-4.0.exe',
userAgent: 'chocolatey command line'
DEBUG: Setting the UserAgent to 'chocolatey command line'
DEBUG: Request Headers:
DEBUG: 'Accept':'*/*'
DEBUG: 'User-Agent':'chocolatey command line'
Write-Error : PyCharm did not finish successfully. Boo to the chocolatey gods!
-----------------------
[ERROR] Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (403) Forbidden."
-----------------------
At C:\ProgramData\chocolatey\chocolateyinstall\helpers\functions\Write-ChocolateyFailure.ps1:30 char:14
+ Write-Error <<<< $errorMessage
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Write-Error
DEBUG: Running 'Move-BadInstall' for PyCharm-community version: '4.0',
packageFolder:'C:\ProgramData\chocolatey\lib\PyCharm-community.4.0'
DEBUG: Moving bad package 'PyCharm-community v4.0' to 'C:\ProgramData\chocolatey\lib-bad'.
Write-Error : Package 'PyCharm-community v4.0' did not install successfully: Exception calling "GetResponse" with "0" a
rgument(s): "The remote server returned an error: (403) Forbidden."
At C:\ProgramData\chocolatey\chocolateyinstall\functions\Chocolatey-NuGet.ps1:90 char:28
+ Write-Error <<<< "Package `'$installedPackageName v$installedPackageVersion`' did not install succes
sfully: $($_.Exception.Message)"
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Write-Error
DEBUG: Evaluating NuGet output for line:
Finished installing 'PyCharm-community' and dependencies - if errors not shown in console, none detected. Check log for
errors if unsure.
DEBUG: Exiting with non-zero exit code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment