ryouchinsa / Rectlabel-support

RectLabel is an offline image annotation tool for object detection and segmentation.
https://rectlabel.com
504 stars 73 forks source link

Unable to open images #235

Closed darhsu closed 10 months ago

darhsu commented 1 year ago

I am unable to Open images folder and annotations folder. I'm running Version 2023.07.05 (2023.07.05)

Here is my folder structure:

Screenshot 2023-08-25 at 12 08 17 PM

Here the RectLabel popup:

Screenshot 2023-08-25 at 12 09 15 PM

Here is my error message:

Screenshot 2023-08-25 at 12 10 26 PM
ryouchinsa commented 12 months ago

Thanks for writing the issue. Could you check the folder permission so that RectLabel can read/write?

Otherwise, If you recreated the same named folder, you have to open the folder again from the panel.

darhsu commented 12 months ago

It seems like all the folders and files have read/write permission. I've also tried reinstalling RectLabel too

(base) darren@Darrens-MBP Downloads % ls -ld Rectlabel                 
drwxrwxrwx@ 5 darren  staff  160 Aug 26 09:34 Rectlabel

(base) darren@Darrens-MBP Downloads % ls -ld Rectlabel/images          
drwxrwxrwx@ 3 darren  staff  96 Aug 26 09:37 Rectlabel/images

(base) darren@Darrens-MBP Downloads % ls -ld Rectlabel/images/u9jjk.jpg
-rw-rw-rw-@ 1 darren  staff  521478 Jul 18 11:11 Rectlabel/images/u9jjk.jpg

(base) darren@Darrens-MBP Downloads % ls -ld Rectlabel/annotations     
drwxrwxrwx@ 3 darren  staff  96 Aug 26 09:35 Rectlabel/annotations

(base) darren@Darrens-MBP Downloads % ls -ld Rectlabel/annotations/u9jjk.txt 
-rw-rw-rw-  1 darren  staff  0 Aug 26 09:35 Rectlabel/annotations/u9jjk.txt
ryouchinsa commented 12 months ago

Thanks for the detailed feedback.

According to the error message, the images folder or annotations folder is staled. The bookmarked resource is moved or renamed within a directory that your app already has permission to access. What happens if you re-open the images and annotations folder? https://stackoverflow.com/questions/23954662/what-is-the-correct-way-to-handle-stale-nsurl-bookmarks

darhsu commented 11 months ago

What happens if you re-open the images and annotations folder?

Can you clarify you mean by reopening the images and annotations folder?

Also, I've granted RectLabel full disk access to and I am still getting the same "cannot open bookmark to the folder" error.

Screenshot 2023-09-01 at 10 38 12 PM
ryouchinsa commented 11 months ago

Thanks for the detailed information.

Using the change button, please select the same directory for images and annotations again. When you select each directory, RectLabel can regenerate the access permission to the folder.

reopen

ryouchinsa commented 11 months ago

Here is a sample images folder and annotations folder. https://github.com/ryouchinsa/Rectlabel-support/tree/master/sample

If you download this sample folder on your download folder or on another directory such as home directory, does RectLabel show the error message when open those folders?

darhsu commented 11 months ago

Hey, thanks for the help. I have followed your instructions but it still did not work.

Instead, I wiped my MacBook and it works now!

ryouchinsa commented 11 months ago

Thanks for the detailed feedback.

According to your feedback, for the permission issue, deleting cache files might work. https://rectlabel.com/help#troubleshooting

ryouchinsa commented 10 months ago

Currently If you need our support to fix this problem, please let us know.