3dem / relion

Image-processing software for cryo-electron microscopy
https://relion.readthedocs.io/en/latest/
GNU General Public License v2.0
453 stars 201 forks source link

Misleading error on startup if over quota #1067

Open tobydarling opened 9 months ago

tobydarling commented 9 months ago

relion-4.0.1 User was trying to start relion and got the error

WARNING: trying to read pipeline.star, but directory .relion_lock exists...

however, strace shows the actual problem is that they were over quota:

4186446 getcwd("/ceph/xxx/yyy/zzz", 200) = 72
4186446 stat(".gui_projectdir", {st_mode=S_IFREG|0664, st_size=0, ...}) = 0
4186446 stat("default_pipeline.star", {st_mode=S_IFREG|0664, st_size=26108, ...}) = 0
4186446 mkdir(".relion_lock", 0700)     = -1 EDQUOT (Disk quota exceeded)
biochem-fan commented 9 months ago

This is a known issue; this is indeed confusing and we should check the errno.