sponte / sublime_powershell_help

Generates powershell help template for the the selected method name
Apache License 2.0
4 stars 1 forks source link

[Bug] + FullyQualifiedErrorId : UnauthorizedAccess #3

Open Kristinita opened 7 years ago

Kristinita commented 7 years ago

1. Summary

Package not working for me. I get stack trace in console.

2. Expected behavior

Successfully begin to use PowerShell Help.

3. Actual behavior

Bug

command: document
error: ЌҐў®§¬®¦­® § Јаг§Ёвм д ©« E:\Sublime Text 3\Data\Pac
kages\Powershell Help Generator\Get-HelpTemplate.ps1
, в Є Є Є ўлЇ®«­Ґ­ЁҐ б業 аЁҐў ®вЄ«о祭® ў нв®© бЁбв
Ґ¬Ґ. „«п Ї®«г祭Ёп ¤®Ї®«­ЁвҐ«м­ле ᢥ¤Ґ­Ё© б¬. about
_Execution_Policies Ї®  ¤аҐбг http://go.microsoft.co
m/fwlink/?LinkID=135170.
    + CategoryInfo          : ЋиЁЎЄ  ЎҐ§®Ї б­®бвЁ:  
   (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : UnauthorizedAccess

4. Settings

5. Steps to reproduce

The problem is reproduced for me in a version of Sublime Text without plugins and user settings.

For example, I have SashaGoddess.ps1 file:

function FileSize2
{
   dir $args [0] |
   where {$_.Length -gt 100000}
}

I install PowerShellHelp → I restart Sublime Text → I place my carriage in first line of my SashaGoddess.ps1 file → Ctrl+Shift+PDocument: cmdlet → I get actual behavior.

6. Environment

Operating system and version: Windows 32-bit 10.0.14393 Sublime Text: Build 3126 PowerShell: 5.1.14393.576

Thanks.