contrib/.htaccess… error installing Bugzilla

I ran into a very annoying problem while working on hw2 for my System Administration class, specifically during installation of Bugzilla on a barebones Fedora 12 virtual machine.

After running ./checksetup.pl in /usr/share/bugzilla, the following error sprung up:

.csharpcode, .csharpcode pre
{
font-size: small;
color: black;
font-family: consolas, “Courier New”, courier, monospace;
background-color: #ffffff;
/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt
{
background-color: #f4f4f4;
width: 100%;
margin: 0em;
}
.csharpcode .lnum { color: #606060; }

Creating contrib/.htaccess...
No such file or directory at Bugzilla/Install/Filesystem.pm line 485, <DATA> line 228.

I was unable to find anything about it online, but it turned out to be a very simple solution of either creating a contrib directory in /usr/share/bugzilla:

mkdir contrib

.csharpcode, .csharpcode pre
{
font-size: small;
color: black;
font-family: consolas, “Courier New”, courier, monospace;
background-color: #ffffff;
/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt
{
background-color: #f4f4f4;
width: 100%;
margin: 0em;
}
.csharpcode .lnum { color: #606060; }Or creating a symbolic link as my professor suggested on the mailing list:

ln -s . contrib

.csharpcode, .csharpcode pre
{
font-size: small;
color: black;
font-family: consolas, “Courier New”, courier, monospace;
background-color: #ffffff;
/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt
{
background-color: #f4f4f4;
width: 100%;
margin: 0em;
}
.csharpcode .lnum { color: #606060; }And then re-running the checksetup.pl script. I didn’t try the symbolic link but I have no reason to believe my professor is wrong =).

Advertisements

Transfer iPhone Voice Memos via Email

If you’re like me, you may have run into some issues running iTunes (my favorite one was in which Apple’s recommended solution was to reinstall Windows to use iTunes again). Or maybe you dislike the way iTunes messes up your music library.

Unfortunately, if you use the voice recorder for interviews and personal reminders, but use a program like mediamonkey to manage the music on it, iTunes wont let you download the voice memos onto your computer without erasing the entire device first.

However, there is a way to get the memos without having to resort to  illegal (legal as of july 2010!) jailbreaking your iphone:

1) Open up the Voice Recorder app.

2) In your list of memos, click on the round blue arrow button next to the voice memo you’re interested in transferring to a computer.

3) Then, if you click the Share button, you can email yourself the memo!

The emailed memos are limited to a length of 2 minutes, but you can at least send them in segments.

This may not seem all that complex, but I wasn’t aware that the option existed, so perhaps someone else who has a similar dilemma will find this solution.

Day 1

 

I’m going to write a journal about my adventures in Oblivion.

———–

I woke up in a prison cell today. I’m not sure why I’m here or what my crime is, but hopefully I wont be here for long. Especially because my neighbor seems to be a real dick. Keeps telling me that I’m going to go mad and that the guards are going to cut my throat just to stop my ranting. If he continues however, he’s the one who’s going to have to worry about throats being cut.

There are still bones from the last prisoner in this cell. What a shitty prison.