Skip to content
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

question : I got some errors. #198

Closed
manawo opened this issue Jul 16, 2018 · 15 comments
Closed

question : I got some errors. #198

manawo opened this issue Jul 16, 2018 · 15 comments

Comments

@manawo
Copy link

manawo commented Jul 16, 2018

Hello, @alefragnani :)
Thank you for making PM8!!
When I update PM8, I got this errors. I cloud not see the folder icon at activity bar, also.
I'm using High Sierra (10.13.5) , VSC 1.22.1 , PM8. What should I do for this case?

Screenshot from Gyazo

@manawo manawo changed the title question : I got a some errors. question : I got some errors. Jul 16, 2018
@alefragnani
Copy link
Owner

Hi @manawo ,

Have you experienced any error message while updating the extension? Could you provide the Console log in Toggle Developer Tools? Maybe this could help to understand what's going on...

Another idea, you could uninstall and reinstall the extension. This could force the extension to be installed entirely, in case some problem has hapened while updating.

Hope this helps

@manawo
Copy link
Author

manawo commented Jul 18, 2018

Hi @alefragnani ,

Thank you for replay me 😊

Have you experienced any error message while updating the extension?

No, I have not ☺️

Here is console errors.
Screenshot from Gyazo

Another idea, you could uninstall and reinstall the extension. This could force the extension to be installed entirely, in case some problem has hapened while updating.

I already tried this 😊 but It not changed.
But, I don't want to rush you.
If you have any solutions, let me know. I'm using another pc till that time 🙋‍♀️

Thank you ☺️

@xiaoouwang
Copy link

same error here 💃

@alefragnani
Copy link
Owner

Hi @xiaoouwang ,

Are you using a Mac too?

@xiaoouwang
Copy link

Yes @alefregnani

@alefragnani
Copy link
Owner

Well, it appears to be a problem exclusive to Mac OS. At least, all of you are using it.

Unfortunately, I don't have access to a Mac to test. I will search for any references on this errors that could give me a glimpse of what's going on.

Just out of curiosity. Do you use the normal installers, right? I mean, oficial installers, and not something like Chocolatey or Portable Mode?

It would also help if you could paste the contents of package.json file presented in alefragnani.project-manager-8.0.0 folder, inside your Extensions Folder. You could access this folder right from the command palette Extensions: Open Extensions Folder. Just to be sure that the extension effectively installed the extension.

Hope this helps

@alefragnani alefragnani added MacOS Needs a Mac to reproduce/fix/develop side bar labels Jul 25, 2018
@xiaoouwang
Copy link

