Acire 0.4 Won't start (Key error)

Bug #550180 reported by Ewan Davies
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Acire
Invalid
Undecided
Unassigned

Bug Description

I run Lucid, and have Acire 0.4 installed (I've also tried revision 50 from bzr) and when I run Acire it won't start. Running from a terminal gives the following output:

Traceback (most recent call last):
  File "/usr/bin/acire", line 535, in <module>
    window = NewAcireWindow()
  File "/usr/bin/acire", line 519, in NewAcireWindow
    window.finish_initializing(builder)
  File "/usr/bin/acire", line 172, in finish_initializing
    self.update_categories_combo()
  File "/usr/bin/acire", line 180, in update_categories_combo
    splitlist = self.snippetsdata[snippet]["cats"].split(',')
KeyError: 'cats'

My version of python is 2.6.5.

Revision history for this message
Jono Bacon (jonobacon) wrote :

Strange. Do you have a recent copy of of python-snippets installed?

Could you follow the instructions at http://www.jonobacon.org/2010/03/22/quick-acire-and-python-snippets-guide/ and tell me if you still have the same problem?

Changed in acire:
status: New → Incomplete
Revision history for this message
Ewan Davies (ewan.davies) wrote :

I have a copy of python-snippets checked out from bzr in ~/Documents/python-snippets. The /usr/share/python-snippets folder was a link to the one in ~/Documents. This arrangement worked with the previous version of acire, but now yields this bug.

Having removed the link and installed the python-snippets package, there is no longer a problem. My guess is that one of the non-snippet files in the bzr checkout was causing a problem when it was 'parsed'. Thanks for the help :)

Revision history for this message
Jono Bacon (jonobacon) wrote :

Thanks, Ewan!

Changed in acire:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.