LabelMeAnnotationTool icon indicating copy to clipboard operation
LabelMeAnnotationTool copied to clipboard

No new xml files in the "Annotations" folder after labeling in the brower.

Open houz42 opened this issue 9 years ago • 8 comments

I am using a local server on Ubuntu 14.04.

The web page display well, and I can draw polygons and label names of objects. But I can't see any new xml file inside "Annotations" folder, or "annotationCache/TempAnnotation".

I am pretty sure these folders have write permissions.

houz42 avatar Mar 08 '15 05:03 houz42

Same here...

Is there a workable README or INSTALLATION GUIDE?

Apache/2.4.10 PHP 5.4.36

z24 avatar Mar 10 '15 02:03 z24

Thanks for raising these issues.

To help me debug, can you please respond with the output from the javascript console? You can copy and paste from Chrome by navigating via "View=>Developer=>Javascript Console". Thanks!

brussell123 avatar Mar 11 '15 22:03 brussell123

I encountered the similar problem recently. I am using a local server with operating system centos 7.3. I can access LabelMe web page and draw polygons, but no xml annotations and log files are generated. Corresponding folders have write permissions, SSI and Perl/CGI also seem OK.

wzgwzg avatar Mar 19 '17 06:03 wzgwzg

I am encountering the same error, but for a sligthly different problem. If I load images into the folder I can see xml files after tagging, but if I put into Annotations folder old xml files I can tag and see old tags on the screen, but new changes are not saved into xml files.

caleale90 avatar Jan 11 '18 15:01 caleale90

My LabelMe did not save any modification at the web interface when I have hand-made xml file as initial. Currently, I solve this problem by modified the "data" in xml file to far future like '31-Dec-2099 11:59:59'. Hope this helps.

JMingKuo avatar Jan 23 '18 07:01 JMingKuo

I recently saw a bug in the browser tool. This could be related. If the file names contain a "." before the extension then the annotations are not saved, e.g., if the image name is something like "asd.a.jpg".

hkaraoguz avatar Apr 16 '18 20:04 hkaraoguz

I am encountering the same error, but for a sligthly different problem. If I load images into the folder I can see xml files after tagging, but if I put into Annotations folder old xml files I can tag and see old tags on the screen, but new changes are not saved into xml files.

Can U solved it?

q841496770 avatar Dec 03 '19 11:12 q841496770

Hey @brussell123

I was facing a similar issue. the thing is that it is possible that the XML files belong to a different user group or user.

Try running this inside the Annotation folder:

ls -l 

You should see an output like this

-rwxr-xr-x 1 samagra14 samagra14  482 Mar  2 17:06 PBbr79000312RP0118838553.xml
-rwxr-xr-x 1 samagra14 samagra14 482 Mar  2 17:06 PBbr79000322RP0118838559.xml
-rwxr-xr-x 1 www-data www-data 2553 Mar  2 17:34 img1.xml
-rwxr-xr-x 1 www-data www-data 1913 Mar  1 11:01 img2.xml

Just change the groups and users to www-data using the following command:

sudo chown www-data <filename>
sudo chgrp www-data <filename>

If there are multiple files do this:

for f in ./*;
do sudo chown www-data $f;
done;

Thanks.

samagra14 avatar Mar 02 '21 12:03 samagra14