{
"name": "project-manager",
"displayName": "Project Manager",
"description": "Easily switch between projects",
"version": "8.0.0",
"publisher": "alefragnani",
"galleryBanner": {
"color": "#000000",
"theme": "dark"
},
"engines": {
"vscode": "^1.21.0"
},
"categories": [
"Other"
],
"keywords": [
"project",
"folder",
"switch",
"manage",
"git",
"multi-root ready"
],
"icon": "images/icon.png",
"license": "SEE LICENSE IN LICENSE.md",
"homepage": "https://github.com/alefragnani/vscode-project-manager/blob/master/README.md",
"repository": {
"type": "git",
"url": "https://github.com/alefragnani/vscode-project-manager.git"
},
"bugs": {
"url": "https://github.com/alefragnani/vscode-project-manager/issues"
},
"activationEvents": [
"*",
"onCommand:projectManager.saveProject",
"onCommand:projectManager.listProjects",
"onCommand:projectManager.listProjectsNewWindow",
"onCommand:projectManager.editProjects",
"onCommand:projectManager.refreshProjects",
"onView:projectsExplorer"
],
"main": "./out/src/extension",
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "project-manager",
"title": "Project Manager",
"icon": "images/ico-favorites-dark.svg"
}
]
},
"views": {
"project-manager": [
{
"id": "projectsExplorerFavorites",
"name": "Favorites",
"when": "projectManager.canShowTreeViewFavorites"
},
{
"id": "projectsExplorerGit",
"name": "Git",
"when": "projectManager.canShowTreeViewGit"
},
{
"id": "projectsExplorerSVN",
"name": "SVN",
"when": "projectManager.canShowTreeViewSVN"
},
{
"id": "projectsExplorerMercurial",
"name": "Mercurial",
"when": "projectManager.canShowTreeViewMercurial"
},
{
"id": "projectsExplorerVSCode",
"name": "VSCode",
"when": "projectManager.canShowTreeViewVSCode"
}
]
},
"commands": [
{
"command": "projectManager.saveProject",
"title": "Project Manager: Save Project"
},
{
"command": "projectManager.listProjects",
"title": "Project Manager: List Projects to Open"
},
{
"command": "projectManager.listProjectsNewWindow",
"title": "Project Manager: List Projects to Open in New Window"
},
{
"command": "projectManager.editProjects",
"title": "Project Manager: Edit Projects",
"icon": {
"light": "images/ico-edit-projects-light.svg",
"dark": "images/ico-edit-projects-dark.svg"
}
},
{
"command": "projectManager.refreshProjects",
"title": "Project Manager: Refresh Projects"
},
{
"command": "projectManager.open",
"title": "Open"
},
{
"command": "projectManager.openInNewWindow",
"title": "Open in New Window"
},
{
"command": "projectManager.addToWorkspace",
"title": "Add to Workspace"
},
{
"command": "projectManager.deleteProject",
"title": "Delete Project"
},
{
"command": "projectManager.renameProject",
"title": "Rename Project"
}
],
"menus": {
"commandPalette": [
{
"command": "projectManager.open",
"when": "false"
},
{
"command": "projectManager.openInNewWindow",
"when": "false"
},
{
"command": "projectManager.addToWorkspace",
"when": "false"
},
{
"command": "projectManager.deleteProject",
"when": "false"
},
{
"command": "projectManager.renameProject",
"when": "false"
}
],
"view/title": [
{
"command": "projectManager.editProjects",
"when": "view == projectsExplorerFavorites",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "projectManager.open",
"when": "view =~ /projectsExplorer(Favorites|VSCode|Git|SVN|Mercurial)/",
"group": "navigation"
},
{
"command": "projectManager.openInNewWindow",
"when": "view =~ /projectsExplorer(Favorites|VSCode|Git|SVN|Mercurial)/",
"group": "navigation"
},
{
"command": "projectManager.addToWorkspace",
"when": "view =~ /projectsExplorer(Favorites|VSCode|Git|SVN|Mercurial)/",
"group": "workspace"
},
{
"command": "projectManager.deleteProject",
"when": "view == projectsExplorerFavorites",
"group": "favorites"
},
{
"command": "projectManager.renameProject",
"when": "view == projectsExplorerFavorites",
"group": "favorites"
}
]
},
"configuration": {
"type": "object",
"title": "Project Manager Configuration",
"properties": {
"projectManager.showProjectNameInStatusBar": {
"type": "boolean",
"default": true,
"description": "Should display the project name in the Status Bar?"
},
"projectManager.openInNewWindowWhenClickingInStatusBar": {
"type": "boolean",
"default": false,
"description": "Should the project be opened using a New Window when you click the Status Bar?"
},
"projectManager.removeCurrentProjectFromList": {
"type": "boolean",
"default": true,
"description": "Should the current project be hidden in the list of available projects?"
},
"projectManager.sortList": {
"type": "string",
"default": "Name",
"description": "List the projects sorted by...(Saved, Name, Path or Recent)",
"enum": [
"Saved",
"Name",
"Path",
"Recent"
]
},
"projectManager.groupList": {
"type": "boolean",
"default": false,
"description": "List the projects grouped by...(Favorites, VSCode, Git, Mercurial and SVN)"
},
"projectManager.projectsLocation": {
"type": "string",
"default": "",
"description": "Indicates an alternative location where the projects.json file is stored"
},
"projectManager.vscode.baseFolders": {
"type": "array",
"default": [],
"description": "Indicates the base folders to search for VSCode projects"
},
"projectManager.vscode.ignoredFolders": {
"type": "array",
"default": [
"node_modules",
"out",
"typings",
"test"
],
"description": "Indicates folders to be ignored, like "node_modules", "out", "typings", "test""
},
"projectManager.vscode.maxDepthRecursion": {
"type": "integer",
"default": 4,
"description": "Indicates the maximum depth of folder recursion to search for projects. Any value below 1 means there is no limit"
},
"projectManager.git.baseFolders": {
"type": "array",
"default": [],
"description": "Indicates the base folders to search for Git projects"
},
"projectManager.git.ignoredFolders": {
"type": "array",
"default": [
"node_modules",
"out",
"typings",
"test",
".haxelib"
],
"description": "Indicates folders to be ignored, like "node_modules", "out", "typings", "test""
},
"projectManager.git.maxDepthRecursion": {
"type": "integer",
"default": 4,
"description": "Indicates the maximum depth of folder recursion to search for projects. Any value below 1 means there is no limit"
},
"projectManager.hg.baseFolders": {
"type": "array",
"default": [],
"description": "Indicates the base folders to search for Mercurial projects"
},
"projectManager.hg.ignoredFolders": {
"type": "array",
"default": [
"node_modules",
"out",
"typings",
"test",
".haxelib"
],
"description": "Indicates folders to be ignored, like "node_modules", "out", "typings", "test""
},
"projectManager.hg.maxDepthRecursion": {
"type": "integer",
"default": 4,
"description": "Indicates the maximum depth of folder recursion to search for projects. Any value below 1 means there is no limit"
},
"projectManager.svn.baseFolders": {
"type": "array",
"default": [],
"description": "Indicates the base folders to search for SVN projects"
},
"projectManager.svn.ignoredFolders": {
"type": "array",
"default": [
"node_modules",
"out",
"typings",
"test"
],
"description": "Indicates folders to be ignored, like "node_modules", "out", "typings", "test""
},
"projectManager.svn.maxDepthRecursion": {
"type": "integer",
"default": 4,
"description": "Indicates the maximum depth of folder recursion to search for projects. Any value below 1 means there is no limit"
},
"projectManager.cacheProjectsBetweenSessions": {
"type": "boolean",
"default": true,
"description": "Should cache the VSCode, Git and SVN projects found?"
},
"projectManager.checkInvalidPathsBeforeListing": {
"type": "boolean",
"default": true,
"description": "Should check for invalid paths before listing, showing a message below the project name?"
},
"projectManager.treeview.visible": {
"type": "boolean",
"default": true,
"description": "Should display the Treeview?"
},
"projectManager.filterOnFullPath": {
"type": "boolean",
"default": false,
"description": "Should filter projects through full path?"
}
}
},
"keybindings": [
{
"command": "projectManager.listProjects",
"key": "shift+alt+p",
"mac": "cmd+alt+p"
}
]
},
"scripts": {
"vscode:prepublish": "tsc -p ./",
"compile": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install"
},
"devDependencies": {
"@types/node": "^6.0.40",
"typescript": "^2.3.2",
"vscode": "^1.1.17"
},
"dependencies": {
"walker": "^1.0.7"
},
"__metadata": {
"id": "1b747f06-3789-4ebd-ac99-f1fe430c3347",
"publisherId": "3fbdef65-bdf5-4723-aeaf-9e12a50546ef",
"publisherDisplayName": "Alessandro Fragnani"
}
}

