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

New format returned by getSoftwareVersion #71

Closed
dparker18 opened this issue Apr 9, 2017 · 0 comments
Closed

New format returned by getSoftwareVersion #71

dparker18 opened this issue Apr 9, 2017 · 0 comments
Labels

Comments

@dparker18
Copy link
Contributor

It looks like the new firmware changes the software version string too:

Traceback (most recent call last):
  File "./DPtest.py", line 8, in <module>
    print('SW info:', a.camera.software_information)
  File "/root/python-amcrest/src/amcrest/system.py", line 70, in software_information
    version, build_date = ret.content.decode('utf-8').split()
ValueError: need more than 1 value to unpack

If I print ret.content it's now:
ret.content: b'version=2.420.AC00.17.R,build:2017-03-22\r\n'

I'll add a check for this and PR, thanks for your work!

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