gjcarneiro / yacron

A modern Cron replacement that is Docker-friendly
MIT License
454 stars 38 forks source link

Sentry reporting is broken with yacron self-contained binary #34

Closed gjcarneiro closed 4 years ago

gjcarneiro commented 4 years ago
INFO:yacron:Starting job test-01
INFO:yacron:Job test-01 spawned
[test-01 stderr] hello
INFO:yacron:Job test-01 exit code 10; has stdout: false, has stderr: true; failed: true
INFO:yacron:Job test-01 STDERR:
hello
INFO:yacron:Cron job test-01: reporting failure
ERROR:yacron:Problem reporting job test-01 failure: name '__file__' is not defined

It seems that this is failing inside https://github.com/getsentry/sentry-python due to pyoxidizer binaries python modules not having __file__ attributes.

gjcarneiro commented 4 years ago

I have spent hours trying to get a new version of pyoxidizer to work, to no avail. I think I'll probably just remove pyoxidizer: it is simply not mature enough.