-
-
Notifications
You must be signed in to change notification settings - Fork 82
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
Version 2.0.1 crashes on read #148
Comments
Hey @drmcnelson, This is a regression due to some refactoring within Thanks for reporting! |
https://github.com/ap--/python-seabreeze/actions/runs/1725616126 There's new wheels ready for download on the current PR where I try to fix the described issue. Could you download the wheels artifact from the link above, extract it, and install the corresponding wheel for your os and python version and test if it works? Cheers, |
I am not familiar with how to work with wheels. Also, I recall that at
least one of my systems was not using wheels.
…On 1/20/22 17:28, Andreas Poehlmann wrote:
https://github.com/ap--/python-seabreeze/actions/runs/1725616126
There's new wheels ready for download on the current PR where I try to
fix the described issue.
Could you download the wheels artifact from the link above, extract
it, and install the corresponding wheel for your os and python version
and test if it works?
Cheers,
Andreas 😃
—
Reply to this email directly, view it on GitHub
<https://github.com/ap--/python-seabreeze/issues/148#issuecomment-1017982898>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJGUVUKG3QV7VTPUKKGHWJDUXCEBRANCNFSM5MNKNNVQ>.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Another bug, perhaps, the following installation command line produces an error that option "--without-cseabreeze" is not recognized. sudo pip install seabreeze[pyseabreeze] --no-use-pep517 --no-build-isolation --install-option="--without-cseabreeze" |
Once pip install -U seabreeze and it should work. Regarding the issue with
I would need more information about your current environment. please run In case |
Hi, here is the pip freeze. If you can tell me how to download and install the wheel, I can give it a try. |
Sorry, could you run And installing the wheel is not necessary. I made a new release, so just running Cheers, |
Thanks for the info. I moved the discussion regarding the pip install problems to a new issue: #150 In case version Cheers, |
Will do, will try to test it later, working on a different measurement
at the moment. On that note, it would be great to be able to use your
pyseabreeze with the adc1000usb
…On 1/23/22 08:49, Andreas Poehlmann wrote:
Thanks for the info. I moved the discussion regarding the pip install
problems to a new issue: #150
<https://github.com/ap--/python-seabreeze/issues/150>
In case version |v2.0.2| fixes the issue regarding crashes on |.read|
please close this issue.
Cheers,
Andreas 😃
—
Reply to this email directly, view it on GitHub
<https://github.com/ap--/python-seabreeze/issues/148#issuecomment-1019489727>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJGUVULGVUO7PZXMNMLSVQLUXQBNZANCNFSM5MNKNNVQ>.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Version 2.0.2 seems to be a winner. Installs easily and runs well. Thank you |
Awesome. Great that it works! Regarding the ADC1000USB, I'll open another issue for improving the docs on how to add new spectrometers and I'll start a draft pull-request sketching out what needs to be done to integrate the adc1000usb code. Cheers, |
spectrometer and system information
USB2000+
Fedora 35
python --version
)Python 3.10.1
python seabreeze 2.0.1
sudo pip install seabreeze[pyseabreeze] --no-use-pep517 --no-build-isolation --install-option="--without-cseabreeze" --no-cache-dir
current problem
The intensities() api is broken, produces the following error message.
This is specific to 2.0.1, I uninstalled it and installed 1.3.0 in its place, and that earlier version works perfectly.
steps to reproduce
Run any simple program with the call to intensities().
File "/usr/local/lib/python3.10/site-packages/seabreeze/spectrometers.py", line 212, in intensities
out = self._dev.f.spectrometer.get_intensities()
File "/usr/local/lib/python3.10/site-packages/seabreeze/pyseabreeze/features/spectrometer.py", line 147, in get_intensities
tmp = self._get_spectrum_raw()
File "/usr/local/lib/python3.10/site-packages/seabreeze/pyseabreeze/features/spectrometer.py", line 167, in _get_spectrum_raw
tmp[:] = self.protocol.receive(
ValueError: invalid literal for int() with base 10: b'\x07\x00\xf6-H\x02<\x02-\x02N\x02&\x02E\x02.\x02I\x02V\x02a\x02Q\x02e\x02Z\x02h\x02l\x02q\x02g\x02\x8b\x02\xa3\x02\x96\x02\x92\x02\xa1\x02\x9e\x02\xab\x02\xa3\x02\x9c\x02\xc7\x02\xa9\x02\xcd\x02\xd2
The text was updated successfully, but these errors were encountered: