Skip to content

Opening manpage file by path results in UriError #40

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

Open
GitMensch opened this issue Apr 21, 2025 · 0 comments
Open

Opening manpage file by path results in UriError #40

GitMensch opened this issue Apr 21, 2025 · 0 comments

Comments

@GitMensch
Copy link
Contributor

As an example: "open manpage" then "/home/me/gcc/gcc/cobol/gcobol.1", leading to

[error] Error: [UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")
	at AA (file:///usr/share/codium/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:28:56489)
	at new Xg (file:///usr/share/codium/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:28:57418)
	at new ca (file:///usr/share/codium/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:28:59140)
	at Xg.parse (file:///usr/share/codium/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:28:57919)
	at /home/me/.vscode-oss/extensions/meronz.manpages-0.2.0-universal/out/extension.js:2:3458
	at Generator.next (<anonymous>)
	at /home/me/.vscode-oss/extensions/meronz.manpages-0.2.0-universal/out/extension.js:1:791
	at new Promise (<anonymous>)
	at v (/home/me/.vscode-oss/extensions/meronz.manpages-0.2.0-universal/out/extension.js:1:611)
	at f (/home/me/.vscode-oss/extensions/meronz.manpages-0.2.0-universal/out/extension.js:2:3395)
	at T.<anonymous> (/home/me/.vscode-oss/extensions/meronz.manpages-0.2.0-universal/out/extension.js:2:1982)
	at Generator.next (<anonymous>)
	at r (/home/me/.vscode-oss/extensions/meronz.manpages-0.2.0-universal/out/extension.js:1:649) manpages.openFromInput {"value":"meronz.manpages","_lower":"meronz.manpages"}

the manpages output pane shows

openFromInput called with text: /home/me/gcc/gcc/cobol/gcobol.1

so... something seems to encode the / wrongly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant