LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-12-2005, 08:46 PM   #1
43r05p4c3
Member
 
Registered: Mar 2005
Location: Ontario, Canada
Distribution: Mandrake 10.0/XP Dual Boot Desktop & Gentoo 2005.1 Laptop
Posts: 79

Rep: Reputation: 15
troubles installing gmail notifier (from sourceforge.com)


Hey all,
I've been having troubles getting the gmail notifier from gmail-notify.sourceforge.net/ to work properly.
I downloaded and extracted the files without problems, and then I changed the notifier.conf file as specified by the readme file. I then created a link so it would autostart as per the readme. When I tried to run it, however, nothing useful happened. This is what happens when I try to open it in Konsole:

$ ./notifier.py
Traceback (most recent call last):
File "./notifier.py", line 20, in ?
gmailusername=config.get('options','gmailusername').replace('"','')
File "/usr/lib/python2.3/ConfigParser.py", line 286, in get
raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'options'

I have no idea what any of that is supposed to mean, and therefore don't konw why it isn't running. The only I can think of that I might need to do is if I'm missing any of the programs required to run it. The readme says I nead python, pygtk, and gtk. I know I have gtk, but as for the other two, I have no clue. When I went to the Mandrake CD's, the only programs that looked applicable were describded as add-ons.

If it helps, I'm running Mandrake 10.0 (on a dual boot with XP) and only have the three CD's that were available online (to the extent that I searched) and as such do not have the Installation CD 4 that I keep getting prompted for.

Thanks in advance,
Steve
 
Old 03-13-2005, 05:51 AM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
You need to edit the file with your username and password for it to work.
 
Old 03-13-2005, 01:12 PM   #3
43r05p4c3
Member
 
Registered: Mar 2005
Location: Ontario, Canada
Distribution: Mandrake 10.0/XP Dual Boot Desktop & Gentoo 2005.1 Laptop
Posts: 79

Original Poster
Rep: Reputation: 15
Thanks, but I've already configured that file.
Judging by the error message, it looks like the error is caused by the line:
self.window.set_keep_above(1)
I don't think this is being recognized as a valid command for some reason. I could be way off base though, I don't really know.

Well, I hope someone can help,

Steve
 
Old 03-17-2005, 06:59 PM   #4
Daniel.Gorila
LQ Newbie
 
Registered: Mar 2005
Posts: 1

Rep: Reputation: 0
Sorry my english, well i have the same problem wen I write the full path of notifier.py, that is: $ ¨Desktop/Descargas/gmail-notify-1.5/notifier.py¨, but wen I navigate to the dir containing the file whit ¨$ cd¨ and I wrote ./notifier.py it works.
Hope this help.
Again sorry for my english writing.
 
Old 03-17-2005, 11:32 PM   #5
43r05p4c3
Member
 
Registered: Mar 2005
Location: Ontario, Canada
Distribution: Mandrake 10.0/XP Dual Boot Desktop & Gentoo 2005.1 Laptop
Posts: 79

Original Poster
Rep: Reputation: 15
I tried what you suggested, but it didn't help. However, I DID get a new error message... so now I can pick between the error messages, if only that helped. anyways, here are the two error messages I can get:

Quote:
Traceback (most recent call last):
File "/home/steven/Documents/gmail-notify-1.5/notifier.py", line 20, in ?
gmailusername=config.get('options','gmailusername').replace('"','')
File "/usr/lib/python2.3/ConfigParser.py", line 286, in get
raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'options'
The other is:

Quote:
Traceback (most recent call last):
File "./notifier.py", line 306, in ?
gmailnotify = GmailNotify()
File "./notifier.py", line 220, in __init__
self.window.set_keep_above(1)
AttributeError: 'gtk.Window' object has no attribute 'set_keep_above'
Does anyone know any missing packages that might cause these errors?
Btw, if I run from the gmail-notify-1.5 directory the command ./libgmail.py It loads a text based gmail browser. it's not really what I want, but it leads me to believe the problem is in the file notifier.py
Anyways, thanks for your suggestions so far, new suggestions are very much welcome

Steve

Last edited by 43r05p4c3; 03-17-2005 at 11:47 PM.
 
Old 03-21-2005, 08:17 PM   #6
student04
Member
 
Registered: Jan 2004
Location: USA
Distribution: macOS, OpenBSD
Posts: 669

Rep: Reputation: 34
i'm also seeming to have a problem with this python script....

i've tried to run it with both pygtk versions 2.0 and 2.2 (compiled from source), but each time i try to run it, it spits this back out:
Code:
[alex@enterprise gmail-notify-1.5]$ ./notifier.py
Traceback (most recent call last):
  File "./notifier.py", line 6, in ?
    import pygtk
ImportError: No module named pygtk
[alex@enterprise gmail-notify-1.5]$
I DID indeed do a "./configure && make" and "su -c 'make install' " in the source directories of pygtk as it told me, but each time it (notifier.py) tells me it cannot import it.. whatever that means in that case.

As for the required packages and versions, this is what rpm is telling me that i have:
Code:
[alex@enterprise pygtk-2.0.0]$ rpm -qa | grep python
python-numeric-23.1-2mdk
python-2.3.3-2.1.100mdk
python-base-2.3.3-2.1.100mdk
libpython2.3-2.3.3-2.1.100mdk
pythonlib-1.28-5mdk
libpython2.3-devel-2.3.3-2.1.100mdk
Code:
[alex@enterprise pygtk-2.0.0]$ rpm -qa | grep gtk
libgtk+2.0_0-devel-2.2.4-10.1.100mdk
libgtkmm2.0_1-devel-2.2.9-1mdk
libgtk+1.2-1.2.10-38mdk
gtkdialogs-2.1-1mdk
libgtk+1.2-devel-1.2.10-38mdk
libwxgtkgl2.5-2.5.0-0.cvs20030817.1.5.100mdk
libgtksourceview-1.0_0-0.7.0-1mdk
libgtkxmhtml1-1.4.2-7mdk
gtk+2.0-2.2.4-10.1.100mdk
libwxgtk2.5-2.5.0-0.cvs20030817.1.5.100mdk
libgtkspell0-2.0.3-5mdk
libgtk+-x11-2.0_0-2.2.4-10.1.100mdk
libgtk+2.0_0-2.2.4-10.1.100mdk
libwxgtk2.5-devel-2.5.0-0.cvs20030817.1.5.100mdk
libgtkmm1.2-devel-1.2.10-7mdk
gtk-engines-0.12-8mdk
libgtkmm1.2-1.2.10-7mdk
libgtkhtml2_0-2.4.1-2mdk
gtk-engines2-2.2.0-5mdk
libgtkhtml-3.0_4-3.0.10-1mdk
libgtkmm2.0_1-2.2.9-1mdk
libgtkhtml1.1_3-1.1.10-4mdk
gtksourceview-0.7.0-1mdk
libgmail, says the REAME, is included in the source tarball, and the pygtk i explained above.

If i'm not doing something out of stupidity, lemme know. Thanks.
 
Old 03-21-2005, 10:47 PM   #7
student04
Member
 
Registered: Jan 2004
Location: USA
Distribution: macOS, OpenBSD
Posts: 669

Rep: Reputation: 34
As an update to my last post... i found a pygtk2.0 RPM from a public mandrake mirror, and installed it. Now when i attempt to run the program, i see the same error as 43r05p4c3's second error:
Code:
[alex@enterprise gmail-notify-1.5]$ ./notifier.py
Traceback (most recent call last):
  File "./notifier.py", line 306, in ?
    gmailnotify = GmailNotify()
  File "./notifier.py", line 220, in __init__
    self.window.set_keep_above(1)
AttributeError: 'gtk.Window' object has no attribute 'set_keep_above'
I have no clue what that means... a bug perhaps? At least 43r05p4c3 and I have the same distro and same error! If anyone has a solution, he'll/she'll "kill two flies with the same stone"
 
Old 04-12-2005, 12:16 AM   #8
43r05p4c3
Member
 
Registered: Mar 2005
Location: Ontario, Canada
Distribution: Mandrake 10.0/XP Dual Boot Desktop & Gentoo 2005.1 Laptop
Posts: 79

Original Poster
Rep: Reputation: 15
Ok, I think I have the problem solved
I haven't tested it, but according to the website, the problem is the version of gtk. upgrade to 2.4 or higher and there should be no problems... or as few as there ever are

Steve
 
  


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
Linux email notifier? BaltikaTroika Linux - Software 7 03-14-2010 03:59 AM
Gmail notifier ? johnnydangerous Linux - Software 7 03-21-2007 09:56 PM
gmail notifier help needed (newb) budlightnmyhand Linux - Software 8 11-15-2005 09:37 AM
GMail Notifier dlublink Linux - Software 1 11-10-2005 02:15 PM
Gmail Notify troubles - cannot install xTheLostx Linux - Software 2 05-28-2005 07:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:44 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
Open Source Consulting | Domain Registration