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

TypeError: unsupported type for timedelta seconds component: NoneType #10

Open
ladiko opened this issue Oct 19, 2017 · 1 comment
Open
Labels

Comments

@ladiko
Copy link

ladiko commented Oct 19, 2017

Whenever I call sync(), i get this:


Traceback (most recent call last):
  File "./cc_ssp.py", line 11, in <module>
    k.sync()
  File "/home/user/eSSP.py", line 289, in sync
    result = self.send([self.getseq(), '0x1', '0x11'])
  File "/home/user/eSSP.py", line 402, in send
    response = self.read(process)
  File "/home/user/eSSP.py", line 410, in read
    timeout_expired = datetime.datetime.now() + datetime.timedelta(seconds=self.timeout)
TypeError: unsupported type for timedelta seconds component: NoneType

It was introduced in this commit: 8d3beda

The version before, is working for me.

@pc-coholic
Copy link
Owner

I think I know why this is happening - I'll take a look at it as soon as possible..

However that may take some time, as I don't have access to a device to test it at the moment.

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

No branches or pull requests

2 participants