Errors with email2trac on freeBSD

April 6th, 2011 by Merlijn

Seeing errors like this?

Apr 5 12:32:04 socrates ?<11>email2trac : Failure sending notification on creation of ticket #1101: Can't extract file(s) to egg cache The following error occurred while trying to extract file(s) to the Python egg cache: [Errno 13] Permission denied: '/nonexistent' The Python egg cache directory is currently set to: /nonexistent/.python-eggs Perhaps your account does not have write access to this directory? You can change the cache directory by setting the PYTHON_EGG_CACHE environment variable to point to an accessible directory.

The errormessage gives the solution:

mkdir  /tmp/trac/
chown www:www /tmp/trac/

Add the env statement to the virtualhost configuration:

SetEnv PYTHON_EGG_CACHE "/tmp/trac/"

restart apache, problem solved.

Facebook – Digital Suicide?

November 9th, 2010 by Merlijn

Once in a while I am tempted to create a facebook account. I know, the flesh is weak. As a reminder for myself:

Six Reasons Why I’m Not On Facebook, By Wired UK’s Editor

Bye Bye Twitter

November 7th, 2010 by Merlijn

I decided to delete my twitter account. I have tried it for some months. One of the things that made me make my decision:

True, it’s about facebook, not twitter. But is there any difference really?

Get the number of files in a directory with SPL

September 28th, 2010 by Merlijn


$iDir = clone $dir;
$iDir->rewind();
$filecounter = -1; // correction for the current directory

while($iDir->valid()) {
if (!$iDir->isDot()) {
$filecounter++;
}
$iDir->next();
}

Soulfy – Omen

June 16th, 2010 by Merlijn

I am getting old. I am mostly listening to music which was released at least 10 years ago. Not visiting rockconcerts anymore.
but… once in a while, I “discover” a newly released album which really makes me think “WOW!!!” the first time I listen to it.


Soulfly – Omen

It kicks ass!