{ "id": "170361", "key": "DAEMON-161", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12519", "key": "DAEMON", "name": "Appcelerator Daemon" }, "fixVersions": [ { "id": "18407", "description": "", "name": "Appc Daemon 1.0.0", "archived": false, "released": true, "releaseDate": "2017-12-05" } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2017-11-22T18:00:41.000+0000", "created": "2017-11-17T10:23:59.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2017-11-22T18:00:41.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "15625", "name": "appcd-plugin-windows" } ], "description": "Visual studio path is incorrect in the windows system-info path\r\n\r\n*Actual:*\r\nC: /ProgramFiles(x86)/MicrosoftVisualStudio14.0/\r\n\r\n*Expected:*\r\nC:\\Program Files (x86)\\Microsoft Visual Studio 14.0\r\n\r\n\r\nSame goes for the Windows Phone SDK path\r\n\r\n*Actual:*\r\nC: \\ProgramFiles(x86)\\MicrosoftSDKs\\WindowsPhone\\v8.1\\\r\n\r\n*Expected:*\r\nC:\\Program Files (x86)\\Microsoft SDKs\\Windows Phone\\v8.1\r\n", "attachment": [ { "id": "63649", "filename": "VS_PATH.png", "author": { "name": "kkolipaka", "key": "kkolipaka", "displayName": "Kondal Kolipaka", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-11-18T12:44:11.000+0000", "size": 350190, "mimeType": "image/png" }, { "id": "63676", "filename": "vs_paths.png", "author": { "name": "kkolipaka", "key": "kkolipaka", "displayName": "Kondal Kolipaka", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-11-22T17:38:26.000+0000", "size": 979971, "mimeType": "image/png" }, { "id": "63625", "filename": "win_system_info.txt", "author": { "name": "kkolipaka", "key": "kkolipaka", "displayName": "Kondal Kolipaka", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-11-17T10:23:19.000+0000", "size": 9629, "mimeType": "text/plain" } ], "flagged": false, "summary": "Windows: Visual Studio path is incorrect in the system-info", "creator": { "name": "kkolipaka", "key": "kkolipaka", "displayName": "Kondal Kolipaka", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "kkolipaka", "key": "kkolipaka", "displayName": "Kondal Kolipaka", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "7.0.0-master.27", "closedSprints": [ { "id": 976, "state": "closed", "name": "2017 Sprint 24 Tooling", "startDate": "2017-11-19T19:00:51.738Z", "endDate": "2017-12-03T19:00:00.000Z", "completeDate": "2017-12-04T23:20:34.438Z", "originBoardId": 219 } ], "comment": { "comments": [ { "id": "430906", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "[~kkolipaka] Is this through appcd exec or when querying through the websocket in Studio? The windows plugin is running the same windowslib as ti info, does that report the same?", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2017-11-17T10:48:03.000+0000", "updated": "2017-11-17T11:34:49.000+0000" }, { "id": "430907", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Here's my visualstudio info for reference \r\n\r\n{code}\r\nλ appcd exec /system-info/latest/info/windows/visualstudio \r\n{ \r\n \"Visual Studio Community 2017\": { \r\n \"version\": \"Visual Studio Community 2017\", \r\n \"supported\": \"true\", \r\n \"msbuildVersion\": \"15.3.26730.3\", \r\n \"path\": \"C:\\\\Program Files (x86)\\\\Microsoft Visual Studio\\\\2017\\\\Community\", \r\n \"wpsdk\": null, \r\n \"registryKey\": null, \r\n \"clrVersion\": null, \r\n \"selected\": true, \r\n \"vsDevCmd\": \"C:\\\\Program Files (x86)\\\\Microsoft Visual Studio\\\\2017\\\\Community\\\\Common7\\\\Tools\\\\VsDe\r\nvCmd.bat\", \r\n \"vcvarsall\": \"C:\\\\PROGRA~2\\\\MICROS~1\\\\2017\\\\COMMUN~1\\\\VC\\\\AUXILI~1\\\\Build\\\\VCVARS~3.BAT\" \r\n }, \r\n \"14.0\": { \r\n \"version\": \"14.0\", \r\n \"registryKey\": \"HKEY_CURRENT_USER\\\\Software\\\\Microsoft\\\\VisualStudio\\\\14.0_Config\", \r\n \"supported\": true, \r\n \"vcvarsall\": \"C:\\\\PROGRA~2\\\\MICROS~1.0\\\\VC\\\\VCVARS~1.BAT\", \r\n \"msbuildVersion\": \"14.0.25420.1\", \r\n \"wpsdk\": null, \r\n \"selected\": false, \r\n \"path\": \"C:\\\\Program Files (x86)\\\\Microsoft Visual Studio 14.0\\\\\", \r\n \"clrVersion\": \"v4.0.30319\", \r\n \"vsDevCmd\": \"C:\\\\Program Files (x86)\\\\Microsoft Visual Studio 14.0\\\\Common7\\\\Tools\\\\VsDevCmd.bat\" \r\n } \r\n} \r\n{code}", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2017-11-17T10:49:15.000+0000", "updated": "2017-11-17T10:49:15.000+0000" }, { "id": "430908", "author": { "name": "kkolipaka", "key": "kkolipaka", "displayName": "Kondal Kolipaka", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I was using appcd exec. Look for windows->selectedVisualStudio->path\r\n\r\nAh, okay. It's the same problem in the ti info as well.", "updateAuthor": { "name": "kkolipaka", "key": "kkolipaka", "displayName": "Kondal Kolipaka", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-11-17T11:37:18.000+0000", "updated": "2017-11-17T11:37:18.000+0000" }, { "id": "430909", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2017-11-17T11:37:41.000+0000", "updated": "2017-11-20T13:07:56.000+0000" }, { "id": "430966", "author": { "name": "kkolipaka", "key": "kkolipaka", "displayName": "Kondal Kolipaka", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Haven't checked with the latest daemon in the Windows machine, but I was talking about the below path.\r\n !VS_PATH.png|thumbnail! ", "updateAuthor": { "name": "kkolipaka", "key": "kkolipaka", "displayName": "Kondal Kolipaka", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-11-18T12:44:31.000+0000", "updated": "2017-11-18T12:44:31.000+0000" }, { "id": "431025", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "[~kkolipaka] If possible could you run the below on the machine {{reg query HKEY_CURRENT_USER\\Software\\Microsoft\\VisualStudio\\14.0_Config /v *}}, windowslib populates the information based off what that command reports", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2017-11-20T10:49:26.000+0000", "updated": "2017-11-20T10:49:26.000+0000" }, { "id": "431026", "author": { "name": "kkolipaka", "key": "kkolipaka", "displayName": "Kondal Kolipaka", "active": false, "timeZone": "America/Los_Angeles" }, "body": "\r\n{code:java}\r\nC:\\Users\\admin>reg query HKEY_CURRENT_USER\\software\\Microsoft\\VisualStudio\\14.0_Config /v *\r\n\r\nHKEY_CURRENT_USER\\software\\Microsoft\\VisualStudio\\14.0_Config\r\n InstallDir REG_SZ C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Common7\\IDE\\\r\n ApplicationID REG_SZ VisualStudio\r\n ThisVersionDTECLSID REG_SZ {A2FA2136-EB44-4D10-A1D3-6FE1D63A7C05}\r\n ThisVersionSolutionCLSID REG_SZ {31F45B04-7198-45ED-A13F-F224A4A1686A}\r\n SecurityAppID REG_SZ {67E88D46-FF81-4E57-8C5E-F270A4F9EA1A}\r\n StartMenuFolder REG_SZ C:\\ProgramData\\Microsoft\\Windows\\Start Menu\\Programs\\Visual Studio 2015\\\r\n ShellFolder REG_SZ C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\\r\n RequiredNDPVersion REG_SZ 4.6\r\n RestoreAppPath REG_DWORD 0x1\r\n (Default) REG_SZ\r\n Source Directories REG_SZ C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\include\\;C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\include\\cvt\\;C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\include\\msclr\\;C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\include\\sys\\;C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\include\\sys\\;C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\include\\thr\\;C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\crt\\src\\;C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\crt\\src\\amd64\\;C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\crt\\src\\arm\\;C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\crt\\src\\concrt\\;C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\crt\\src\\i386\\;C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\crt\\src\\linkopts\\;C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\crt\\src\\stl\\;C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\crt\\src\\vccorlib\\;C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\crt\\src\\vcruntime\\;C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\atlmfc\\src\\mfc\\;C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\atlmfc\\src\\atl\\;C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\atlmfc\\include\\\r\n ConfigurationChanged REG_QWORD 0x1d31bd0a7a1e970\r\n SetupCommandLine REG_SZ /setup\r\n SplashHash REG_BINARY 01000000D08C9DDF0115D1118C7A00C04FC297EB01000000AD32B1406337C8429E4979C644D4D02304000000020000000000106600000001000020000000623C8F21F66AC87A9FB49479D780B9B84DEC4703EBCD57D68CFE093A83E8030D000000000E800000000200002000000019019CF16737258A29E6A4398941B468D20F862BCD9A4C6C1C8A600354ED61BAF00000006CC0AFD6EFF286285824F6D8D0DF26A93BAE02E70901B366D281A829D8BA93613A7166E26AA12EBA47093D21BB71DCC01A261785C864DB00698297B1DD3D92013102AE80D439FA09676261969A3F8B9EEDC12CF4E5390647EA7C268934DDDF6AF4E669B3803F675069FABFDC1E239AE37451FD94C740CF1D9B4D59CAF739AA1B7830C9A57988572EA1972CAD719F1D950CEAEA8E5DBCEF03D74B21172E72D28B4655ED4C1921EA4DAD0E1744CCA7384CAD35A0BD5A6EF34A1FB8B820114CBC387299DFE3164E73D73449F6F9171A491AA2E2C2AC0B6EA578CD9B7B882F461760AF33D2B759B7F943E8F755F6D5FF864740000000C00398CD8170CF9E9EDA4EA01EB9868D01713414CE1321F1BC5E47881A5DF897ACBC95295EF01F70407DEE9124283F8CD6D97C8A920EE268D2A81AC5D11D7178090400006000000060000000\r\n CLR Version REG_SZ v4.0.30319\r\n MsEnvLocation REG_SZ C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Common7\\IDE\\msenv.dll\r\n VSIXInstallerLocation REG_SZ C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Common7\\IDE\\VSIXInstaller.exe\r\n\r\nEnd of search: 17 match(es) found.\r\n{code}\r\n", "updateAuthor": { "name": "kkolipaka", "key": "kkolipaka", "displayName": "Kondal Kolipaka", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-11-20T10:56:02.000+0000", "updated": "2017-11-20T10:56:02.000+0000" }, { "id": "431171", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "I tried to reproduce this but was unable to.\r\n\r\nAre the logs/data from DAEMON-163 and DAEMON-162 from different machines? They both have the user as Admin, but one has the bad logs the other doesn't. Windowslib calls the query I pasted above and then parses the value out of the response, that response looks fine, I think to debug this we'd need access to the machine", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2017-11-22T17:09:49.000+0000", "updated": "2017-11-22T17:09:49.000+0000" }, { "id": "431172", "author": { "name": "kkolipaka", "key": "kkolipaka", "displayName": "Kondal Kolipaka", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~eharris] Both are captured from the same windows machine at the same time almost.\r\n\r\n[~ssekhri] verified just now with the latest daemon on 7.0.0-master.40. We still see the issue. Please find the below screenshot.\r\n\r\n !VS_PATH.png|thumbnail! \r\n\r\n\r\n*Actual Paths from Ti info:*\r\n\r\nMicrosoft (R) Visual Studio\r\n 14.0 (selected)\r\n Path = C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\\r\n CLR Version = v4.0.30319\r\n MSBuild Version = v14.0.25420.1\r\n Windows Phone SDKs = not installed\r\nMicrosoft (R) Windows Phone SDK\r\n 10.0\r\n Path = C:\\Program Files (x86)\\Windows Kits\\10\\\r\n 8.1 (selected)\r\n Path = C:\\Program Files (x86)\\Microsoft SDKs\\Windows Phone\\v8.1\\\r\n", "updateAuthor": { "name": "kkolipaka", "key": "kkolipaka", "displayName": "Kondal Kolipaka", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-11-22T17:40:39.000+0000", "updated": "2017-11-22T17:40:39.000+0000" }, { "id": "431173", "author": { "name": "kkolipaka", "key": "kkolipaka", "displayName": "Kondal Kolipaka", "active": false, "timeZone": "America/Los_Angeles" }, "body": "If you're curious why and how we use that in the studio.\r\n\r\nhttps://github.com/appcelerator/titanium_studio/blob/ff4d05c84dc2da37f806be3ddf7ed313a21d7014/plugins/com.appcelerator.titanium.windows.core/src/com/appcelerator/titanium/windows/core/DaemonWindowsSDKLocator.java#L293\r\n\r\nCheck the line numbers - 282 and 293", "updateAuthor": { "name": "kkolipaka", "key": "kkolipaka", "displayName": "Kondal Kolipaka", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-11-22T17:44:27.000+0000", "updated": "2017-11-22T17:44:27.000+0000" }, { "id": "431174", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "[~kkolipaka] And this doesn't occur from ti info? I have 4 different installs of Windows running various VS combinations and cant reproduce it, [~cbarber] is setting up Windows now and I guess he'll check. This is just through and appc appc exec right?", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2017-11-22T17:54:43.000+0000", "updated": "2017-11-22T17:54:43.000+0000" }, { "id": "431175", "author": { "name": "kkolipaka", "key": "kkolipaka", "displayName": "Kondal Kolipaka", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~eharris] Sorry! for the confusion. Problem is not with the VS path but with the http://jsonviewer.stack.hu which I generally use to view the json structure. Looks like formatting removing the spaces! Thanks [~ssekhri] for finding this!\r\n\r\n", "updateAuthor": { "name": "kkolipaka", "key": "kkolipaka", "displayName": "Kondal Kolipaka", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-11-22T17:56:48.000+0000", "updated": "2017-11-22T17:57:24.000+0000" } ], "maxResults": 12, "total": 12, "startAt": 0 } } }