pulb / mailnag

An extensible mail notification daemon
GNU General Public License v2.0
249 stars 32 forks source link

mailnag-config discarded #7

Closed 0rAX0 closed 12 years ago

0rAX0 commented 12 years ago

Hi, I'm using mailnag with gnome 3.1.91 on Archlinux. Mailnag doesn't want to start. When I run $ mailnag_config I get the message in the title above.

I installed from this: http://aur.archlinux.org/packages.php?ID=49581 also, I've already remove ~/.config/mailnag

pulb commented 12 years ago

Hi, there's probably a dependency missing. Please run "python Mailnag/config_window.py" and check the console output.

0rAX0 commented 12 years ago

File "mailnag_config", line 2 LIB_DIR=/usr/share/mailnag/Mailnag ^ SyntaxError: invalid syntax

It worked before, I just updated from GNOME 3.0.4 to 3.1.91

pulb commented 12 years ago

Uhm.. you didn't try to execute that bash script file with pyhton, did you? :-) Just run ./mailnag_config.

pulb commented 12 years ago

great, and now please run "python Mailnag/config_window.py" to see the real error :-D

0rAX0 commented 12 years ago

python config_window.py File "configwindow.py", line 508 print ("Config file does not exist, creating new one") ^ SyntaxError: invalid syntax

python account_dialog.py Traceback (most recent call last): File "account_dialog.py", line 24, in from gi.repository import GLib, GdkPixbuf, Gtk ImportError: No module named gi.repository

python mailnag.py File "mailnag.py", line 88 print "Warning: Cannot connect to IMAP account: %s. " \ ^ SyntaxError: invalid syntax

python utils.py Traceback (most recent call last): File "utils.py", line 1, in import xdg.BaseDirectory as base ImportError: No module named xdg.BaseDirectory

python keyring.py Traceback (most recent call last): File "keyring.py", line 25, in import gobject ImportError: No module named gobject

I noticed that some of the errors are related to other files, so I added them all. Thanks for your patience :P

pulb commented 12 years ago

Ok, it seems you don't have the pyxdg and pyGI python modules installed. The print errors are weird though..

pulb commented 12 years ago

I've just tested the latest trunk code in GNOME 3.1.9 under Ubuntu and its working fine. Please try the latest code and make sure you have pyxdg and python-gobject installed.

0rAX0 commented 12 years ago

Yes, mailnag_config is working fine, but Mailnag doesn't check for emails. Also, installing from AUR in Arch automatically downloads the required deps.

pulb commented 12 years ago

Ok, I commited some further fixes. The latest trunk code should really work.

0rAX0 commented 12 years ago

Yes! it is working now. Thank you :)

pulb commented 12 years ago

Thanks for reporting!