Giter VIP home page Giter VIP logo

crashreporter's People

Contributors

bartgo avatar danielatdattrixdotcom avatar lobocv avatar pahko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

crashreporter's Issues

CrashReporter not recongnizing in Python 3

from crashreporter import CrashReporter
File "/usr/local/lib/python3.5/dist-packages/crashreporter/init.py", line 1, in
from crashreporter import CrashReporter
ImportError: cannot import name 'CrashReporter'

Error above only appears on python 3.5

Report to github

Is it possible to somehow have people create github issues based on crashes? That would be useful for us as an open source project.

Does not work with multithreaded program.

Please find my code below:

from crashreporter import CrashReporter
#from crashreporter.crashreporter import CrashReporter
import threading

class Person(object):

    def __init__(self, name, age=None):
        self.name = name
        self.age = age

def combine_ages(person_a, person_b):
    a_local_variable = 134
    return person_a.age + person_b.age, Person.__name__


# Note I have used a configuration file for setting up SMTP and HQ accounts but you can also call functions
# cr.setup_smtp() and cr.setup_hq() with your credentials to configure SMTP/HQ respectively.
cr = CrashReporter(report_dir='./reports',
                    check_interval=10,
                    config='./crashreporter.cfg')

cr.application_name = 'My App'
cr.application_version = '1.1.350'

calvin = Person('calvin', age=25)
bob = Person('bob')

job_thread = threading.Thread(target=combine_ages,args=(calvin, bob,))
job_thread.start()

Crash reporter is not reporting exceptions in above case.
Kindly help me.

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.