Archive for October, 2008

KeyError: ‘data_format_revision’

Argh! My moinmoin install on debian is dead. :-(

I get a blank page when trying to create a new page, and migration scripts won’t work!

Supposedly this is a broken underlay dir problem, but how is it fixed?

UPDATE: Turns out my issue had nothing to do with updating anything - it was because my connection was going through 4 proxies before finally reaching the MoinMoin server - doh!

Static NAT over IPSec with pfSense won’t work for me!

I’ve been trying to setup static NAT (1:1 mapping) over IPSec, but I just can’t get it to work. I’m not sure what the problem is, but I believe the issue is due in part to my limited understanding of IPSec.

I think GRE tunneling might help, but one end of the IPSec VPN is powered by pfSense, which doesn’t yet have support for GRE.

UPDATE: It likely has a little more overhead, but what I’m instead using is rinetd.

svn_ra_get_log: Assertion `*path != ‘/” failed.




perl: /tmp/buildd/subversion-1.5.1dfsg1/subversion/libsvn_ra/ra_loader.c:997: svn_ra_check_path: Assertion `*path != '/'' failed.

Doh!

I’m getting this error in my Apache logs when trying to use the perl library SVN::Web.

This problem is caused by an update to the RA API, so I had to change code like this:

    $ra->get_log([$path], $rev, 1, 1, 0, 1,
                 sub { @log_result = @_; });

to:

    $ra->get_log('trunk', $rev, 1, 1, 0, 1,
                 sub { @log_result = @_; });

UPDATE: This appears to have been fixed as of January 2009.
UPDATE 2: No, it still happens.
UPDATE 3: I think I found a solution.

How to override the internet’s domain name system on a Mac

What you are doing here is overriding the internet’s domain name system, so that when you type www.web_address_here.com into a browser, it will send you to the new server.

  1. open the Terminal
  2. sudo su
  3. enter your computer’s password
  4. vim /etc/hosts
  5. Use the down arrow key to get to the end of the file
  6. Press “o”
  7. Then add the following line: [ip address you want to reroute to] www.web_address_here.com
  8. esc
  9. :wq

Ok that’s it. You should now automatically be routed to the ip address you entered. When you’re ready to stop routing to the given ip address simply go back to the file and delete the line you added.