Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 315743 - dev-python/couchdb-python-0.7 breaks gwibber
Summary: dev-python/couchdb-python-0.7 breaks gwibber
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Jesus Rivero (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-17 14:23 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2010-04-27 18:50 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2010-04-17 14:23:20 UTC
flame@yamato ~ % gwibber

** (gwibber:30012): WARNING **: Trying to register gtype 'WnckWindowState' as enum when in fact it is of type 'GFlags'

** (gwibber:30012): WARNING **: Trying to register gtype 'WnckWindowActions' as enum when in fact it is of type 'GFlags'

** (gwibber:30012): WARNING **: Trying to register gtype 'WnckWindowMoveResizeMask' as enum when in fact it is of type 'GFlags'
Traceback (most recent call last):
  File "/usr/bin/gwibber", line 50, in <module>
    from gwibber import client
  File "/usr/lib64/python2.6/site-packages/gwibber/client.py", line 3, in <module>
    import gtk, gobject, gwui, util, resources, actions, json, gconf
  File "/usr/lib64/python2.6/site-packages/gwibber/gwui.py", line 2, in <module>
    import os, json, urlparse, resources, util
  File "/usr/lib64/python2.6/site-packages/gwibber/util.py", line 2, in <module>
    from microblog.util.couch import RecordMonitor
  File "/usr/lib64/python2.6/site-packages/gwibber/microblog/util/couch.py", line 4, in <module>
    import desktopcouch, pycurl, oauth, threading, urllib, re, json
  File "/usr/lib64/python2.6/site-packages/desktopcouch/__init__.py", line 20, in <module>
    from desktopcouch.start_local_couchdb import process_is_couchdb, read_pidfile
  File "/usr/lib64/python2.6/site-packages/desktopcouch/start_local_couchdb.py", line 42, in <module>
    from desktopcouch.records.server import CouchDatabase
  File "/usr/lib64/python2.6/site-packages/desktopcouch/records/server.py", line 25, in <module>
    from couchdb.client import Resource
ImportError: cannot import name Resource

Works fine if I drop back to 0.6.1… maybe it's not couchdb-python at fault, but I don't know the stack well enough.
Comment 1 Dirkjan Ochtman (RETIRED) gentoo-dev 2010-04-17 18:45:42 UTC
It is. couchdb-python's API changed in 0.7. Resource is now in couchdb.http.
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-04-17 18:53:08 UTC
So maybe desktopcouch or gwibber should restrict deps…
Comment 3 Jesus Rivero (RETIRED) gentoo-dev 2010-04-27 18:50:04 UTC
Hi, 

   I just added dev-db/desktopcouch-0.6.4 to tree which restricts to <dev-python/couchdb-python-0.7.

   Pending change to Gwibber when desktopcouch is fixed to use couchdb-python-0.7

   Best regards,