Hoektronics / bumblebee

BotQueue's client Bumblebee
7 stars 7 forks source link

Bumblebee Camera Issues #2

Open boris-g opened 10 years ago

boris-g commented 10 years ago

Python log:

Traceback (most recent call last): File "bumblebee.py", line 367, in bee.main() File "bumblebee.py", line 180, in main curses.wrapper(self.mainMenu) File "/usr/lib/python2.7/curses/wrapper.py", line 43, in wrapper return func(stdscr, _args, *_kwds) File "bumblebee.py", line 211, in mainMenu self.getBots() File "bumblebee.py", line 110, in getBots self.scanDevices() File "bumblebee.py", line 88, in scanDevices data['cameras'] = camera_control.scanCameras() File "/home/pi/bumblebee/bumblebee/camera_control.py", line 141, in scanCameras scanCameraRaspi(cameras) File "/home/pi/bumblebee/bumblebee/camera_control.py", line 96, in scanCameraRaspi with picamera.PiCamera() as camera: File "/usr/lib/python2.7/dist-packages/picamera/camera.py", line 324, in init self._init_camera() File "/usr/lib/python2.7/dist-packages/picamera/camera.py", line 360, in _init_camera "Camera is not enabled. Try running 'sudo raspi-config' " picamera.exc.PiCameraError: Camera is not enabled. Try running 'sudo raspi-config' and ensure that the camera has been enabled.

Jnesselr commented 10 years ago

Okay, I see where the issue is and I'll get it fixed. It's going to take a little bit of work because the current client has an issue when any library it uses tries to output stuff to the screen. On the bright side, that will kill two issues with one stone.

boris-g commented 10 years ago

Could you leave me an email once that issue is sorted?

Many thanks!

Jnesselr commented 10 years ago

I'll just update this one and you should get a notification immediately. The easiest way to fix this issue right now for anyone checking is just to enable the camera. On Jul 30, 2014 2:34 AM, "boris-g" notifications@github.com wrote:

Could you leave me an email once that issue is sorted?

Many thanks!

— Reply to this email directly or view it on GitHub https://github.com/Hoektronics/bumblebee/issues/2#issuecomment-50583108.

boris-g commented 10 years ago

I did so, and that didn't fix it. I presume you mean by the raspi-config menu?

On Wed, Jul 30, 2014 at 5:40 PM, Jnesselr notifications@github.com wrote:

I'll just update this one and you should get a notification immediately. The easiest way to fix this issue right now for anyone checking is just to enable the camera. On Jul 30, 2014 2:34 AM, "boris-g" notifications@github.com wrote:

Could you leave me an email once that issue is sorted?

Many thanks!

— Reply to this email directly or view it on GitHub https://github.com/Hoektronics/bumblebee/issues/2#issuecomment-50583108.

— Reply to this email directly or view it on GitHub https://github.com/Hoektronics/bumblebee/issues/2#issuecomment-50583725.

Jnesselr commented 9 years ago

Just an update on this. I now have a Raspi camera, so I'll be able to test this relatively soon.