LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   need help with errors (https://www.linuxquestions.org/questions/linux-newbie-8/need-help-with-errors-383742/)

menthegnome 11-16-2005 01:55 PM

need help with errors
 
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

bosewicht 11-16-2005 02:08 PM

found this,
http://www.linuxquestions.org/questi...53#post1946053

foo_bar_foo 11-16-2005 03:09 PM

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.

menthegnome 11-16-2005 03:09 PM

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.

menthegnome 11-16-2005 03:11 PM

Thanks foo_bar_foo.

bosewicht 11-16-2005 03:13 PM

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?

Did you try the pyvoice forums?

menthegnome 11-16-2005 03:26 PM

I didnt get any replies to that thread though. Yes I have tried the pyvoice forums but I will try again.


All times are GMT -5. The time now is 04:27 AM.