ratt-ru / purr

Data reduction logging tool, Useful for remembering reductions
GNU General Public License v2.0
1 stars 1 forks source link

Renaming parent directory of purrlog renders it un-updatable #17

Closed gijzelaerr closed 10 years ago

gijzelaerr commented 10 years ago
at 2009-12-28 00:04:16 Oleg Smirnov reported:

Renaming parent directory of purrlog renders it un-updatable

gijzelaerr commented 10 years ago

Original comment thread migrated from bugzilla

at 2009-12-28 00:04:16 Oleg Smirnov replied:

(I'm currently experiencing this with 3C147/batch-cal/pipelines.purrlog -- batch- cal was renamed from spw3-batch.)

Firstly, the renamed directory renames in purrlog/dirconfig, and causes an exception on startup. Should check for exceptions and remove from list.

Secondly, purr dies with a segfault shortly afterwards -- no doubt it somehow keeps looking for non-existing directories and ends up in a tangle.

at 2009-12-28 00:04:49 Oleg Smirnov replied:

Firstly, the renamed directory renames in purrlog/dirconfig, and causes an

directory "remains" is what I meant to type.

at 2010-01-02 17:19:59 Oleg Smirnov replied:

Fixed in 7450. Dir now removed from dirconfig if it doesn't exist.

The crash was caused by multiple symlinks pointing to the same file, thus producing duplicate data products. Fixed in Editors.py.