LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 11-16-2005, 02:55 PM   #1
menthegnome
LQ Newbie
 
Registered: Oct 2005
Distribution: suse 9.3
Posts: 11

Rep: Reputation: 0
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
 
Old 11-16-2005, 03:08 PM   #2
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Honolulu, HI
Distribution: Arch
Posts: 1,380

Rep: Reputation: 47
found this,
http://www.linuxquestions.org/questi...53#post1946053
 
Old 11-16-2005, 04:09 PM   #3
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 52
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.
 
Old 11-16-2005, 04:09 PM   #4
menthegnome
LQ Newbie
 
Registered: Oct 2005
Distribution: suse 9.3
Posts: 11

Original Poster
Rep: Reputation: 0
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.
 
Old 11-16-2005, 04:11 PM   #5
menthegnome
LQ Newbie
 
Registered: Oct 2005
Distribution: suse 9.3
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks foo_bar_foo.
 
Old 11-16-2005, 04:13 PM   #6
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Honolulu, HI
Distribution: Arch
Posts: 1,380

Rep: Reputation: 47
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?
 
Old 11-16-2005, 04:26 PM   #7
menthegnome
LQ Newbie
 
Registered: Oct 2005
Distribution: suse 9.3
Posts: 11

Original Poster
Rep: Reputation: 0
I didnt get any replies to that thread though. Yes I have tried the pyvoice forums but I will try again.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Qt errors devit Programming 1 02-09-2004 04:45 PM
Errors during filesystem check with one kernel while no errors with other kernel Potentials Linux - General 11 12-30-2003 05:24 AM
QMAIL errors errors.. YourForum Linux - Software 0 11-27-2003 01:30 PM
I/O Errors dkc_ace Linux - Software 7 06-28-2003 05:12 PM
2 many errors wesley Linux - Newbie 1 08-03-2001 12:42 AM


All times are GMT -5. The time now is 10:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration