3
Vote

Installation issue/failure

description

1st time it failed to install the db of .Net stuff
2nd time:

PS Z:> Import-Module PowerTab
VERBOSE: Loading module from path '\corp\root\home\steffanr\My
Documents\WindowsPowerShell\Modules\PowerTab\PowerTab.psd1'.
VERBOSE: Loading module from path '\corp\root\home\steffanr\My
Documents\WindowsPowerShell\Modules\PowerTab\PowerTab.psm1'.
VERBOSE: Loading module from path '\corp\root\home\steffanr\My
Documents\WindowsPowerShell\Modules\PowerTab\Lerch.PowerShell.dll'.
Exception calling "ReadXml" with "2" argument(s): "The given path's format is not supported."
At \corp\root\home\steffanr\My Documents\WindowsPowerShell\Modules\PowerTab\TabExpansionLib.ps1:1267 char:30
  • [Void]$Config.ReadXml <<<< ($LiteralPath, 'InferSchema')
    • CategoryInfo : NotSpecified: (:) [], MethodInvocationException
    • FullyQualifiedErrorId : DotNetMethodException
You cannot call a method on a null-valued expression.
At \corp\root\home\steffanr\My Documents\WindowsPowerShell\Modules\PowerTab\TabExpansionLib.ps1:1272 char:47
  • $Version = $Config.Tables['Config'].Select <<<< ("Name = 'Version'")[0].Value -as [System.Version]
    • CategoryInfo : InvalidOperation: (Select:String) [], RuntimeException
    • FullyQualifiedErrorId : InvokeMethodOnNull
The variable '$Version' cannot be retrieved because it has not been set.
At \corp\root\home\steffanr\My Documents\WindowsPowerShell\Modules\PowerTab\TabExpansionLib.ps1:1273 char:17
  • if ($Version <<<< -eq $null) {$Config.Tables['Config'].Select("Name = 'Version'")[0].Value = '0.99.0.0'}
    • CategoryInfo : InvalidOperation: (Version:Token) [], RuntimeException
    • FullyQualifiedErrorId : VariableIsUndefined
You cannot call a method on a null-valued expression.
At \corp\root\home\steffanr\My Documents\WindowsPowerShell\Modules\PowerTab\TabExpansionLib.ps1:940 char:47
  • $Version = $Config.Tables['Config'].Select <<<< ("Name = 'Version'")[0].Value -as [System.Version]
    • CategoryInfo : InvalidOperation: (Select:String) [], RuntimeException
    • FullyQualifiedErrorId : InvokeMethodOnNull
The variable '$Version' cannot be retrieved because it has not been set.
At \corp\root\home\steffanr\My Documents\WindowsPowerShell\Modules\PowerTab\TabExpansionLib.ps1:943 char:17
  • if ($Version <<<< -lt ([System.Version]'0.99.3.0')) {
    • CategoryInfo : InvalidOperation: (Version:Token) [], RuntimeException
    • FullyQualifiedErrorId : VariableIsUndefined
The variable '$DatabasePath' cannot be retrieved because it has not been set.
At \corp\root\home\steffanr\My Documents\WindowsPowerShell\Modules\PowerTab\TabExpansionLib.ps1:949 char:35
  • if (!(Split-Path $DatabasePath <<<< )) {
    • CategoryInfo : InvalidOperation: (DatabasePath:Token) [], RuntimeException
    • FullyQualifiedErrorId : VariableIsUndefined
The variable '$DatabasePath' cannot be retrieved because it has not been set.
At \corp\root\home\steffanr\My Documents\WindowsPowerShell\Modules\PowerTab\TabExpansionLib.ps1:953 char:65
  • $Database = InternalImportTabExpansionDataBase $DatabasePath <<<<
    • CategoryInfo : InvalidOperation: (DatabasePath:Token) [], RuntimeException
    • FullyQualifiedErrorId : VariableIsUndefined
The variable '$Version' cannot be retrieved because it has not been set.
At \corp\root\home\steffanr\My Documents\WindowsPowerShell\Modules\PowerTab\TabExpansionLib.ps1:956 char:17
  • if ($Version <<<< -lt $CurVersion) {
    • CategoryInfo : InvalidOperation: (Version:Token) [], RuntimeException
    • FullyQualifiedErrorId : VariableIsUndefined
The variable '$Database' cannot be retrieved because it has not been set.
At \corp\root\home\steffanr\My Documents\WindowsPowerShell\Modules\PowerTab\TabExpansionLib.ps1:965 char:47
  • $script:dsTabExpansionDatabase = $Database <<<<
    • CategoryInfo : InvalidOperation: (Database:Token) [], RuntimeException
    • FullyQualifiedErrorId : VariableIsUndefined
You cannot call a method on a null-valued expression.
At \corp\root\home\steffanr\My Documents\WindowsPowerShell\Modules\PowerTab\TabExpansionLib.ps1:1318 char:50
  • $dsTabExpansionConfig.Tables['Config'].Select <<<< ("Category = 'Global'") | Where-Object {$_.Name -ne "Enabled"}
    | ForEach-Object {
    • CategoryInfo : InvalidOperation: (Select:String) [], RuntimeException
    • FullyQualifiedErrorId : InvokeMethodOnNull
You cannot call a method on a null-valued expression.
At \corp\root\home\steffanr\My Documents\WindowsPowerShell\Modules\PowerTab\TabExpansionLib.ps1:1336 char:50
  • $dsTabExpansionConfig.Tables['Config'].Select <<<< ("Category = 'Colors'") | Foreach-Object {
    • CategoryInfo : InvalidOperation: (Select:String) [], RuntimeException
    • FullyQualifiedErrorId : InvokeMethodOnNull
You cannot call a method on a null-valued expression.
At \corp\root\home\steffanr\My Documents\WindowsPowerShell\Modules\PowerTab\TabExpansionLib.ps1:1347 char:50
  • $dsTabExpansionConfig.Tables['Config'].Select <<<< ("Category = 'ShortcutChars'") | Foreach-Object {
    • CategoryInfo : InvalidOperation: (Select:String) [], RuntimeException
    • FullyQualifiedErrorId : InvokeMethodOnNull
You cannot call a method on a null-valued expression.
At \corp\root\home\steffanr\My Documents\WindowsPowerShell\Modules\PowerTab\TabExpansionLib.ps1:1358 char:50
  • $dsTabExpansionConfig.Tables['Config'].Select <<<< ("Category = 'Setup'") | Foreach-Object {
    • CategoryInfo : InvalidOperation: (Select:String) [], RuntimeException
    • FullyQualifiedErrorId : InvokeMethodOnNull
WARNING: You cannot call a method on a null-valued expression.
Property 'ShowBanner' cannot be found on this object. Make sure that it exists.
At \corp\root\home\steffanr\My Documents\WindowsPowerShell\Modules\PowerTab\PowerTab.psm1:215 char:21
  • if ($PowerTabConfig. <<<< ShowBanner) {
    • CategoryInfo : InvalidOperation: (.:OperatorToken) [], RuntimeException
    • FullyQualifiedErrorId : PropertyNotFoundStrict
VERBOSE: Exporting function 'Invoke-TabExpansion'.
VERBOSE: Exporting function 'New-TabItem'.
VERBOSE: Exporting function 'New-TabExpansionDatabase'.
VERBOSE: Exporting function 'New-TabExpansionConfig'.
VERBOSE: Exporting function 'Import-TabExpansionDataBase'.
VERBOSE: Exporting function 'Export-TabExpansionDatabase'.
VERBOSE: Exporting function 'Import-TabExpansionConfig'.
VERBOSE: Exporting function 'Export-TabExpansionConfig'.
VERBOSE: Exporting function 'Import-TabExpansionTheme'.
VERBOSE: Exporting function 'Export-TabExpansionTheme'.
VERBOSE: Exporting function 'Update-TabExpansionDataBase'.
VERBOSE: Exporting function 'Update-TabExpansionType'.
VERBOSE: Exporting function 'Add-TabExpansionType'.
VERBOSE: Exporting function 'Update-TabExpansionWmi'.
VERBOSE: Exporting function 'Update-TabExpansionCom'.
VERBOSE: Exporting function 'Add-TabExpansionComputer'.
VERBOSE: Exporting function 'Remove-TabExpansionComputer'.
VERBOSE: Exporting function 'Get-TabExpansion'.
VERBOSE: Exporting function 'Add-TabExpansion'.
VERBOSE: Exporting function 'Remove-TabExpansion'.
VERBOSE: Exporting function 'Invoke-TabExpansionEditor'.
VERBOSE: Exporting function 'Register-TabExpansion'.
VERBOSE: Exporting function 'Resolve-TabExpansionParameterValue'.
VERBOSE: Exporting variable 'PowerTabConfig'.
VERBOSE: Exporting variable 'PowerTabError'.
VERBOSE: Exporting alias 'udte'.
VERBOSE: Exporting alias 'gte'.
VERBOSE: Exporting alias 'ate'.
VERBOSE: Exporting alias 'rte'.
VERBOSE: Exporting alias 'itee'.
VERBOSE: Exporting alias 'rgte'.
VERBOSE: Importing function 'Add-TabExpansion'.
VERBOSE: Importing function 'Add-TabExpansionComputer'.
VERBOSE: Importing function 'Add-TabExpansionType'.
VERBOSE: Importing function 'Export-TabExpansionConfig'.
VERBOSE: Importing function 'Export-TabExpansionDatabase'.
VERBOSE: Importing function 'Export-TabExpansionTheme'.
VERBOSE: Importing function 'Get-TabExpansion'.
VERBOSE: Importing function 'Import-TabExpansionConfig'.
VERBOSE: Importing function 'Import-TabExpansionDataBase'.
VERBOSE: Importing function 'Import-TabExpansionTheme'.
VERBOSE: Importing function 'Invoke-TabExpansion'.
VERBOSE: Importing function 'Invoke-TabExpansionEditor'.
VERBOSE: Importing function 'New-TabExpansionConfig'.
VERBOSE: Importing function 'New-TabExpansionDatabase'.
VERBOSE: Importing function 'New-TabItem'.
VERBOSE: Importing function 'Register-TabExpansion'.
VERBOSE: Importing function 'Remove-TabExpansion'.
VERBOSE: Importing function 'Remove-TabExpansionComputer'.
VERBOSE: Importing function 'Resolve-TabExpansionParameterValue'.
VERBOSE: Importing function 'Update-TabExpansionCom'.
VERBOSE: Importing function 'Update-TabExpansionDataBase'.
VERBOSE: Importing function 'Update-TabExpansionType'.
VERBOSE: Importing function 'Update-TabExpansionWmi'.
VERBOSE: Importing variable 'PowerTabConfig'.
VERBOSE: Importing variable 'PowerTabError'.
VERBOSE: Importing alias 'ate'.
VERBOSE: Importing alias 'gte'.
VERBOSE: Importing alias 'itee'.
VERBOSE: Importing alias 'rgte'.
VERBOSE: Importing alias 'rte'.
VERBOSE: Importing alias 'udte'.

Please advise!

comments

anorhoads wrote Feb 16, 2012 at 1:31 AM

I did exit and restart powershell but the tab expansion still didn't work so I tried re-installing.

So, how do I uninstall? Presuming this won't be fixed until some time in the future.

JasonMArcher wrote Mar 16, 2012 at 2:52 AM

To uninstall, just delete the PowerTab module folder. It appears that I am not handling UNC paths correctly.