gwibber-service should depend on gwibber

Bug #539017 reported by Łukasz Jernaś
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Gwibber
Fix Released
Low
Ken VanDine
gwibber (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: gwibber

Looks like gwibber service requires gwibber package:
Python 2.6.5rc2 (r265rc2:78822, Mar 11 2010, 20:47:08)
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gwibber.lib
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.6/dist-packages/gwibber/lib/__init__.py", line 2, in <module>
    from gwibber import util
ImportError: cannot import name util

Tags: lucid
Revision history for this message
Victor Vargas (kamus) wrote :

What steps did you follow to reproduce this issue? I have checked gwibber-service package and in fact, does not require gwibber package to run, unique restriction is that gwibber cannot be 2.29.1 (or less) because could cause conflicts. Thanks!

Changed in gwibber (Ubuntu):
status: New → Incomplete
Revision history for this message
Łukasz Jernaś (deejay1) wrote :

1. Install gwibber-service via synaptic on Lucid
2. try to run app of jaq
3. run python shell with the above
4. install gwibber package via synaptic
5. try the python example again - no exception this time
6. ....
7. profit!

(Sorry, I really couldn't help myself with steps 6. and 7. no offence!)

Revision history for this message
Victor Vargas (kamus) wrote :

I guess something happened in your last post because I only see step one, please could you rewrite again this steps please. Thanks!

Changed in gwibber (Ubuntu):
importance: Undecided → Low
Revision history for this message
Łukasz Jernaś (deejay1) wrote :

Hmm, looks fine here, but ok here it is again:
1 Install gwibber-service via synaptic on Lucid
2 try to run app of jaq
3 run python shell with the above
4 install gwibber package via synaptic
5 try the python example again - no exception this time

Revision history for this message
Victor Vargas (kamus) wrote :

Since this report has a few weeks here without activity, is this issue still affecting you running latest version of gwibber in your system? Thanks!

Revision history for this message
Łukasz Jernaś (deejay1) wrote :

It's still there, but as it seems that I'm the only one with this issue we can close it - I can live with that

Revision history for this message
Omer Akram (om26er) wrote :

Is this bug about that if you install gwibber-service from synaptic its useless unless gwibber is not installed? maybe there is a packaging fault?

Revision history for this message
Łukasz Jernaś (deejay1) wrote : Re: [Bug 539017] Re: gwibber-service requires gwibber package

> Is this bug about that if you install gwibber-service from synaptic its
> useless unless gwibber is not installed? maybe there is a packaging
> fault?

It's exactly about that.

Revision history for this message
Victor Vargas (kamus) wrote : Re: gwibber-service requires gwibber package

Maybe gwibber-service package should add in their debian/control file a line like this for avoid this issue:
...
Depends: gwibber,
       python-dbus,
        python-gtk2,
        python-gconf,
        python-egenix-mxdatetime,
        python-simplejson,
        python-webkit,
        librsvg2-2,
        librsvg2-common,
        python-imaging,
        python-xdg,
        python-mako,
        python-gtkspell,
        ...

Changed in gwibber (Ubuntu):
status: Incomplete → New
Omer Akram (om26er)
Changed in gwibber:
status: New → Invalid
Revision history for this message
Omer Akram (om26er) wrote :

opening the upstream again as it involves the daily ppa there.

summary: - gwibber-service requires gwibber package
+ gwibber-service should depend on gwibber
Changed in gwibber:
status: Invalid → Confirmed
Revision history for this message
Ken VanDine (ken-vandine) wrote :

gwibber-service shouldn't depend on gwibber, we don't want circular depends and it would completely defeat the purpose of splitting the package. This is really just a bug in the public library gwibber-service provides, it shouldn't import from util there. I will fix that.

Changed in gwibber:
milestone: none → 2.30.2
Revision history for this message
Victor Vargas (kamus) wrote :

Thanks Ken.

Changed in gwibber (Ubuntu):
status: New → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gwibber - 2.31.2-0ubuntu2

---------------
gwibber (2.31.2-0ubuntu2) maverick; urgency=low

  * debian/patches/lp_539017.patch
    - Moved SettingsMonitor, getbus and service_is_running to
      gwibber.microblog.utils to fix failed imports from the public API when
      only gwibber-service is installed (LP: #539017)
 -- Ken VanDine <email address hidden> Tue, 13 Jul 2010 16:43:17 -0400

Changed in gwibber (Ubuntu):
status: Triaged → Fix Released
Changed in gwibber:
assignee: nobody → Ken VanDine (ken-vandine)
importance: Undecided → Low
status: Confirmed → Fix Committed
Omer Akram (om26er)
Changed in gwibber:
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.