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

mono16 mode doesn't work #2

Open
astraw opened this issue Dec 2, 2009 · 0 comments
Open

mono16 mode doesn't work #2

astraw opened this issue Dec 2, 2009 · 0 comments

Comments

@astraw
Copy link
Member

astraw commented Dec 2, 2009

When using a Pt. Grey Dragonfly Express on linux (Ubuntu Karmic amd64) with the old firewire stack, I can open the camera in format 7, mode 0 MONO16 at 648x484, but the display is black and there's an exception raised when trying to save movies:

Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.6/threading.py", line 477, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/pymodules/python2.6/motmot/fview/fview.py", line 456, in save_func
    wxapp.fly_movie.add_frame(frame,save_temporal_value)
  File "/usr/lib/pymodules/python2.6/motmot/FlyMovieFormat/FlyMovieFormat.py", line 500, in add_frame
    raise ValueError("expected buffer of length %d, got length %d (shape %s)"%(self._bytes_per_image,len(b2),str(thisshape)))
ValueError: expected buffer of length 1254528, got length 627264 (shape (484, 1296))
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

1 participant