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

Positron web - new project wizard git init fails #5089

Closed
Tracked by #4893
jonvanausdeln opened this issue Oct 21, 2024 · 1 comment
Closed
Tracked by #4893

Positron web - new project wizard git init fails #5089

jonvanausdeln opened this issue Oct 21, 2024 · 1 comment
Assignees
Labels
area: project wizard Issues related to New Project Wizard category. area: workbench Issues related to Workbench category. bug Something isn't working

Comments

@jonvanausdeln
Copy link
Contributor

System details:

Positron and OS details:

Ubuntu 22
current main branch - the reh-web build

Interpreter details:

Describe the issue:

Creating a new project and select to "Initialize with Git repository" fails to create the local git repository

Steps to reproduce the issue:

  1. Start new project wizard
  2. Select Python or R
  3. Check "Initialize with Git repository"
  4. Complete wizard steps

Image

Expected or desired behavior:

Git repository created successfully.

Were there any error messages in the UI, Output panel, or Developer Tools console?

2024-10-21 16:58:44.559 [warning] [vscode.git] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for 'git.defaultBranchName', provide the URI of a resource or 'null' for any resource.
@jonvanausdeln jonvanausdeln added area: project wizard Issues related to New Project Wizard category. area: workbench Issues related to Workbench category. bug Something isn't working labels Oct 21, 2024
@sharon-wang
Copy link
Member

This is a similar issue to all the recent errors around creating files on Positron Web #4893.

This line is where we construct the projectRoot from a file system path, which we won't be able to access on Web.

const projectRoot = URI.file(this._newProjectConfig?.projectFolder!);

CC @timtmok for awareness: this looks like another Web file path situation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: project wizard Issues related to New Project Wizard category. area: workbench Issues related to Workbench category. bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants