Bug 3990 - couchdb is missing a dependency on avahi-python (and needs ubuntu-sso-client, which needs to be imported)
Summary: couchdb is missing a dependency on avahi-python (and needs ubuntu-sso-client,...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Shlomi Fish
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 3973
  Show dependency treegraph
 
Reported: 2012-01-01 14:59 CET by Florian Hubold
Modified: 2014-10-24 17:48 CEST (History)
5 users (show)

See Also:
Source RPM: couchdb
CVE:
Status comment:


Attachments

Description Florian Hubold 2012-01-01 14:59:10 CET
Description of problem: Run either desktopcouch-pair or /usr/lib/desktopcouch/desktopcouch-service (which is what gwibber runs) and see that avahi python module is missing:

$ desktopcouch-pair
ERROR:root:Can't import dbus_io, because avahi not installed?
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/desktopcouch/application/pair/couchdb_pairing/network_io.py", line 29, in <module>
    from desktopcouch.application.pair.couchdb_pairing.dbus_io import (
  File "/usr/lib/python2.7/site-packages/desktopcouch/application/pair/couchdb_pairing/dbus_io.py", line 23, in <module>
    import avahi
ImportError: No module named avahi
Traceback (most recent call last):
  File "/usr/bin/desktopcouch-pair", line 73, in <module>
    from desktopcouch.application.pair.couchdb_pairing import dbus_io
  File "/usr/lib/python2.7/site-packages/desktopcouch/application/pair/couchdb_pairing/dbus_io.py", line 23, in <module>
    import avahi
ImportError: No module named avahi

After installing avahi, i get:

[doktor5000@mageia1 ~]$ desktopcouch-pair
Traceback (most recent call last):
  File "/usr/bin/desktopcouch-pair", line 906, in <module>
    desktopcouch_port = desktopcouch.application.platform.find_port()
  File "/usr/lib/python2.7/site-packages/desktopcouch/application/platform/__init__.py", line 48, in find_port
    return platform_find_port(pid, ctx)
  File "/usr/lib/python2.7/site-packages/desktopcouch/application/platform/linux/__init__.py", line 100, in platform_find_port
    proxy = bus.get_object('org.desktopcouch.CouchDB', '/')
  File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 244, in get_object
    follow_name_owner_changes=follow_name_owner_changes)
  File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 241, in __init__
    self._named_service = conn.activate_name_owner(bus_name)
  File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 183, in activate_name_owner
    self.start_service_by_name(bus_name)
  File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 281, in start_service_by_name
    'su', (bus_name, flags)))
  File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 630, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ChildExited: Process /usr/lib/desktopcouch/desktopcouch-service exited with status 1

[doktor5000@mageia1 ~]$ /usr/lib/desktopcouch/desktopcouch-service
Traceback (most recent call last):
  File "/usr/lib/desktopcouch/desktopcouch-service", line 41, in <module>
    from desktopcouch.service import DesktopcouchService
  File "/usr/lib/python2.7/site-packages/desktopcouch/service.py", line 9, in <module>
    from desktopcouch.application.service import *
  File "/usr/lib/python2.7/site-packages/desktopcouch/application/service.py", line 44, in <module>
    from desktopcouch.application import replication
  File "/usr/lib/python2.7/site-packages/desktopcouch/application/replication.py", line 28, in <module>
    from desktopcouch.application import replication_services
  File "/usr/lib/python2.7/site-packages/desktopcouch/application/replication_services/__init__.py", line 4, in <module>
    from desktopcouch.application.replication_services import ubuntuone
  File "/usr/lib/python2.7/site-packages/desktopcouch/application/replication_services/ubuntuone.py", line 8, in <module>
    import ubuntu_sso
ImportError: No module named ubuntu_sso


So in addition to the missing dependency seems we need ubuntu-sso-client imported and added as dependency.

Already working on it.
Florian Hubold 2012-01-01 20:46:53 CET

CC: (none) => misc

Comment 1 Florian Hubold 2012-06-11 22:34:36 CEST
Avtually i've got everything locally, but ubuntu-sso can't be built due to some python module/import error. misc wanted to look at this, but didn't have time, so some python guy should take a look, as i can't do it on my own.

CC: (none) => doktor5000
Assignee: doktor5000 => bugsquad

Manuel Hiebel 2012-06-25 05:35:00 CEST

Keywords: (none) => Junior_job
Version: 1 => Cauldron
Source RPM: (none) => couchdb
Whiteboard: (none) => MGA1TOO

Florian Hubold 2012-08-12 15:02:15 CEST

Blocks: (none) => 3973

Comment 2 Marja Van Waes 2012-09-22 20:40:15 CEST
(In reply to comment #1)
> Avtually i've got everything locally, but ubuntu-sso can't be built due to some
> python module/import error. misc wanted to look at this, but didn't have time,
> so some python guy should take a look, as i can't do it on my own.

cc'ing some committers

CC: (none) => dmorganec, fundawang, jani.valimaa, marja11, sander.lepik

Jani Välimaa 2012-10-25 17:17:26 CEST

CC: jani.valimaa => (none)

Comment 3 Florian Hubold 2014-02-02 19:14:33 CET
If neither gwibber nor counchdb are maintained, we should drop then both. As the problems with both still persit AFAICT.

Keywords: Junior_job => (none)

Comment 4 Remco Rijnders 2014-08-19 12:47:54 CEST
We have a maintainer for this package now, assigning accordingly.

CC: misc => (none)
Assignee: bugsquad => shlomif

Comment 5 Florian Hubold 2014-08-25 21:58:28 CEST
I've just dropped gwibber as it was unmaintained upstream and has been replaced by Friends service in GNOME 3. Also for all the couchdb packages seems nothing requires them, hence I propose dropping those too:


[doktor5000@Mageia4 ~]$ urpmf --name couch | sort -u
couchdb
couchdb-bin
desktopcouch
desktopcouch-tools
python-couchdb
[doktor5000@Mageia4 ~]$ for i in $(urpmf --name couch | sort -u); do urpmq --whatrequires-recursive $i | sort -u; done
couchdb
couchdb
couchdb-bin
desktopcouch
desktopcouch
desktopcouch-tools
desktopcouch
python-couchdb
[doktor5000@Mageia4 ~]$


@Rindolf: What do you think? Any objections?

Whiteboard: MGA1TOO => (none)

Comment 6 Florian Hubold 2014-09-17 21:11:10 CEST
(In reply to Florian Hubold from comment #5)
> Also for all the couchdb packages seems nothing requires them, hence I propose > dropping those too:
> 
> 
> [doktor5000@Mageia4 ~]$ urpmf --name couch | sort -u
> couchdb
> couchdb-bin
> desktopcouch
> desktopcouch-tools
> python-couchdb
> [doktor5000@Mageia4 ~]$ for i in $(urpmf --name couch | sort -u); do urpmq
> --whatrequires-recursive $i | sort -u; done
> couchdb
> couchdb
> couchdb-bin
> desktopcouch
> desktopcouch
> desktopcouch-tools
> desktopcouch
> python-couchdb
> [doktor5000@Mageia4 ~]$
> 
> 
> @Rindolf: What do you think? Any objections?

Ping? If there's no objection, I'll remove those before mga5 release.
Comment 7 Shlomi Fish 2014-09-30 17:05:22 CEST
(In reply to Florian Hubold from comment #6)
> (In reply to Florian Hubold from comment #5)
> > Also for all the couchdb packages seems nothing requires them, hence I propose > dropping those too:
> > 
> > 
> > [doktor5000@Mageia4 ~]$ urpmf --name couch | sort -u
> > couchdb
> > couchdb-bin
> > desktopcouch
> > desktopcouch-tools
> > python-couchdb
> > [doktor5000@Mageia4 ~]$ for i in $(urpmf --name couch | sort -u); do urpmq
> > --whatrequires-recursive $i | sort -u; done
> > couchdb
> > couchdb
> > couchdb-bin
> > desktopcouch
> > desktopcouch
> > desktopcouch-tools
> > desktopcouch
> > python-couchdb
> > [doktor5000@Mageia4 ~]$
> > 
> > 
> > @Rindolf: What do you think? Any objections?
> 
> Ping? If there's no objection, I'll remove those before mga5 release.

fine by me.
Comment 8 Shlomi Fish 2014-10-21 08:59:44 CEST
(In reply to Shlomi Fish from comment #7)
> (In reply to Florian Hubold from comment #6)
> > (In reply to Florian Hubold from comment #5)
> > > Also for all the couchdb packages seems nothing requires them, hence I propose > dropping those too:
> > > 
> > > 
> > > [doktor5000@Mageia4 ~]$ urpmf --name couch | sort -u
> > > couchdb
> > > couchdb-bin
> > > desktopcouch
> > > desktopcouch-tools
> > > python-couchdb
> > > [doktor5000@Mageia4 ~]$ for i in $(urpmf --name couch | sort -u); do urpmq
> > > --whatrequires-recursive $i | sort -u; done
> > > couchdb
> > > couchdb
> > > couchdb-bin
> > > desktopcouch
> > > desktopcouch
> > > desktopcouch-tools
> > > desktopcouch
> > > python-couchdb
> > > [doktor5000@Mageia4 ~]$
> > > 
> > > 
> > > @Rindolf: What do you think? Any objections?
> > 
> > Ping? If there's no objection, I'll remove those before mga5 release.
> 
> fine by me.

Florian , can you remove them?

Regards,

-- Shlomi Fish

Status: NEW => ASSIGNED

Comment 9 Florian Hubold 2014-10-24 17:48:31 CEST
Sorry for the late reply, it's completed now:

http://svnweb.mageia.org/packages?view=revision&revision=792963
http://svnweb.mageia.org/packages?view=revision&revision=792967
http://svnweb.mageia.org/packages?view=revision&revision=792968

Once packages have been automatically removed themselves from mirrors, they can be moved to obsolete/ on svn.

Status: ASSIGNED => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.