Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello, Im trying to get pyvoice working for gyache. I have incomming voice but when I click on the talk button it freezes. This is what I get when I open pyvoice:
Use of deprecated SAXv1 function endElement
/usr/local/share/gyach/pyvoice/pyvoiceui.py:161: DeprecationWarning: use gtk.UIManager
itemf=ItemFactory(MenuBar, "<main>", ag)
/usr/local/share/gyach/pyvoice/pyvoiceui.py:264: DeprecationWarning: use gtk.TreeView
self.nmlist=CList(3,[' I ',' '+_('Name')+' ',' '+_('Alias')+' '])
/usr/local/share/gyach/pyvoice/pyvoiceui.py:337: GtkDeprecationWarning: gtk.timeout_add is deprecated, use gobject.timeout_add instead
timeout_add(300,self.update_state)
/usr/local/share/gyach/pyvoice/pyvoiceui.py:338: GtkDeprecationWarning: gtk.timeout_add is deprecated, use gobject.timeout_add instead
timeout_add(50,self.update_recording)
/usr/local/share/gyach/pyvoice/pyvoiceui.py:339: GtkDeprecationWarning: gtk.timeout_add is deprecated, use gobject.timeout_add instead
timeout_add(100,self.update_talker)
/usr/local/share/gyach/pyvoice/pyvoiceui.py:340: GtkDeprecationWarning: gtk.timeout_add is deprecated, use gobject.timeout_add instead
timeout_add(400,self.update_error)
/usr/local/share/gyach/pyvoice/pyvoiceui.py:341: GtkDeprecationWarning: gtk.timeout_add is deprecated, use gobject.timeout_add instead
timeout_add(1500,self.update_room_name)
/usr/local/share/gyach/pyvoice/pyvoiceui.py:342: GtkDeprecationWarning: gtk.timeout_add is deprecated, use gobject.timeout_add instead
timeout_add(10000,self.update_room_users)
/usr/local/share/gyach/pyvoice/pyvoiceui.py:344: GtkDeprecationWarning: gtk.timeout_add is deprecated, use gobject.timeout_add instead
timeout_add(1500,self.check_requested_room)
/usr/local/share/gyach/pyvoice/pyvoiceui.py:346: GtkDeprecationWarning: gtk.timeout_add is deprecated, use gobject.timeout_add instead
timeout_add(25,self.update_vol)
/usr/local/share/gyach/pyvoice/pyvoiceui.py:981: DeprecationWarning: integer argument expected, got float
self.gcs[i].foreground=self.drawwins[i].get_colormap().alloc_color(self.color_i16[i][0]*65535,self.color_i16[i][1]*65535,self.color_i16[i][2]*65535)
/usr/local/share/gyach/pyvoice/pyvoice.py:2063: GtkDeprecationWarning: gtk.timeout_add is deprecated, use gobject.timeout_add instead
timeout_add(30, update_esd_volume)
/usr/local/share/gyach/pyvoice/pyvoiceui.py:1021: GtkDeprecationWarning: gtk.mainloop is deprecated, use gtk.main instead
mainloop()
/usr/local/share/gyach/pyvoice/pyvoiceui.py:898: DeprecationWarning: integer argument expected, got float
self.gc.foreground=self.drawwin.get_colormap().alloc_color(self.color_i16[0]*65535,self.color_i16[1]*65535,self.color_i16[2]*65535)
I have been googling for about three weeks but I havent come up with anything. I figured it wouldnt hurt if I tried to edit the lines that say use gobject.timeout_add instead timeout_add, but pyvoice wouldnt open and I got an error that said global name 'gobject" is not defined. Im not sure what that means. So I changed it back and pyvoice opens now but Im back at square one.
If anyone can help or point me in the right direction I would really appreciate it.
Thanks.
Suse 9.3
i don't think the DeprecationWarnings are the problem
DeprecationWarning is just the lib developers saying this old way of doing this still works but in the future will be removed in favor of the new way.
I didnt get any help in that thread, that was more about whether or not yahoo would work with wine, but I found that it wont. This thread is about the gtk deprecated warnings. Im not expecting anyone to hand me the answer on a silver platter. When I first started using gyach voice didnt work at all, I was able to figure that one out and learned to edit code to boot. With every problem I have in Linux I learn something new. But I am still a newbie and occasionally need a nudge in the right direction. Even if someone could help me to understand what the errors mean and why I get them it would help.
Thanks.
I disagree, it sounds a lot like the errors you are getting.
Quote:
Originally posted by menthegnome The errors are gtkdeprecationwarning and then it says use "a" instead of "b". I dont suppose its as easy as going in and changing "b" to "a" in the codes is it?
then they go on to say
Quote:
I may have found something but Im not sure. While poking around the requirements for gyach I came across this:
2. PyGtk-2 (version 1.99/2.00) or PyGtk-1 (version 0.6.9), the default setup is to use PyGtk-2.
So I looked through the pyvoice code and the only gtk I could find was: /usr/local/share/gyach/pyvoice/pyvoiceui-Gtk1.py
So it should be using gtk2.py., right? I gonna guess that is the case and in my newbie logic I should now look through the gyache code to see if it is looking for gtk1 or gtk2......maybe?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.