Monthly Archives: June 2010

Poland – Part 11.5: Back to the Hostel

In my last entry, I finished by saying:

My notes for the day end there, but I imagine I eventually headed back to the hostel and went to sleep.

It turns out that my notes for the next day start with a recap on what happened the night before.  So I can fill in a few blanks here.

Back to the Hostel

I got back to the hostel and found it mostly empty.  Most of the others must have been out doing something else.  Chantelle was there in the common room though, and we filled each other in on what we’d done that day.

After that, we brewed some tea, and played a version of Scrabble where we can make up words, so long as we can define them in a funny way.  It was good times.  As we were playing, more people started to come back and fill up the common room.

I had some jam on bread as a snack, and talked with Peter, Alex, Tara, and Tom about politics (mainly US foreign policy).  Somehow, Sonia convinced me to put some cheese on my jam sandwich.  I noted in my journal that I didn’t think it added much in the way of good flavouring.

It turns out that Chantelle and I hadn’t been the only ones in the hostel – Ryan and Jiv had been there sleeping.  They were both feeling pretty sick.  There was some kind of illness going around, and my throat was starting to get sore, too.

I had a shower, and then I went to bed.

Click here to go to Part 12: Getting Sick, To Poznan, and a Sketchy Hostel

Click here to go back to Part 11: Journey into Auschwitz, and Adventuring Alone in Krakow

Review Board Tests: SCMTool Segmentation Fault

I can’t honestly say I’ve been doing much test-driven development on Review Board.  Django is a really cool web-framework, but I miss all of the nice testing tools from the Rails ecosystem.

Anyhow, today, I decided to run the tests, and BAM – Segmentation Fault:

Testing Perforce binary diff parsing … SKIP: perforce/p4python is not installed
Testing PerforceTool.get_changeset … SKIP: perforce/p4python is not installed
Testing Perforce empty and normal diff parsing … SKIP: perforce/p4python is not installed
Testing Perforce empty diff parsing … SKIP: perforce/p4python is not installed
Testing PerforceTool.get_file … SKIP: perforce/p4python is not installed
Testing parsing SVN diff with binary file … ok
Testing SVNTool.get_file … Segmentation Fault

Yikes.  Getting a segfault in Python is unusual, and a little jarring.  However, it did let me narrow down the problem a bit:  it must have to do with the pysvn bindings that Review Board uses to talk to Subversion, because those are written in C++ (which can certainly segfault).

The machine I was using had Ubuntu Hardy on it, and the Hardy packages have pysvn 1.5.2-1.  Taking a look at the pysvn homepage, the most recent version is actually 1.7.2.

So, I uninstalled pysvn, downloaded the source for 1.7.2, compiled it, and installed it manually.

Segfault gone.  Tests pass.  Awesome sauce.