[vampird@Sharwyn]:~$ webkam
…/webkam_app.rb:2:in require': no such file to load -- gst (LoadError) from ./webkam_app.rb:2 from main.rb:1:in require’
from main.rb:1
[vampird@Sharwyn]:~$
so I have to install ruby-gstreamer-0.19.3-3.18.x86_64.rpm, webkam ask
for ruby-glib2-0.19.3-3.18.x86_64.rpm, so I installed it too, but now I
get this error on my laptop
[vampird@Sharwyn]:~$ webkam
…/webcam_video_stream.rb:127:in add': Gst::Element expected (TypeError) from ./webcam_video_stream.rb:127:in create_bin’
from ./webcam_video_stream.rb:32:in create_webcam_bin' from ./webcam_video_stream.rb:87:in create_pipeline’
from ./webcam_video_stream.rb:17:in initialize' from ./webcam_video_stream.rb:216:in new’
from ./webcam_video_stream.rb:216:in instance' from ./settings.rb:70:in webcam’
from ./webcam_video_stream.rb:211:in instance' from ./main_window.rb:32:in showEvent’
from ./webkam_app.rb:43:in method_missing' from ./webkam_app.rb:43:in run’
from main.rb:3
[vampird@Sharwyn]:~$
the curious thing, if I do the same on a PC without webcam, webkam start
normally and say I have no webcam. Any suggestion??? Please, I don’t
want to use any gnome apps
VampirD
Microsoft Windows is like air conditioning
Stops working when you open a window.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/
I have the same problem. The package from the openSUSE repository has the following dependencies:
licenses
/bin/sh
ruby-kde4
/sbin/ldconfig
I think this should be changed to require also the above libraries and the corresponding ruby packages should be included in the openSUSE repository, too.
I never got webkam to work. Used cheese, camorama. Never dove into it really, since I don’t use the cam.
Installing the ruby packages mentioned makes webkam do this:
glosscomputer@Knurpht:~> webkam
(13621) KSharedDataCache::Private::mapSharedMemory: Opening cache "/var/tmp/kdecache-glosscomputer/icon-cache.kcache" page size is 4096
(13621) KSharedDataCache::Private::mapSharedMemory: Attached to cache, determining if it must be initialized
(13621) KSharedDataCache::Private::mapSharedMemory: Cache fully initialized -- attached to memory mapping
(13621) KSharedDataCache::Private::mapSharedMemory: 2998272 bytes available out of 10485760
./webcam_video_stream.rb:127:in `add': Gst::Element expected (TypeError)
from ./webcam_video_stream.rb:127:in `create_bin'
from ./webcam_video_stream.rb:32:in `create_webcam_bin'
from ./webcam_video_stream.rb:87:in `create_pipeline'
from ./webcam_video_stream.rb:17:in `initialize'
from ./webcam_video_stream.rb:216:in `new'
from ./webcam_video_stream.rb:216:in `instance'
from ./settings.rb:70:in `webcam'
from ./webcam_video_stream.rb:211:in `instance'
from ./main_window.rb:32:in `showEvent'
from ./webkam_app.rb:43:in `method_missing'
from ./webkam_app.rb:43:in `run'
from main.rb:3
I make it work, debugging de ruby code and installing rpm that provide
the required files I made it work, but I think webkam works when it want
VampirD
Microsoft Windows is like air conditioning
Stops working when you open a window.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/
Sorry to revive this thread, but how exactly did you get webKam working in the end? I’m using OpenSuse 11.3 and get the following error when trying to run the app:
peter@linux-a1xh:~> webkam
./webcam_video_stream.rb:127:in `add': Gst::Element expected (TypeError)
from ./webcam_video_stream.rb:127:in `create_bin'
from ./webcam_video_stream.rb:32:in `create_webcam_bin'
from ./webcam_video_stream.rb:87:in `create_pipeline'
from ./webcam_video_stream.rb:17:in `initialize'
from ./webcam_video_stream.rb:216:in `new'
from ./webcam_video_stream.rb:216:in `instance'
from ./settings.rb:70:in `webcam'
from ./webcam_video_stream.rb:211:in `instance'
from ./main_window.rb:32:in `showEvent'
from ./webkam_app.rb:43:in `method_missing'
from ./webkam_app.rb:43:in `run'
from main.rb:3
Has anyone got any hints as to how to get it to work? I’ve checked and I’m definitely add to the ‘video’ group.
Same here! Used the Yast2 install program, and used the Opensuse repositories. Installed via yast, and it installed 2 dependencies. I get exactly the same error. This is a fresh install, so suspect the package is bad, and missing files/libraries, etc.
Using Opensuse 11.3, on a Dell XPS M1530. Using KDE, and I AM a member of the video group.