Project

General

Profile

Actions

tickets #63982

closed

ImportError: No module named pydispatch - unable to access mirror database

Added by pjessen about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Mirrors
Target version:
-
Start date:
2020-02-29
Due date:
% Done:

100%

Estimated time:

Description

# mb show hostsuisse
Traceback (most recent call last):
File "/usr/bin/mb", line 1688, in <module>
r = mirrordoctor.main()
File "/usr/lib/python2.7/site-packages/cmdln.py", line 251, in main
retval = self.postoptparse()
File "/usr/bin/mb", line 82, in postoptparse
import mb.conn
File "/usr/lib64/python2.7/site-packages/mb/conn.py", line 4, in <module>
from sqlobject import *
File "/usr/lib/python2.7/site-packages/sqlobject/__init__.py", line 10, in <module>
from .joins import *  # noqa
File "/usr/lib/python2.7/site-packages/sqlobject/joins.py", line 2, in <module>
from . import boundattributes
File "/usr/lib/python2.7/site-packages/sqlobject/boundattributes.py", line 16, in <module>
from . import declarative
File "/usr/lib/python2.7/site-packages/sqlobject/declarative.py", line 36, in <module>
from . import events
File "/usr/lib/python2.7/site-packages/sqlobject/events.py", line 4, in <module>
from pydispatch import dispatcher
ImportError: No module named pydispatch

I guess something or other was updated on pontifex?

Actions #1

Updated by pjessen about 4 years ago

  • Private changed from Yes to No

pydispatch.py used to be in python2-SQLObject. I see Lars updated it about a week ago.
In the News files, I see this old comment -

SQLObject 3.0.0
===============
Released 1 Jun 2016.
* PyDispatcher (>=2.0.4) was made an external dependency.
Actions #2

Updated by pjessen about 4 years ago

I have installed python2-PyDispatcher, 'mb' now works again. is there a dependency missing somewhere?

Actions #3

Updated by lrupp about 4 years ago

  • Category set to Mirrors
  • Status changed from New to Feedback

pjessen wrote:

I have installed python2-PyDispatcher, 'mb' now works again. is there a dependency missing somewhere?

Thanks!
But your question... is definitely a very good one. Where would you expect the dependency?
Should I add it to python-mb ?

Actions #4

Updated by pjessen about 4 years ago

  • Priority changed from High to Normal

lrupp wrote:

pjessen wrote:

I have installed python2-PyDispatcher, 'mb' now works again. is there a dependency missing somewhere?

Thanks!
But your question... is definitely a very good one. Where would you expect the dependency?
Should I add it to python-mb ?

Maybe in python2-SQLObject ? when you upgraded it, it could/should have pulled in python2-PyDispatcher.

Actions #5

Updated by lrupp about 4 years ago

  • Status changed from Feedback to Closed
  • Assignee set to lrupp
  • % Done changed from 0 to 100

Tue Mar 3 16:47:17 UTC 2020 - lars@linux-schulserver.de

  • Require PyDispatcher module
Actions

Also available in: Atom PDF