ucphhpc / migrid-sync

MiGrid workspace where master branch is kept strictly in sync with SF upstream svn repo. Any development or experiments should use a branch. You probably want to fork your own clone or work e.g. on the edge branch if you wish to contribute.
GNU General Public License v2.0
3 stars 4 forks source link

ERROR can't do nonzero end-relative seeks #5

Closed Bjarke42 closed 1 year ago

Bjarke42 commented 1 year ago

We sometimes see the following line in our mig.log

2023-02-17 09:39:48,629 ERROR reading 20 lines from /home/mig/state/log/mig.log: can't do nonzero end-relative seeks

should this error be ignored, or can it be made more descriptive ? If it can be ignored, then please consider removing it so it will not be generated anymore.

jonasbardino commented 1 year ago

Thanks for reporting. I vaguely recall seeing it as well and AFAIK it's a python3 porting issue yet to be looked into. It might be helpful if you can describe what triggers the log e.g. if the previous line mentions a relevant operation or if you can match it up with an entry in the apache http access log.

Details about the cause can be found in this thread. https://discuss.python.org/t/python3-cant-do-nonzero-cur-relative-seeks-with-python2-7-shebang-it-works/11514

jonasbardino commented 1 year ago

Please check if this is fixed using experimental branch revision e2c3d3d208e560ed4678d5cd96ba8f284df81f6b from March 14th (or any later revision). Opening the Server Admin or Datatransfers page with log in textarea should trigger the probable causes.

jonasbardino commented 1 year ago

No further feedback so I consider it solved. Feel free to reopen with details if not.