The Geekess   Linux, bicycling, open source, gardening, amateur rockets, and other seemingly unrelated hobbies.

Folksonomy plugin fix

Jamey helped me debug a PyBlosxom plugin problem this morning. The Folksonomy plugin was throwing errors when it was asked to generate an RSS feed for a specific tag (e.g. http://sarah.thesharps.us/tags/pyblosxom/index.rss).

The lighttpd error log showed this:


Traceback (most recent call last):
  File "/usr/lib/cgi-bin/pyblosxom.cgi", line 96, in ?
    p.run()
  File "/var/lib/python-support/python2.4/Pyblosxom/pyblosxom.py",
    line 203, in run
    blosxom_handler(self._request)
  File "/var/lib/python-support/python2.4/Pyblosxom/pyblosxom.py",
    line 984, in blosxom_handler
    defaultfunc=blosxom_file_list_handler)
  File "/var/lib/python-support/python2.4/Pyblosxom/tools.py",
    line 759, in run_callback
    output = func(input)
  File "/home/sarah/blog/plugins/folksonomy.py",
    line 482, in cb_filelist
    return getEntriesForTag( tag, args )
  File "/home/sarah/blog/plugins/folksonomy.py",
    line 492, in getEntriesForTag
    for entry_location in entrymap[tag]:
KeyError: 'open source/index'

The code that generates the string to search the tag entry list wasn't stripping off the "/index" part of the URL. The patch Jamey wrote is here. I should send in the patch to the author too...

Tags: | link | 0 comment(s)


What I'm doing with LPC right now

Last night I sent out an email with notes for our last Linux Plumbers Conference planning meeting. It had a list of todo items for everyone. I added my own items to my remember the milk list, and then I decided to explore the publishing/sharing features. My LPC todo list is now publicly viewable (published). Check it out if you're interested in what I'm doing on LPC right now.

If more LPC members were on remember the milk, we could have a shared list of all todo items related to LPC planning, and each LPC member could finish, postpone, or add items to the global list. It's kind of like having a bugzilla with assigned bugs. I think it would allow us to see which LPC planning committee members are overloaded, and which are slacking off. "Bob, I see your todo item for getting a quote on 100 devil ducks has been overdue for two weeks. Do you need help with that?" I don't want to force LPC members to use a new tool, but I think it would be a great idea.

Eh, who am I kidding? I'm just writing this blog entry so I can avoid my own todo list. ;)

Tags: , | link | 0 comment(s)