Content Manager Fails to Start Up with the default content.conf

Bug #238893 reported by Joshua Scotton
2
Affects Status Importance Assigned to Milestone
Entertainer Media Center
Fix Released
Critical
Jamie Bennett

Bug Description

Using the default content.conf from the trunk, I get:

 jozzy@misc:~/Projects/devel/Entertainer/entertainer/src$ ./entertainer-content-management.py
Traceback (most recent call last):
  File "./entertainer-content-management.py", line 42, in <module>
    ContentManagementDialog(True)
  File "/home/jozzy/Projects/devel/Entertainer/entertainer/src/utils/content_management_dialog.py", line 120, in __init__
    self.init_dialog_values_from_configure_file()
  File "/home/jozzy/Projects/devel/Entertainer/entertainer/src/utils/content_management_dialog.py", line 798, in init_dialog_values_from_configure_file
    location_list = self.config.get("Weather", "location") # Error threat
  File "/usr/lib/python2.5/ConfigParser.py", line 520, in get
    raise NoOptionError(option, section)
ConfigParser.NoOptionError: No option 'location' in section: 'Weather'

This is because the line in cfg/content.conf:
locations = Bath,England
should be
location = Bath,England

Jamie can you fix this please in your next weather module branch?

Changed in entertainer:
assignee: nobody → jamie-bennett-gmail
importance: Undecided → Critical
milestone: none → 0.1-release
Revision history for this message
Jamie Bennett (jamiebennett) wrote :

Josh, I fixed it on 2008-06-07 09:33:44 in my branch - http://bazaar.launchpad.net/~jamie-bennett-gmail/entertainer/Bug-224686/revision/227

This doesn't seem to have made it to trunk yet. This bug is to do with the new weather code that has been half merged. The rest should be merged by Paul soon I imagine. If not I can produce a fix to trunk for this.

Paul Hummer (rockstar)
Changed in entertainer:
status: New → Fix Committed
Revision history for this message
Matt Layman (mblayman) wrote :
Changed in entertainer:
status: Fix Committed → Fix Released
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.