lionheart / python-harvest

A Python wrapper for the Harvest time-tracking API.
Apache License 2.0
55 stars 49 forks source link

harvest.Harvest() error #30

Closed MrJeric0 closed 5 years ago

MrJeric0 commented 7 years ago

I get this error when I try to use harvest.Harvest

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\Lunchbox\Desktop\Dev\PCTEST\EMC-Automation-master\lib\site-packages\harvest\harvest.py", line 55, in __init__
    self.__headers['Authorization'] = 'Basic {0}'.format(enc64('{self.email}:{self.password}'.format(self=self)))
  File "C:\Users\Lunchbox\Desktop\Dev\PCTEST\EMC-Automation-master\lib\base64.py", line 58, in b64encode
    encoded = binascii.b2a_base64(s, newline=False)
Brad-eki commented 5 years ago

Hi @MrJeric0, have you been able to make python-harvest work or is this still a problem?