cmbi / mrs

Maarten's Retrieval Service
Boost Software License 1.0
0 stars 3 forks source link

Cannot parse job file #67

Open cbaakman opened 7 years ago

cbaakman commented 7 years ago

Found this warning in the log file. Seeing as MRS makes its own job files, this should be valid.

2017-03-09 09:24:27 [WARN] : Cannot parse job file /srv/mrs-data/blast-cache/74dbae2c-1b9f-4239-8e8d-114abd59ecf4.job: Document (line: 1) not well-formed: Error parsing XML, expected 'tag' but found 'end of file' ('
cbaakman commented 7 years ago

/srv/mrs-data/blast-cache/74dbae2c-1b9f-4239-8e8d-114abd59ecf4.job is no longer present in the docker container, but it was probably an empty file. Empty files have occurred more often in the past. That's why we've built a try-catch construction around the parse method.

Cause of existence of those empty files is unknown. Possibly an interrupt during writing.