Skip to content

Plaster fails to create project when input prompt defaults are used #504

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
LaurentDardenne opened this issue Feb 13, 2017 · 1 comment
Closed
Labels
Issue-Bug A bug to squash.
Milestone

Comments

@LaurentDardenne
Copy link

System Details

Operating system name and version: Windwos Seven sp1
VS Code version:  1.9.1
PowerShell extension version: 0.9.0
Output from $PSVersionTable:
        Name                           Value
        ----                           -----
        PSVersion                      5.1.14409.1005
        PSEdition                      Desktop
        PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0, 5.0, 5.1.14409.1005}
        BuildVersion                   10.0.14409.1005
        CLRVersion                     4.0.30319.42000
        WSManStackVersion              3.0
        PSRemotingProtocolVersion      2.3
        SerializationVersion           1.1.0.1

Issue Description

I execute a Plaster template , when I change the windows focus, VSCode display this error message :
"Project creation failed, read the Output window for more details."

Attached Logs

vscode-bug-plaster

Sorry for the log, but i get the message "We don't support that file type. Try again..."
vscode-powershell.log:

 powershell.exe started --
    pid: 5968
    exe: C:\Windows\Sysnative\WindowsPowerShell\v1.0\powershell.exe
    bundledModulesPath: C:\Users\Laurent\.vscode\extensions\ms-vscode.PowerShell-0.9.0\modules
    args: C:\Users\Laurent\.vscode\extensions\ms-vscode.PowerShell-0.9.0\scripts\Start-EditorServices.ps1 -EditorServicesVersion '0.9.0' -HostName 'Visual Studio Code Host' -HostProfileId 'Microsoft.VSCode' -HostVersion '0.9.0' -BundledModulesPath 'C:\Users\Laurent\.vscode\extensions\ms-vscode.PowerShell-0.9.0\modules' -LogLevel 'Verbose' -LogPath 'C:\Users\Laurent\.vscode\extensions\ms-vscode.PowerShell-0.9.0\logs\1486990084-4d5ed0fb-e2d4-46bf-970e-1bd8f990a71e1486990071830\EditorServices.log' 

OUTPUT: {"debugServicePort":24690,"status":"started","channel":"tcp","languageServicePort":17196}

Connecting to language service on port 17196...

Language service connected.

EditorServices.log :

13/02/2017 13:48:06 [NORMAL] - Method "StartLogging" at line 117 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Host\EditorServicesHost.cs

    PowerShell Editor Services Host v0.9.0.526 starting (pid 5968)...
    
      Host application details:
    
        Name:      Visual Studio Code Host
        ProfileId: Microsoft.VSCode
        Version:   0.9.0
        Arch:      64-bit
    
      Operating system details:
    
        Version: Microsoft Windows NT 6.1.7601 Service Pack 1
        Arch:    64-bit

13/02/2017 13:48:06 [NORMAL] - Method "Initialize" at line 201 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs

    PowerShell runtime version: 5.1.14409.1005, edition: Desktop

13/02/2017 13:48:06 [VERBOSE] - Method "SetExecutionPolicy" at line 1206 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs

    Current execution policy: ExecutionPolicy.Unrestricted

13/02/2017 13:48:06 [VERBOSE] - Method "SetProfileVariableInCurrentRunspace" at line 1390 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs

    Setting $profile variable in runspace.  Current user host profile path: C:\Users\Laurent\Documents\WindowsPowerShell\Microsoft.VSCode_profile.ps1

13/02/2017 13:48:07 [NORMAL] - Method "FindPSScriptAnalyzer" at line 254 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Analysis\AnalysisService.cs

    PSScriptAnalyzer found at C:\Users\Laurent\.vscode\extensions\ms-vscode.PowerShell-0.9.0\modules\PSScriptAnalyzer\PSScriptAnalyzer.psd1

13/02/2017 13:48:07 [NORMAL] - Method "ImportPSScriptAnalyzerAsync" at line 292 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Analysis\AnalysisService.cs

    Successfully imported PSScriptAnalyzer 1.10.0

13/02/2017 13:48:07 [NORMAL] - Method "ImportPSScriptAnalyzerAsync" at line 292 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Analysis\AnalysisService.cs

    Successfully imported PSScriptAnalyzer 1.10.0

