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

cvnp false-positive noncontiguous input on windows only #99

Closed
truher opened this issue Jul 28, 2024 · 2 comments
Closed

cvnp false-positive noncontiguous input on windows only #99

truher opened this issue Jul 28, 2024 · 2 comments

Comments

@truher
Copy link
Contributor

truher commented Jul 28, 2024

Problem description

so i'm using CameraServer on the desktop, for testing.

here's a minimal case:

x = CameraServer.putVideo(..)
x.putFrame(np.zeros((10,10),dtype=np.uint8))

trips the contiguous-input check, but only on windows. on linux, it works fine.

i'm using python 3.11.9 and robotpy 2024.3.2.1

I don't need anything else that CameraServer does, so I switched to mjpeg_streamer, which works fine.

Operating System

Windows

Installed Python Packages

No response

Reproducible example code

No response

@virtuald
Copy link
Member

@virtuald
Copy link
Member

That user reported that downgrading numpy to a 1.x version fixed the issue for them.

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