You are not logged in.
Fixed all my conf issues after last ion upgrade except the mail meter settings. On ion start I get:
Errors starting ion-statusd:
/usr/lib/ion3/bin/ion-statusd: statusd_mail.lua:57: Is a directoryon my cfg_statusbar.lua I have:
template="[ %date ] [ weather %weather_tempC %weather_humidity %weather_windspeed (%weather_time) ] [ load % %>load ] [ mail % %>mail_new ] [ batt %>linuxbatt ] [ in %netmon_kbsin out %netmon_kbsout ] %filler%systray",
mail={
update_interval=60*1000,
mbox=os.getenv("/var/spool/mail/alex/"),
},I'm failing to see where's the catch... getmail and procmail are working fine with the maildir settings.
Offline
try to change this:
mbox=os.getenv("/var/spool/mail/alex/"),with this one:
mbox=os.getenv("MAIL"),I just *love* scanning for life forms.
Life forms. / You precious little life forms. / You darling little life forms. / Where are you?
Offline
Doesn't work. Same error.
Before this I had the mail_INBOX_new variable generated through the cfg_maildir script being INBOX={"/var/spool/mail/mymail/"}. Worked ok. But with the new upgrade the problems started.
If I undersood it well, the new cfg_statusbar doesn need the cfg_maildir script as it calls the mail_new variables itself. I'm still a bit confused...
Offline
maybe you can try to assign to mbox just the path to your mailbox without doing the syscall, like this:
mbox="/var/spool/mail/alex",without the trailing slash because it complains that the argument you pass to the script is a directory while it (I think) expects the path to your mbox file
I just *love* scanning for life forms.
Life forms. / You precious little life forms. / You darling little life forms. / Where are you?
Offline
still nothing :-(
i'm intrigued about the statusd_mail.lua script mentioned in the error message. I can't find that script anywhere...
this is beginning to get my nerves. your sugestions makes all the sense and all the info I got from google about cfg_statusbar examples says that things should work as they are. I'm not an expert in lua but I got all the other confs right.
Excuse me for all the bitching, arrakis. Your help is really insightful. It's just my temper acting up ;-)
Offline
I searched for statusd_mail.lua too and I couldn't find it neither in ~/.ion3 nor in /etc/ion3
Once I had another strange problem with ion and my dual monitor rig and, just like you now, I couldn't find any useful information so I registered to the official mailing list and Tuomo himself replied and adressed me to the solution so, all I can suggest you is to ask to the official ml and see if they can help you solve your issue or checkout the darcs repository and see if you can find the statusd_mail.lua and track the problem down
I just *love* scanning for life forms.
Life forms. / You precious little life forms. / You darling little life forms. / Where are you?
Offline
Just checkout darcs and look at the file. The lua gets compiled down when the package is made.
Offline