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

Can't rename request from Bruno Windows on WSL .bru files #2342

Open
2 tasks done
mathisgauthey opened this issue May 20, 2024 · 0 comments
Open
2 tasks done

Can't rename request from Bruno Windows on WSL .bru files #2342

mathisgauthey opened this issue May 20, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@mathisgauthey
Copy link

mathisgauthey commented May 20, 2024

I have checked the following:

  • I use the newest version of bruno.
  • I've searched existing issues and found nothing related to my issue.

Describe the bug

I use Bruno Windows on my project that is store inside WSL. I code from VS Code Windows that is remotely connected to my WSL.

I get this error while trying to modify a request name.

Error invoking remote method 'renderer:rename-item': Error: ENOENT: no such file or directory, open '/wsl.localhost/Ubuntu/home/mat/documents/odoo-dev-env/addons/ERASED-odoo-addons/API/DEMO AUTH.bru'

.bru file to reproduce the bug

meta {
  name: AUTH
  type: http
  seq: 7
}

post {
  url: {{BASE_URL}}/auth
  body: json
  auth: none
}

headers {
  Content-Type: application/json
}

body:json {
  {
    "params": {
      "login": "demo",
      "password": "demo",
      "db": "{{DB}}"
    }
  }
}

Screenshots/Live demo link

image

EDIT: Mea culpa, I just found out another person had the same issue recently : #2269

As a current workaround, I modify the .bru file from VS Code, but it is less than optimal. Saving cause no issues, creating new request as well, so I guess we can write inside the file without issue but can't rename a .bru file from Bruno.

@mathisgauthey mathisgauthey added the bug Something isn't working label May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant