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

Error listing the devices #7

Closed
dalonsoa opened this issue Mar 11, 2015 · 3 comments
Closed

Error listing the devices #7

dalonsoa opened this issue Mar 11, 2015 · 3 comments

Comments

@dalonsoa
Copy link

Hi,

I installed the precompiled seabreeze Windows 7 library from here:

https://github.com/ap--/libseabreeze/releases

and the precompileled windows wheel from here:

https://github.com/ap--/python-seabreeze/releases

Everything installs fine and the hardware seems to be configured correctly by Windows. However, when I try to list the devices connected this is what I get:

import seabreeze.spectrometers as sb
devices = sb.list_devices()
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-2-722e25f61c75> in <module>()
      1 import seabreeze.spectrometers as sb
----> 2 devices = sb.list_devices()

seabreeze\cseabreeze\wrapper.pyx in seabreeze.cseabreeze.wrapper.device_list_devices     (./seabreeze/cseabreeze/wrapper.c:3035)()

seabreeze\cseabreeze\wrapper.pyx in seabreeze.cseabreeze.wrapper.device_get_serial_number   (./seabreeze/cseabreeze/wrapper.c:4002)()

TypeError: Type str doesn't support the buffer API

I have no idea what this means. I am using Windows 7 (32 bits) with Python 3.4.

Best wishes,
Diego

@ap--
Copy link
Owner

ap-- commented Mar 11, 2015

Hmmm, I can't reproduce this with Python3.4 under Linux.
Working on it.

@ap-- ap-- closed this as completed in e19bebd Mar 11, 2015
@ap--
Copy link
Owner

ap-- commented Mar 11, 2015

It'll take a while until the new wheels are available because some appveyor updates broke things ... Just check back every now and then.

@dalonsoa
Copy link
Author

Perfect! It seems that with the newer version of the wheel it works! Thanks!

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

No branches or pull requests

2 participants