Ticket #250 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

frameworkd needs python[threads]

Reported by: aelia Owned by:
Priority: major Milestone: milestone4
Component: target Keywords: frameworkd python thread
Cc:

Description

the ebuild of frameworkd does not check the USE=threads for python so it is possible to install it without the USE and it results in a funny absence of error at boot time when frameworkd is lauched, absence of error in the logs and no frameworkd process.

I had to lauch it manually from a shell to see where the error came from and see:

Lenneth# frameworkd Traceback (most recent call last):

File "/usr/bin/frameworkd", line 66, in <module>

from framework import controller

File "/usr/lib/python2.6/site-packages/framework/controller.py", line 16, in <module>

from framework.config import DBUS_BUS_NAME_PREFIX, debug, config, loggingmap

File "/usr/lib/python2.6/site-packages/framework/config.py", line 60, in <module>

logging.info( "Using configuration file %s" % p )

File "/usr/lib/python2.6/logging/init.py", line 1451, in info

root.info(*((msg,)+args), **kwargs)

File "/usr/lib/python2.6/logging/init.py", line 1030, in info

self._log(INFO, msg, args, **kwargs)

File "/usr/lib/python2.6/logging/init.py", line 1142, in _log

record = self.makeRecord(self.name, level, fn, lno, msg, args, exc_info, func, extra)

File "/usr/lib/python2.6/logging/init.py", line 1117, in makeRecord

rv = LogRecord?(name, level, fn, lno, msg, args, exc_info, func)

File "/usr/lib/python2.6/logging/init.py", line 272, in init

from multiprocessing import current_process

File "/usr/lib/python2.6/multiprocessing/init.py", line 64, in <module>

from multiprocessing.util import SUBDEBUG, SUBWARNING

File "/usr/lib/python2.6/multiprocessing/util.py", line 12, in <module>

import threading # we want threading to install it's

File "/usr/lib/python2.6/threading.py", line 6, in <module>

import thread

ImportError?: No module named thread

which doesn't need anymore explanation

Attachments

freesmartphone-framework-0.5.1.ebuild (1.3 kB) - added by aelia 3 years ago.
corrected ebuild (added dep over python[threads])

Change History

Changed 3 years ago by aelia

corrected ebuild (added dep over python[threads])

Changed 3 years ago by sleipnir

  • milestone changed from unsorted to milestone4

Changed 3 years ago by sleipnir

  • status changed from new to closed
  • resolution set to fixed

Fixed in revision r557! Thanks for the fix! Btw. please send patches instead of whole ebuilds, as this eases the incorporation...

Note: See TracTickets for help on using tickets.