bruno icon indicating copy to clipboard operation
bruno copied to clipboard

Fresh install cannot create Collections

Open Angusross111 opened this issue 1 year ago • 5 comments

I have a fresh install of Bruno and I cant seem to be able to create any Collections. My system is

Static hostname: pop-os
Icon name: computer-laptop
Chassis: laptop
Operating System: Pop!_OS 22.04 LTS               
Kernel: Linux 6.5.6-76060506-generic
Architecture: x86-64
Hardware Vendor: Lenovo
Hardware Model: ThinkPad P14s Gen 1

I installed bruno from the Pop!_Shop which installed version v1.5.1

When I choose my location I navigate to my Documents folder which is located at: /home/angus.ross/Documents but when after selecting the string in the Location field is /run/user/1000/doc/bc284510/Documents. Pressing create gets the error

An error occurred while creating the collection

image

Angusross111 avatar Jan 10 '24 06:01 Angusross111

Looks like it might be a permissions issue but I dont see any errors in the devtools console when trying to create a Collection. I was able to open the github example Collection, but I am not able to delete any Requests or Folders. I do get the following error in the console when I try to delete

Uncaught (in promise) Error: Error invoking remote method 'renderer:delete-item': Error: EACCES: permission denied, unlink '/run/user/1000/doc/62eab525/github-rest-api-collection/Repository/Search Repos.bru'

After installing the .deb package it seems like it has the correct permissions to create and delete Collections/Requests.

Angusross111 avatar Jan 10 '24 21:01 Angusross111

Being a permission issue, maybe you can solve it using Flatseal? It's an application to manage Flatpak apps permissions (which I am guessing it's the install being offered in the Pop Shop). Try to enable this permission: image

rsilvr avatar Jan 10 '24 22:01 rsilvr

Sorry to jump in on another person's thread, but I have the same issue. I use Windows 10. New user, fresh installation, can't create folder for collection. Tried to make folder manually and just click on it, same notification- "An error occurred while creating the collection".

PeterH220 avatar Jan 18 '24 22:01 PeterH220

I also encountered this issue, fix proposed by @rsilvr worked for me.

But this effectively makes the app useless for new users installing through flatpak, there should at least be more discussion on this...

nexovec avatar Feb 07 '24 10:02 nexovec

@rsilvr thanks for the hint! I ran into the exact same issue & just opened a PR to add such permission from the beginning: https://github.com/flathub/com.usebruno.Bruno/pull/9

bastian-src avatar Mar 19 '24 15:03 bastian-src

I am closing this issue as it seems to be resolved.

sanjai0py avatar Jul 05 '24 06:07 sanjai0py