Here it is ! Yes I did install via the official installer

@basvandenbrink
Copy link

I have the same error using Windows 10.

@jd-mtb
Copy link

jd-mtb commented Aug 21, 2018

I also have a similar issue on windows 7. I used the 'user' mode installer FYI! (installs to app data directory). We have a corporate proxy but that shouldn't affect this afaik.

For me, I do not get any error pop ups though I cannot see the action bar icon for "project manager" but for other extensions the action bar icon is there.

It turns out my issue was that the action bar button doesn't show up until you add a project. You can do this via the command palette to get rolling.

@dvdgsng
Copy link

dvdgsng commented Aug 23, 2018

Same errors here.

  • Windows 10

  • VSCode portable (just the extracted zip, not that PortableApps stuff or chocolatey)

  • Extension directory is in homedir (ie: C:\Users\MYUSER.vscode\extensions\alefragnani.project-manager-8.0.0)

  • console output:
    image

  • Plugin package.json:

{
	"name": "project-manager",
	"displayName": "Project Manager",
	"description": "Easily switch between projects",
	"version": "8.0.0",
	"publisher": "alefragnani",
	"galleryBanner": {
		"color": "#000000",
		"theme": "dark"
	},
	"engines": {
		"vscode": "^1.21.0"
	},
	"categories": [
		"Other"
	],
	"keywords": [
		"project",
		"folder",
		"switch",
		"manage",
		"git",
		"multi-root ready"
	],
	"icon": "images/icon.png",
	"license": "SEE LICENSE IN LICENSE.md",
	"homepage": "https://github.com/alefragnani/vscode-project-manager/blob/master/README.md",
	"repository": {
		"type": "git",
		"url": "https://github.com/alefragnani/vscode-project-manager.git"
	},
	"bugs": {
		"url": "https://github.com/alefragnani/vscode-project-manager/issues"
	},
	"activationEvents": [
		"*",
		"onCommand:projectManager.saveProject",
		"onCommand:projectManager.listProjects",
		"onCommand:projectManager.listProjectsNewWindow",
		"onCommand:projectManager.editProjects",
		"onCommand:projectManager.refreshProjects",
		"onView:projectsExplorer"
	],
	"main": "./out/src/extension",
	"contributes": {
		"viewsContainers": {
			"activitybar": [
				{
					"id": "project-manager",
					"title": "Project Manager",
					"icon": "images/ico-favorites-dark.svg"
				}
			]
		},
		"views": {
			"project-manager": [
				{
					"id": "projectsExplorerFavorites",
					"name": "Favorites",
					"when": "projectManager.canShowTreeViewFavorites"
				},
				{
					"id": "projectsExplorerGit",
					"name": "Git",
					"when": "projectManager.canShowTreeViewGit"
				},
				{
					"id": "projectsExplorerSVN",
					"name": "SVN",
					"when": "projectManager.canShowTreeViewSVN"
				},
				{
					"id": "projectsExplorerMercurial",
					"name": "Mercurial",
					"when": "projectManager.canShowTreeViewMercurial"
				},
				{
					"id": "projectsExplorerVSCode",
					"name": "VSCode",
					"when": "projectManager.canShowTreeViewVSCode"
				}
			]
		},
		"commands": [
			{
				"command": "projectManager.saveProject",
				"title": "Project Manager: Save Project"
			},
			{
				"command": "projectManager.listProjects",
				"title": "Project Manager: List Projects to Open"
			},
			{
				"command": "projectManager.listProjectsNewWindow",
				"title": "Project Manager: List Projects to Open in New Window"
			},
			{
				"command": "projectManager.editProjects",
				"title": "Project Manager: Edit Projects",
				"icon": {
					"light": "images/ico-edit-projects-light.svg",
					"dark": "images/ico-edit-projects-dark.svg"
				}
			},
			{
				"command": "projectManager.refreshProjects",
				"title": "Project Manager: Refresh Projects"
			},
			{
				"command": "projectManager.open",
				"title": "Open"
			},
			{
				"command": "projectManager.openInNewWindow",
				"title": "Open in New Window"
			},
			{
				"command": "projectManager.addToWorkspace",
				"title": "Add to Workspace"
			},
			{
				"command": "projectManager.deleteProject",
				"title": "Delete Project"
			},
			{
				"command": "projectManager.renameProject",
				"title": "Rename Project"
			}
		],
		"menus": {
			"commandPalette": [
				{
					"command": "projectManager.open",
					"when": "false"
				},
				{
					"command": "projectManager.openInNewWindow",
					"when": "false"
				},
				{
					"command": "projectManager.addToWorkspace",
					"when": "false"
				},
				{
					"command": "projectManager.deleteProject",
					"when": "false"
				},
				{
					"command": "projectManager.renameProject",
					"when": "false"
				}
			],
			"view/title": [
				{
					"command": "projectManager.editProjects",
					"when": "view == projectsExplorerFavorites",
					"group": "navigation"
				}
			],
			"view/item/context": [
				{
					"command": "projectManager.open",
					"when": "view =~ /projectsExplorer(Favorites|VSCode|Git|SVN|Mercurial)/",
					"group": "navigation"
				},
				{
					"command": "projectManager.openInNewWindow",
					"when": "view =~ /projectsExplorer(Favorites|VSCode|Git|SVN|Mercurial)/",
					"group": "navigation"
				},
				{
					"command": "projectManager.addToWorkspace",
					"when": "view =~ /projectsExplorer(Favorites|VSCode|Git|SVN|Mercurial)/",
					"group": "workspace"
				},
				{
					"command": "projectManager.deleteProject",
					"when": "view == projectsExplorerFavorites",
					"group": "favorites"
				},
				{
					"command": "projectManager.renameProject",
					"when": "view == projectsExplorerFavorites",
					"group": "favorites"
				}
			]
		},
		"configuration": {
			"type": "object",
			"title": "Project Manager Configuration",
			"properties": {
				"projectManager.showProjectNameInStatusBar": {
					"type": "boolean",
					"default": true,
					"description": "Should display the project name in the Status Bar?"
				},
				"projectManager.openInNewWindowWhenClickingInStatusBar": {
					"type": "boolean",
					"default": false,
					"description": "Should the project be opened using a New Window when you click the Status Bar?"
				},
				"projectManager.removeCurrentProjectFromList": {
					"type": "boolean",
					"default": true,
					"description": "Should the current project be hidden in the list of available projects?"
				},
				"projectManager.sortList": {
					"type": "string",
					"default": "Name",
					"description": "List the projects sorted by...(Saved, Name, Path or Recent)",
					"enum": [
						"Saved",
						"Name",
						"Path",
						"Recent"
					]
				},
				"projectManager.groupList": {
					"type": "boolean",
					"default": false,
					"description": "List the projects grouped by...(Favorites, VSCode, Git, Mercurial and SVN)"
				},
				"projectManager.projectsLocation": {
					"type": "string",
					"default": "",
					"description": "Indicates an alternative location where the `projects.json` file is stored"
				},
				"projectManager.vscode.baseFolders": {
					"type": "array",
					"default": [],
					"description": "Indicates the base folders to search for VSCode projects"
				},
				"projectManager.vscode.ignoredFolders": {
					"type": "array",
					"default": [
						"node_modules",
						"out",
						"typings",
						"test"
					],
					"description": "Indicates folders to be ignored, like \"node_modules\", \"out\", \"typings\", \"test\""
				},
				"projectManager.vscode.maxDepthRecursion": {
					"type": "integer",
					"default": 4,
					"description": "Indicates the maximum depth of folder recursion to search for projects. Any value below 1 means there is no limit"
				},
				"projectManager.git.baseFolders": {
					"type": "array",
					"default": [],
					"description": "Indicates the base folders to search for Git projects"
				},
				"projectManager.git.ignoredFolders": {
					"type": "array",
					"default": [
						"node_modules",
						"out",
						"typings",
						"test",
						".haxelib"
					],
					"description": "Indicates folders to be ignored, like \"node_modules\", \"out\", \"typings\", \"test\""
				},
				"projectManager.git.maxDepthRecursion": {
					"type": "integer",
					"default": 4,
					"description": "Indicates the maximum depth of folder recursion to search for projects. Any value below 1 means there is no limit"
				},
				"projectManager.hg.baseFolders": {
					"type": "array",
					"default": [],
					"description": "Indicates the base folders to search for Mercurial projects"
				},
				"projectManager.hg.ignoredFolders": {
					"type": "array",
					"default": [
						"node_modules",
						"out",
						"typings",
						"test",
						".haxelib"
					],
					"description": "Indicates folders to be ignored, like \"node_modules\", \"out\", \"typings\", \"test\""
				},
				"projectManager.hg.maxDepthRecursion": {
					"type": "integer",
					"default": 4,
					"description": "Indicates the maximum depth of folder recursion to search for projects. Any value below 1 means there is no limit"
				},
				"projectManager.svn.baseFolders": {
					"type": "array",
					"default": [],
					"description": "Indicates the base folders to search for SVN projects"
				},
				"projectManager.svn.ignoredFolders": {
					"type": "array",
					"default": [
						"node_modules",
						"out",
						"typings",
						"test"
					],
					"description": "Indicates folders to be ignored, like \"node_modules\", \"out\", \"typings\", \"test\""
				},
				"projectManager.svn.maxDepthRecursion": {
					"type": "integer",
					"default": 4,
					"description": "Indicates the maximum depth of folder recursion to search for projects. Any value below 1 means there is no limit"
				},
				"projectManager.cacheProjectsBetweenSessions": {
					"type": "boolean",
					"default": true,
					"description": "Should cache the VSCode, Git and SVN projects found?"
				},
				"projectManager.checkInvalidPathsBeforeListing": {
					"type": "boolean",
					"default": true,
					"description": "Should check for invalid paths before listing, showing a message below the project name?"
				},
				"projectManager.treeview.visible": {
					"type": "boolean",
					"default": true,
					"description": "Should display the Treeview?"
				},
				"projectManager.filterOnFullPath": {
					"type": "boolean",
					"default": false,
					"description": "Should filter projects through full path?"
				}
			}
		},
		"keybindings": [
			{
				"command": "projectManager.listProjects",
				"key": "shift+alt+p",
				"mac": "cmd+alt+p"
			}
		]
	},
	"scripts": {
		"vscode:prepublish": "tsc -p ./",
		"compile": "tsc -watch -p ./",
		"postinstall": "node ./node_modules/vscode/bin/install"
	},
	"devDependencies": {
		"@types/node": "^6.0.40",
		"typescript": "^2.3.2",
		"vscode": "^1.1.17"
	},
	"dependencies": {
		"walker": "^1.0.7"
	},
	"__metadata": {
		"id": "1b747f06-3789-4ebd-ac99-f1fe430c3347",
		"publisherId": "3fbdef65-bdf5-4723-aeaf-9e12a50546ef",
		"publisherDisplayName": "Alessandro Fragnani"
	}
}

@alefragnani
Copy link
Owner

Hi,

First of all, sorry for the lack of news about this issue. In the recent weeks has been very difficult to find free time to work on the extensions 😢

The good news is that last week I decided to "re-focus" on some of my extensions, and I'll start to plan milestones for each of them. But this "re-focus" will be based on community feedback/support, and I still don't know where the issue will be.

I would like to take the opportunity to ask if some of you does not experience the issue anymore, either after updating VS Code or with the latest update that I released yesterday.

Thank you

@basvandenbrink
Copy link

I can confirm that this issue still occurs with VS Code version 1.22.2 on Windows 10 (x64).

image

@alefragnani
Copy link
Owner

Hi @basvandenbrink @manawo ,

Are you really using using version 1.22.X? Wasn't that a typo? I'm asking because the current release is 1.27.2.

I mean, the Activity Bar API was supposed to work from version 1.21^, but I'm not sure this was public available or should be enabled as experimental.

Depending on this, I could try to find the older installer and test with this older version

Hope this helps.

@basvandenbrink
Copy link

Hi @alefragnani ,

Ah, there is a new version available. Now I see (I thought I had used Chocolatey for installing and updating VS Code).

Problem solved!

@alefragnani
Copy link
Owner

alefragnani commented Sep 24, 2018

I installed version 1.22.2 and could reproduce the problem. It's really related to the supported API.

Unfortunately, I can't publish previous versions of a package. So, to solve that, you must update to a newer VSCode release. I tested with 1.23 and worked fine.

I'll update the extension to fix this min version issue.

@alefragnani alefragnani removed the MacOS Needs a Mac to reproduce/fix/develop label Sep 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants