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

uvc.OpenError #59

Open
valvador92 opened this issue Dec 14, 2018 · 11 comments
Open

uvc.OpenError #59

valvador92 opened this issue Dec 14, 2018 · 11 comments

Comments

@valvador92
Copy link

valvador92 commented Dec 14, 2018

Hi !
I have installed pyuvc after installing libuvc and libjpeg-turbo.
When I try to open the cameras I got this error:

uvc_issue

It seems to detect the 3 cameras but it can't open it.
It is strange because it is working on an other computer. On this computer I can open the 3 cameras and it recognizes them with their name.

Do you know how I can fix it?
Thank you

@papr
Copy link
Contributor

papr commented Dec 14, 2018

Please provide information about is different between the machines, OS, etc.

@valvador92
Copy link
Author

valvador92 commented Dec 14, 2018

it is working with Ubuntu 16.04, python 2.7.12 on my laptop

image

I have to install on the computer of the lab. The OS is Ubuntu 14.04, python 2.7.6

@valvador92
Copy link
Author

During the installation of libuvc on the lab computer, I got this message in red:

Linking C shared library libuvc.so

Maybe it can help you

@papr
Copy link
Contributor

papr commented Dec 14, 2018

Linking C shared library libuvc.so

This is an expected output. My guess is an issue with 14.04. Can you download the Pupil bundle and check if it is able to open the cameras?

@valvador92
Copy link
Author

valvador92 commented Dec 14, 2018

I have downloaded it. Pupil Capture is working on my Laptop with Ubuntu 16.04.
But with Ubuntu 14.04 on the computer lab, I can't open the software.
So maybe the OS is the issue which is annoying.

Do you think I need to install Pupil Player and Pupil Service?

@papr
Copy link
Contributor

papr commented Dec 14, 2018

Indeed. Maybe you can ask your lab supervisor to get you a computer with an up-to-date operating system. :-) Good luck with your further research. Please close the issue if you have the feeling that all your questions have been answered.

@valvador92
Copy link
Author

Thank you for your fast answer!

@valvador92
Copy link
Author

valvador92 commented Jan 22, 2019

I have a computer up-to-date this time.
Ubuntu 16.04 like my laptop

Pupil Capture is running but can't open the cameras of the headset. The images are gray.

I have installed uvc library regarding the ReadMe. I get this if I using it in a python script:

screenshot from 2019-01-22 18-09-59

Everything is working perfectly on my laptop. So I don't understand where is the error. Pupil Capture is also working.

@valvador92
Copy link
Author

That is what I have on my laptop.

screenshot from 2019-01-22 18-21-24

@valvador92
Copy link
Author

I have ckecked, I have 2 different kernel versions:

  • Laptop: 4.15.0-43-generic
  • Lab computer: 4.4.0-141-generic

Could it be the reason of the problem?

@papr
Copy link
Contributor

papr commented Jan 22, 2019

Your user on the first computer does not have enough permissions. You need to add him to the plugdev group and restart.

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