13/02/2017 13:48:07 [VERBOSE] - Method "EnumeratePSScriptAnalyzerRules" at line 316 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Analysis\AnalysisService.cs

    Available PSScriptAnalyzer Rules:
    PSAvoidUsingCmdletAliases
    PSAvoidDefaultValueSwitchParameter
    PSAvoidDefaultValueForMandatoryParameter
    PSAvoidUsingEmptyCatchBlock
    PSAvoidGlobalAliases
    PSAvoidGlobalFunctions
    PSAvoidGlobalVars
    PSAvoidInvokingEmptyMembers
    PSAvoidNullOrEmptyHelpMessageAttribute
    PSAvoidUsingPositionalParameters
    PSReservedCmdletChar
    PSReservedParams
    PSAvoidShouldContinueWithoutForce
    PSAvoidUsingUserNameAndPassWordParams
    PSAvoidUsingComputerNameHardcoded
    PSAvoidUsingConvertToSecureStringWithPlainText
    PSAvoidUsingDeprecatedManifestFields
    PSAvoidUsingInvokeExpression
    PSAvoidUsingPlainTextForPassword
    PSAvoidUsingWMICmdlet
    PSAvoidUsingWriteHost
    PSMisleadingBacktick
    PSMissingModuleManifestField
    PSPlaceCloseBrace
    PSPlaceOpenBrace
    PSPossibleIncorrectComparisonWithNull
    PSProvideCommentHelp
    PSUseApprovedVerbs
    PSUseBOMForUnicodeEncodedFile
    PSUseCmdletCorrectly
    PSUseCompatibleCmdlets
    PSUseConsistentIndentation
    PSUseDeclaredVarsMoreThanAssignments
    PSUseLiteralInitializerForHashtable
    PSUseOutputTypeCorrectly
    PSUsePSCredentialType
    PSShouldProcess
    PSUseShouldProcessForStateChangingFunctions
    PSUseSingularNouns
    PSUseToExportFieldsInManifest
    PSUseUTF8EncodingForHelpFile
    PSDSCDscExamplesPresent
    PSDSCDscTestsPresent
    PSDSCReturnCorrectTypesForDSCFunctions
    PSDSCUseIdenticalMandatoryParametersForDSC
    PSDSCUseIdenticalParametersForDSC
    PSDSCStandardDSCFunctionsInResource
    PSDSCUseVerboseMessageInDSCResource
    

13/02/2017 13:48:07 [VERBOSE] - Method "Initialize" at line 103 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Extensions\ExtensionService.cs

    Executing extension API cmdlet script at path: C:\Users\Laurent\AppData\Local\Temp\PSES_ExtensionCmdlets_sse5lswz.ps1

13/02/2017 13:48:07 [VERBOSE] - Method "ExecuteCommand" at line 403 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs

    Attempting to execute command(s):
    
        . C:\Users\Laurent\AppData\Local\Temp\PSES_ExtensionCmdlets_sse5lswz.ps1
    

13/02/2017 13:48:07 [VERBOSE] - Method "OnSessionStateChanged" at line 936 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs

    Session state changed --
    
        Old state: Ready
        New state: Running
        Result: NotFinished

13/02/2017 13:48:07 [VERBOSE] - Method "OnSessionStateChanged" at line 936 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs

    Session state changed --
    
        Old state: Running
        New state: Ready
        Result: Completed

13/02/2017 13:48:07 [VERBOSE] - Method "ExecuteCommand" at line 458 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs

    Execution completed successfully.

13/02/2017 13:48:07 [NORMAL] - Method "StartLanguageService" at line 150 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Host\EditorServicesHost.cs

    Language service started, listening on port 17196

13/02/2017 13:48:07 [NORMAL] - Method "Initialize" at line 201 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs

    PowerShell runtime version: 5.1.14409.1005, edition: Desktop

13/02/2017 13:48:07 [VERBOSE] - Method "SetExecutionPolicy" at line 1206 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs

    Current execution policy: ExecutionPolicy.Unrestricted

13/02/2017 13:48:07 [VERBOSE] - Method "SetProfileVariableInCurrentRunspace" at line 1390 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs

    Setting $profile variable in runspace.  Current user host profile path: C:\Users\Laurent\Documents\WindowsPowerShell\Microsoft.VSCode_profile.ps1

13/02/2017 13:48:08 [NORMAL] - Method "StartDebugService" at line 182 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Host\EditorServicesHost.cs

    Debug service started, listening on port 24690

13/02/2017 13:48:08 [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs

    READ MESSAGE:
    
    {
      "jsonrpc": "2.0",
      "id": 0,
      "method": "initialize",
      "params": {
        "processId": 3572,
        "capabilities": {}
      }
    }

13/02/2017 13:48:08 [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs

    WRITE MESSAGE:
    
    {
      "jsonrpc": "2.0",
      "id": "0",
      "result": {
        "capabilities": {
          "textDocumentSync": 2,
          "hoverProvider": true,
          "completionProvider": {
            "resolveProvider": true,
            "triggerCharacters": [
              ".",
              "-",
              ":",
              "\\"
            ]
          },
          "signatureHelpProvider": {
            "triggerCharacters": [
              " "
            ]
          },
          "definitionProvider": true,
          "referencesProvider": true,
          "documentHighlightProvider": true,
          "documentSymbolProvider": true,
          "workspaceSymbolProvider": true,
          "codeActionProvider": true
        }
      }
    }

13/02/2017 13:48:08 [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs

    READ MESSAGE:
    
    {
      "jsonrpc": "2.0",
      "method": "workspace/didChangeConfiguration",
      "params": {
        "settings": {
          "powershell": {
            "codeFormatting": {
              "newLineAfterOpenBrace": true,
              "openBraceOnSameLine": true
            },
            "developer": {
              "bundledModulesPath": "../modules/",
              "editorServicesLogLevel": "Verbose",
              "editorServicesWaitForDebugger": false,
              "powerShellExeIsWindowsDevBuild": false,
              "powerShellExePath": ""
            },
            "enableProfileLoading": true,
            "scriptAnalysis": {
              "enable": true,
              "settingsPath": ""
            },
            "useX86Host": false
          }
        }
      }
    }

13/02/2017 13:48:08 [VERBOSE] - Method "ExecuteCommand" at line 403 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs

    Attempting to execute command(s):
    
        C:\Users\Laurent\Documents\WindowsPowerShell\profile.ps1
    

13/02/2017 13:48:08 [VERBOSE] - Method "OnSessionStateChanged" at line 936 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs

    Session state changed --
    
        Old state: Ready
        New state: Running
        Result: NotFinished

13/02/2017 13:48:08 [VERBOSE] - Method "OnSessionStateChanged" at line 936 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs

    Session state changed --
    
        Old state: Running
        New state: Ready
        Result: Completed

13/02/2017 13:48:08 [VERBOSE] - Method "ExecuteCommand" at line 458 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs

    Execution completed successfully.

13/02/2017 13:48:08 [VERBOSE] - Method "ExecuteCommand" at line 403 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs

    Attempting to execute command(s):
    
        C:\Users\Laurent\Documents\WindowsPowerShell\Microsoft.VSCode_profile.ps1
    

13/02/2017 13:48:08 [VERBOSE] - Method "OnSessionStateChanged" at line 936 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs

    Session state changed --
    
        Old state: Ready
        New state: Running
        Result: NotFinished

13/02/2017 13:48:08 [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs

    WRITE MESSAGE:
    
    {
      "jsonrpc": "2.0",
      "method": "powerShell/extensionCommandAdded",
      "params": {
        "name": "Plaster.PlasterTemplate",
        "displayName": "Start Plaster Template"
      }
    }

13/02/2017 13:48:08 [VERBOSE] - Method "OnSessionStateChanged" at line 936 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs

    Session state changed --
    
        Old state: Running
        New state: Ready
        Result: Completed

13/02/2017 13:48:08 [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs

    WRITE MESSAGE:
    
    {
      "jsonrpc": "2.0",
      "method": "powerShell/extensionCommandAdded",
      "params": {
        "name": "Helpers.OpenVSCodeProfile",
        "displayName": "Open VS Code Profile"
      }
    }

13/02/2017 13:48:08 [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs

    WRITE MESSAGE:
    
    {
      "jsonrpc": "2.0",
      "method": "powerShell/extensionCommandAdded",
      "params": {
        "name": "ToDo.InsertToDo",
        "displayName": "Insert ToDo"
      }
    }

13/02/2017 13:48:08 [VERBOSE] - Method "ExecuteCommand" at line 458 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs

    Execution completed successfully.

13/02/2017 13:48:08 [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs

    READ MESSAGE:
    
    {
      "jsonrpc": "2.0",
      "id": 1,
      "method": "powerShell/getProjectTemplates",
      "params": {
        "includeInstalledModules": false
      }
    }

13/02/2017 13:48:08 [VERBOSE] - Method "ImportPlasterIfInstalled" at line 70 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Templates\TemplateService.cs

    Checking if Plaster is installed...

13/02/2017 13:48:08 [VERBOSE] - Method "ExecuteCommand" at line 403 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs

    Attempting to execute command(s):
    
        Get-Module
        Sort-Object
        Select-Object
    

13/02/2017 13:48:08 [VERBOSE] - Method "OnSessionStateChanged" at line 936 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs

    Session state changed --
    
        Old state: Ready
        New state: Running
        Result: NotFinished

13/02/2017 13:48:08 [VERBOSE] - Method "OnSessionStateChanged" at line 936 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs

    Session state changed --
    
        Old state: Running
        New state: Ready
        Result: Completed

13/02/2017 13:48:08 [VERBOSE] - Method "ExecuteCommand" at line 458 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs

    Execution completed successfully.

13/02/2017 13:48:08 [VERBOSE] - Method "ImportPlasterIfInstalled" at line 82 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Templates\TemplateService.cs

    Plaster is installed!

13/02/2017 13:48:08 [VERBOSE] - Method "ImportPlasterIfInstalled" at line 89 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Templates\TemplateService.cs

    Loading Plaster...

13/02/2017 13:48:08 [VERBOSE] - Method "ExecuteCommand" at line 403 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs

    Attempting to execute command(s):
    
        Import-Module
    

13/02/2017 13:48:08 [VERBOSE] - Method "OnSessionStateChanged" at line 936 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs

    Session state changed --
    
        Old state: Ready
        New state: Running
        Result: NotFinished

13/02/2017 13:48:08 [VERBOSE] - Method "OnSessionStateChanged" at line 936 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs

    Session state changed --
    
        Old state: Running
        New state: Ready
        Result: Completed

13/02/2017 13:48:08 [ERROR] - Method "ExecuteCommand" at line 454 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs

    Execution completed with errors:
    
    

13/02/2017 13:48:08 [VERBOSE] - Method "ImportPlasterIfInstalled" at line 106 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Templates\TemplateService.cs

    Plaster was loaded successfully!

13/02/2017 13:48:08 [VERBOSE] - Method "ExecuteCommand" at line 403 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs

    Attempting to execute command(s):
    
        Get-PlasterTemplate
    

13/02/2017 13:48:08 [VERBOSE] - Method "OnSessionStateChanged" at line 936 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs

    Session state changed --
    
        Old state: Ready
        New state: Running
        Result: NotFinished

13/02/2017 13:48:09 [VERBOSE] - Method "OnSessionStateChanged" at line 936 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs

    Session state changed --
    
        Old state: Running
        New state: Ready
        Result: Completed

13/02/2017 13:48:09 [VERBOSE] - Method "ExecuteCommand" at line 458 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs

    Execution completed successfully.

13/02/2017 13:48:09 [VERBOSE] - Method "GetAvailableTemplates" at line 144 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Templates\TemplateService.cs

    Found 1 Plaster templates

13/02/2017 13:48:09 [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs

    WRITE MESSAGE:
    
    {
      "jsonrpc": "2.0",
      "id": "1",
      "result": {
        "needsModuleInstall": false,
        "templates": [
          {
            "title": "New PowerShell Manifest Module",
            "author": "Plaster",
            "version": "1.0.0",
            "description": "Creates files for a simple, non-shared PowerShell manifest module.",
            "tags": "Module, ModuleManifest",
            "templatePath": "C:\\Users\\Laurent\\.vscode\\extensions\\ms-vscode.PowerShell-0.9.0\\modules\\Plaster\\Templates\\NewPowerShellManifestModule"
          }
        ]
      }
    }

13/02/2017 13:48:09 [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs

    READ MESSAGE:
    
    {
      "jsonrpc": "2.0",
      "id": 2,
      "method": "powerShell/getVersion"
    }

13/02/2017 13:48:09 [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs

    WRITE MESSAGE:
    
    {
      "jsonrpc": "2.0",
      "id": "2",
      "result": {
        "version": "5.1.14409.1005",
        "displayVersion": "5.1",
        "edition": "Desktop",
        "architecture": "x64"
      }
    }

13/02/2017 13:48:21 [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs

    READ MESSAGE:
    
    {
      "jsonrpc": "2.0",
      "id": 3,
      "method": "powerShell/newProjectFromTemplate",
      "params": {
        "templatePath": "C:\\Users\\Laurent\\.vscode\\extensions\\ms-vscode.PowerShell-0.9.0\\modules\\Plaster\\Templates\\NewPowerShellManifestModule",
        "destinationPath": "C:\\temp\\TestTemplate"
      }
    }

13/02/2017 13:48:21 [VERBOSE] - Method "CreateFromTemplate" at line 166 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Templates\TemplateService.cs

    Invoking Plaster...
    
        TemplatePath: C:\Users\Laurent\.vscode\extensions\ms-vscode.PowerShell-0.9.0\modules\Plaster\Templates\NewPowerShellManifestModule
        DestinationPath: C:\temp\TestTemplate

13/02/2017 13:48:21 [VERBOSE] - Method "ExecuteCommand" at line 403 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs

    Attempting to execute command(s):
    
        Invoke-Plaster
    

13/02/2017 13:48:21 [VERBOSE] - Method "OnSessionStateChanged" at line 936 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs

    Session state changed --
    
        Old state: Ready
        New state: Running
        Result: NotFinished

13/02/2017 13:48:22 [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs

    WRITE MESSAGE:
    
    {
      "jsonrpc": "2.0",
      "method": "output",
      "params": {
        "category": "stdout",
        "output": "  ____  _           _\n |  _ \\| | __ _ ___| |_ ___ _ __\n | |_) | |/ _` / __| __/ _ \\ '__|\n |  __/| | (_| \\__ \\ ||  __/ |\n |_|   |_|\\__,_|___/\\__\\___|_|\n                                            v1.0.1\n==================================================\n"
      }
    }

13/02/2017 13:48:22 [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs

    WRITE MESSAGE:
    
    {
      "jsonrpc": "2.0",
      "id": "1",
      "method": "powerShell/showInputPrompt",
      "params": {
        "name": "Enter the name of the module",
        "label": ""
      }
    }

13/02/2017 13:48:22 [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs

    WRITE MESSAGE:
    
    {
      "jsonrpc": "2.0",
      "method": "output",
      "params": {
        "category": "stdout",
        "output": "Enter the name of the module: "
      }
    }

13/02/2017 13:48:28 [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs

    READ MESSAGE:
    
    {
      "jsonrpc": "2.0",
      "id": "1",
      "result": {
        "promptCancelled": false,
        "responseText": "Test"
      }
    }

13/02/2017 13:48:28 [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs

    WRITE MESSAGE:
    
    {
      "jsonrpc": "2.0",
      "method": "output",
      "params": {
        "category": "stdout",
        "output": "Test\r\n"
      }
    }

13/02/2017 13:48:28 [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs

    WRITE MESSAGE:
    
    {
      "jsonrpc": "2.0",
      "id": "2",
      "method": "powerShell/showInputPrompt",
      "params": {
        "name": "Enter the version number of the module (0.1.0)",
        "label": ""
      }
    }

13/02/2017 13:48:28 [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs

    WRITE MESSAGE:
    
    {
      "jsonrpc": "2.0",
      "method": "output",
      "params": {
        "category": "stdout",
        "output": "Enter the version number of the module (0.1.0): "
      }
    }

13/02/2017 13:48:32 [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs

    READ MESSAGE:
    
    {
      "jsonrpc": "2.0",
      "id": "2",
      "result": {
        "promptCancelled": true
      }
    }

13/02/2017 13:48:32 [VERBOSE] - Method "OnSessionStateChanged" at line 936 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs

    Session state changed --
    
        Old state: Running
        New state: Ready
        Result: Aborted

13/02/2017 13:48:32 [ERROR] - Method "ExecuteCommand" at line 454 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs

    Execution completed with errors:
    
    

13/02/2017 13:48:32 [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs

    WRITE MESSAGE:
    
    {
      "jsonrpc": "2.0",
      "id": "3",
      "result": {
        "creationSuccessful": false
      }
    }
@daviwil
Copy link
Contributor

daviwil commented Apr 2, 2017

Hey Laurent, I think I finally found the bug that was causing this issue. The fix will be in the next update!

@daviwil daviwil added Area-Templating Issue-Bug A bug to squash. labels Apr 2, 2017
@daviwil daviwil added this to the 0.12.0 milestone Apr 2, 2017
@daviwil daviwil changed the title Plaster: Project creation failed Plaster fails to create project when field defaults are used Apr 2, 2017
@daviwil daviwil changed the title Plaster fails to create project when field defaults are used Plaster fails to create project when input prompt defaults are used Apr 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug A bug to squash.
Projects
None yet
Development

No branches or pull requests

2 participants