You are not logged in.

#1 2010-04-09 16:47:20

alphazo
Member
Registered: 2009-10-20
Posts: 155

[SOLVED] Broken Gwibber/couchdb after Apr 9 upgrade

After a 1.3GB upgrade (2.6.33, ssl, gtk, ssh...) I can no longer use Gwibber.

I use the following components:

aur/couchdb 0.11.0-1
aur/python-couchdb 0.6.1-1
aur/desktopcouch 0.6.3-3
aur/gwibber-new 2.29.94-1

When I start gwibber I get:

Traceback (most recent call last):
  File "/usr/bin/gwibber", line 67, in <module>
    client.Client()
  File "/usr/lib/python2.6/site-packages/gwibber/client.py", line 447, in __init__
    self.w = GwibberClient()
  File "/usr/lib/python2.6/site-packages/gwibber/client.py", line 29, in __init__
    self.model = gwui.Model()
  File "/usr/lib/python2.6/site-packages/gwibber/gwui.py", line 42, in __init__
    self.settings = util.SettingsMonitor()
  File "/usr/lib/python2.6/site-packages/gwibber/util.py", line 91, in __init__
    DEFAULT_SETTINGS)
  File "/usr/lib/python2.6/site-packages/gwibber/microblog/util/couch.py", line 66, in __init__
    self.database = CouchDatabase(dbname, create=True)
  File "/usr/lib/python2.6/site-packages/desktopcouch/records/server.py", line 53, in __init__
    port = desktopcouch.find_port(ctx=ctx)
  File "/usr/lib/python2.6/site-packages/desktopcouch/__init__.py", line 51, in find_port
    return _direct_access_find_port(pid=pid, ctx=ctx)
  File "/usr/lib/python2.6/site-packages/desktopcouch/__init__.py", line 132, in __find_port__linux
    raise RuntimeError("Unable to find listening port")
RuntimeError: Unable to find listening port

When starting couchdb I get:

Apache CouchDB 0.11.0 (LogLevel=info) is starting.

=CRASH REPORT==== 9-Apr-2010::18:45:28 ===
  crasher:
    initial call: couch_event_sup:init/1
    pid: <0.79.0>
    registered_name: []
    exception exit: {{badmatch,
                         {'EXIT',
                             {{badmatch,{error,eacces}},
                              [{couch_log,init,1},
                               {gen_event,server_add_handler,4},
                               {gen_event,handle_msg,5},
                               {proc_lib,init_p_do_apply,3}]}}},
                     [{couch_event_sup,init,1},
                      {gen_server,init_it,6},
                      {proc_lib,init_p_do_apply,3}]}
      in function  gen_server:init_it/6
    ancestors: [couch_primary_services,couch_server_sup,<0.32.0>]
    messages: []
    links: [<0.78.0>,<0.5.0>]
    dictionary: []
    trap_exit: false
    status: running
    heap_size: 233
    stack_size: 24
    reductions: 116
  neighbours:

=SUPERVISOR REPORT==== 9-Apr-2010::18:45:28 ===
     Supervisor: {local,couch_primary_services}
     Context:    start_error
     Reason:     {{badmatch,{'EXIT',{{badmatch,{error,eacces}},
                                     [{couch_log,init,1},
                                      {gen_event,server_add_handler,4},
                                      {gen_event,handle_msg,5},
                                      {proc_lib,init_p_do_apply,3}]}}},
                  [{couch_event_sup,init,1},
                   {gen_server,init_it,6},
                   {proc_lib,init_p_do_apply,3}]}
     Offender:   [{pid,undefined},
                  {name,couch_log},
                  {mfa,{couch_log,start_link,[]}},
                  {restart_type,permanent},
                  {shutdown,brutal_kill},
                  {child_type,worker}]


=SUPERVISOR REPORT==== 9-Apr-2010::18:45:28 ===
     Supervisor: {local,couch_server_sup}
     Context:    start_error
     Reason:     shutdown
     Offender:   [{pid,undefined},
                  {name,couch_primary_services},
                  {mfa,{couch_server_sup,start_primary_services,[]}},
                  {restart_type,permanent},
                  {shutdown,infinity},
                  {child_type,supervisor}]


=CRASH REPORT==== 9-Apr-2010::18:45:28 ===
  crasher:
    initial call: application_master:init/4
    pid: <0.31.0>
    registered_name: []
    exception exit: {bad_return,
                        {{couch_app,start,
                             [normal,
                              ["/etc/couchdb/default.ini",
                               "/etc/couchdb/local.ini"]]},
                         {'EXIT',
                             {{badmatch,{error,shutdown}},
                              [{couch_server_sup,start_server,1},
                               {application_master,start_it_old,4}]}}}}
      in function  application_master:init/4
    ancestors: [<0.30.0>]
    messages: [{'EXIT',<0.32.0>,normal}]
    links: [<0.30.0>,<0.6.0>]
    dictionary: []
    trap_exit: true
    status: running
    heap_size: 987
    stack_size: 24
    reductions: 156
  neighbours:

=INFO REPORT==== 9-Apr-2010::18:45:28 ===
    application: couch
    exited: {bad_return,{{couch_app,start,
                                    [normal,
                                     ["/etc/couchdb/default.ini",
                                      "/etc/couchdb/local.ini"]]},
                         {'EXIT',{{badmatch,{error,shutdown}},
                                  [{couch_server_sup,start_server,1},
                                   {application_master,start_it_old,4}]}}}}
    type: temporary

And for desktopcouch-pair

Traceback (most recent call last):
  File "/usr/bin/desktopcouch-pair", line 57, in <module>
    from twisted.internet import gtk2reactor
ImportError: No module named twisted.internet

Has anyone experience this problem?

Thanks
Alphazo

[EDIT]
To get it working I had to :

1) uninstall
- couchdb 0.11.0-1
- python-couchdb 0.6.1-1
- desktopcouch 0.6.3-3
- gwibber-new 2.29.94-1

2) Update with local package (pacman -U)
- erlang-R13B04-3-i686.pkg.tar.xz
- spidermonkey-1.7.0-3-i686.pkg.tar.gz
- httplib2-0.6.0-1-any.pkg.tar.gz
- python-distutils-extra-2.16-1-any.pkg.tar.gz
- python-egenix-mx-base-3.1.2-1-i686.pkg.tar.gz
- python-imaging-1.1.7-1-i686.pkg.tar.gz
- python-feedparser-4.1-4-i686.pkg.tar.gz
- python-mako-0.2.5-1-any.pkg.tar.gz
- python-simplejson-2.1.0-1-any.pkg.tar.xz
- pywebkitgtk-1.1.7-1-i686.pkg.tar.gz
- python-pycurl-7.19.0-4-i686.pkg.tar.xz

3) Re-installed with yaourt:
- couchdb 0.11.0-1
- python-couchdb 0.6.1-1
- desktopcouch 0.6.3-3
- gwibber-new 2.29.94-1

Last edited by alphazo (2010-04-09 19:50:08)

Offline

Board footer

Powered by FluxBB