Code Monkey home page Code Monkey logo

Comments (1)

nijel avatar nijel commented on July 24, 2024

The side effect of this is that threads are crashing when executed concurrently:

dub 28 12:33:10 cachet python[3102]: Exception in thread Thread-8:
dub 28 12:33:10 cachet python[3102]: Traceback (most recent call last):
dub 28 12:33:10 cachet python[3102]:   File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner
dub 28 12:33:10 cachet python[3102]:     self.run()
dub 28 12:33:10 cachet python[3102]:   File "/home/monitor/cachet-url-monitor/cachet_url_monitor/scheduler.py", line 93, in run
dub 28 12:33:10 cachet python[3102]:     self.scheduler.start()
dub 28 12:33:10 cachet python[3102]:   File "/home/monitor/cachet-url-monitor/cachet_url_monitor/scheduler.py", line 83, in start
dub 28 12:33:10 cachet python[3102]:     schedule.run_pending()
dub 28 12:33:10 cachet python[3102]:   File "/home/monitor/cachet-url-monitor/lib/python3.7/site-packages/schedule/__init__.py", line 563, in run_pending
dub 28 12:33:10 cachet python[3102]:     default_scheduler.run_pending()
dub 28 12:33:10 cachet python[3102]:   File "/home/monitor/cachet-url-monitor/lib/python3.7/site-packages/schedule/__init__.py", line 94, in run_pending
dub 28 12:33:10 cachet python[3102]:     self._run_job(job)
dub 28 12:33:10 cachet python[3102]:   File "/home/monitor/cachet-url-monitor/lib/python3.7/site-packages/schedule/__init__.py", line 147, in _run_job
dub 28 12:33:10 cachet python[3102]:     ret = job.run()
dub 28 12:33:10 cachet python[3102]:   File "/home/monitor/cachet-url-monitor/lib/python3.7/site-packages/schedule/__init__.py", line 466, in run
dub 28 12:33:10 cachet python[3102]:     ret = self.job_func()
dub 28 12:33:10 cachet python[3102]:   File "/home/monitor/cachet-url-monitor/cachet_url_monitor/scheduler.py", line 37, in execute
dub 28 12:33:10 cachet python[3102]:     decorator.execute(self.configuration)
dub 28 12:33:10 cachet python[3102]:   File "/home/monitor/cachet-url-monitor/cachet_url_monitor/scheduler.py", line 62, in execute
dub 28 12:33:10 cachet python[3102]:     configuration.push_incident()
dub 28 12:33:10 cachet python[3102]:   File "/home/monitor/cachet-url-monitor/cachet_url_monitor/configuration.py", line 256, in push_incident
dub 28 12:33:10 cachet python[3102]:     del self.incident_id
dub 28 12:33:10 cachet python[3102]: AttributeError: incident_id

from cachet-url-monitor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.