Warning: Can't synchronize with repository "(default)" (No changeset 96d22ec3fa3ef6de3ea8dc0d7d398adc9aa071cf in the repository). Look in the Trac log for more information.

Ticket #178 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

oeventsd fails, sound not working

Reported by: quickdev Owned by: mickey
Priority: blocker Milestone:
Component: framework/controller Version:
Keywords: Cc:

Description

The python function os.listdir() is used to get the subsystem directory names. The order of the elements is defined by the filesystem,thus it can vary from setup to setup.

When oevents is loaded before opreferencesd, it fails, because oevents needs some preferences.

How to reproduce: Replace this two lines in controller.py

        subsystems = [ entry for entry in os.listdir( path )
                       if os.path.isdir( "%s/%s" % ( path, entry ) ) ]

with

        subsystems = ['ogpsd', 'ogsmd', 'opreferencesd', 'oeventsd', 'otimed', 'ophoned', 'ousaged', 'odeviced']

Change History

Note: See TracTickets for help on using tickets.