50ButtonsEach / fliclib-linux-dist

114 stars 19 forks source link

test flic with python #46

Open hajiba opened 7 years ago

hajiba commented 7 years ago

I launsh the script main.py, I got the error : swig/python detected a memory leak of type 'std::function< void (bool const &) > ', no destructor found. swig/python detected a memory leak of type 'std::function< void () > ', no destructor found. Initialized Then I presse the button and nothing is happened

Emill commented 7 years ago

Hi. Please use https://github.com/50ButtonsEach/fliclib-linux-hci instead.

hajiba commented 7 years ago

Please can you help me who to use this tutoriel to test flic with python script Thanks

Emill commented 7 years ago

Is it anything in the readme file and the python example that is unclear in the other repository?

hajiba commented 7 years ago

I can working the scripts in python 3 but I want to work with python 2.7. Can you help me?

Emill commented 7 years ago

We only have examples for Python 3. Feel free to modify it so it works with Python 2.7 if you want and submit a pull request. Or just update your app to Python 3...