Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in log, after first adjustments, but no crash. #2

Open
tshirtman opened this issue Oct 21, 2017 · 3 comments
Open

Error in log, after first adjustments, but no crash. #2

tshirtman opened this issue Oct 21, 2017 · 3 comments

Comments

@tshirtman
Copy link

Change your brightness to create your first data sample (there is no data found).
Task exception was never retrieved
future: <Task finished coro=<Brightml.retrain() done, defined at /home/gabriel/.local/lib/python3.5/site-packages/brightml/brightml.py:53> exception=TypeError("'NoneType' object is not iterable",)>
Traceback (most recent call last):
  File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
    result = coro.send(None)
  File "/home/gabriel/.local/lib/python3.5/site-packages/brightml/brightml.py", line 55, in retrain
    features = get_features()
  File "/home/gabriel/.local/lib/python3.5/site-packages/brightml/features.py", line 46, in get_features
    data.update(d.last_value)
TypeError: 'NoneType' object is not iterable
RETRAINING
@kootenpv
Copy link
Owner

I cannot reproduce. After deleting ~/.brightml it still works for me. Changing brightness and changing window in any order works for me without errors.

Could you delete ~/.brightml and restart sudo brightml and let me know if it still works?
Otherwise, maybe a short description of how I could mimic your situation.

Thanks so much for taking the time to post the issues! I hope it will work soon :-)

@tshirtman
Copy link
Author

trying, seems i didln't have the error this time (after deleting/restarting) will keep you updated.

(oh, and now it indeed seem to have more effect! i was wondering how much training time was necessary, but it seems it wasn't training properly)

also, no problem, i may dive in the code in the future if i see things to add. Thank you for sharing!

@kootenpv
Copy link
Owner

Awesome! Please let me know if you find it usable on a day to day basis!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants