-
Notifications
You must be signed in to change notification settings - Fork 16
Description
not sure if anyone can help me here with the error below
INFO:root:Configuration Complete
DEBUG:root:Todo API: TODOIST
EXCEPTION IN PROGRAM ==================================
'module' object has no attribute 'TodoistAPI'
<type 'exceptions.AttributeError'>
<traceback object at 0xb557d5f8>
END EXCEPTION =========================================
DEBUG:root:DRIVER: ENTERING FOR LOOP
^CError in sys.excepthook:
Traceback (most recent call last):
File "infowindow.py", line 51, in HandleException
iw.display(rotation)
File "/home/pi/1y/mod_infowindow/infowindow.py", line 80, in display
self.epd.display_frame(self.epd.get_frame_buffer(self.image))
File "/home/pi/1y/driver/epd7in5b.py", line 196, in display_frame
self.send_data(temp2)
File "/home/pi/1y/driver/epd7in5b.py", line 102, in send_data
epdif.spi_transfer([data])
File "/home/pi/1y/driver/epdif.py", line 50, in spi_transfer
SPI.writebytes(data)
KeyboardInterrupt
Original exception was:
Traceback (most recent call last):
File "infowindow.py", line 176, in
main()
File "infowindow.py", line 58, in main
todo = modTodo.ToDo(todo_opts)
File "/home/pi/1y/mod_todo/mod_todoist.py", line 8, in init
self.api = todoist.TodoistAPI(opts['api_key'])
AttributeError: 'module' object has no attribute 'TodoistAPI'
I did not change anything to mod_todoist.py
not sure if I need to replace the api_key to my own API token in the file, but I have put my own API token in the config.json