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

Requires hightime>=0.2.0 #1474

Closed
tmhofler opened this issue Jun 1, 2020 · 0 comments · Fixed by #1478
Closed

Requires hightime>=0.2.0 #1474

tmhofler opened this issue Jun 1, 2020 · 0 comments · Fixed by #1478
Assignees

Comments

@tmhofler
Copy link

tmhofler commented Jun 1, 2020

Description of issue

Seems to require hightime >=0.2.0 but a minimum version is not specified.
Ran into this because I had hightime 0.1.0 installed before installing nidcpower==1.3.0

System report

python -c "import nidcpower; nidcpower.print_diagnostic_information()"

Traceback (most recent call last):
File "", line 1, in
File "C:\Users\nitest.virtualenvs\nidcpower_test-yBwmuPo5\lib\site-packages\nidcpower_init_.py", line 10, in
from nidcpower.session import Session # noqa: F401
File "C:\Users\nitest.virtualenvs\nidcpower_test-yBwmuPo5\lib\site-packages\nidcpower\session.py", line 121, in
class _SessionBase(object):
File "C:\Users\nitest.virtualenvs\nidcpower_test-yBwmuPo5\lib\site-packages\nidcpower\session.py", line 2555, in _SessionBase
def fetch_multiple(self, count, timeout=hightime.timedelta(seconds=1.0)):
AttributeError: module 'hightime' has no attribute 'timedelta'
```

Steps to reproduce issue

pip uninstall hightime
pip install hightime==0.1.0
pip install nidcpower==1.3.0
python -c "import nidcpower"

Traceback (most recent call last):
File "", line 1, in
File "C:\Users\nitest.virtualenvs\nidcpower_test-yBwmuPo5\lib\site-packages\nidcpower_init_.py", line 10, in
from nidcpower.session import Session # noqa: F401
File "C:\Users\nitest.virtualenvs\nidcpower_test-yBwmuPo5\lib\site-packages\nidcpower\session.py", line 121, in
class _SessionBase(object):
File "C:\Users\nitest.virtualenvs\nidcpower_test-yBwmuPo5\lib\site-packages\nidcpower\session.py", line 2555, in _SessionBase
def fetch_multiple(self, count, timeout=hightime.timedelta(seconds=1.0)):
AttributeError: module 'hightime' has no attribute 'timedelta'

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

Successfully merging a pull request may close this issue.

2 participants