raise ServerError((status_code, error)) ServerError: (400, '')

Bug #579646 reported by Martin Thompson
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
desktopcouch (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Binary package hint: gwibber

Pressing the Add button after putting my twitter details in gives this:
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/gwibber/accounts.py", line 198, in on_edit_account_save
    self.gwibber_service.RefreshCreds()
  File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 140, in __call__
    **keywords)
  File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 620, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Python.couchdb.client.ServerError: Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/dbus/service.py", line 702, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/usr/lib/python2.6/dist-packages/gwibber/microblog/dispatcher.py", line 519, in RefreshCreds
    util.keyring.get_account_passwords()
  File "/usr/lib/python2.6/dist-packages/gwibber/microblog/util/keyring.py", line 13, in get_account_passwords
    accounts = CouchDatabase(COUCH_DB_ACCOUNTS, create=True)
  File "/usr/lib/python2.6/dist-packages/desktopcouch/records/server.py", line 57, in __init__
    server_class=server_class, oauth_tokens=oauth_tokens, ctx=ctx)
  File "/usr/lib/python2.6/dist-packages/desktopcouch/records/server_base.py", line 152, in __init__
    self._reconnect()
  File "/usr/lib/python2.6/dist-packages/desktopcouch/records/server_base.py", line 176, in _reconnect
    if self._database_name not in self._server:
  File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 124, in __contains__
    self.resource.head(validate_dbname(name))
  File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 981, in head
    return self._request('HEAD', path, headers=headers, **params)
  File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 1035, in _request
    raise ServerError((status_code, error))
ServerError: (400, '')

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: gwibber 2.30.0.1-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic i686
NonfreeKernelModules: wl
Architecture: i386
Date: Wed May 12 21:00:11 2010
InstallationMedia: Ubuntu-Netbook 10.04 "Lucid Lynx" - Beta i386 (20100406.1)
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_GB.utf8
 SHELL=/bin/bash
SourcePackage: gwibber

Revision history for this message
Martin Thompson (mjthompson) wrote :
Omer Akram (om26er)
affects: gwibber (Ubuntu) → desktopcouch (Ubuntu)
Revision history for this message
Omer Akram (om26er) wrote :

marking confirmed judging from the duplicate and also from the comments in random gwibber bug reports with the same stacktrace

summary: - Can't add account for Twitter
+ raise ServerError((status_code, error)) ServerError: (400, '')
Changed in desktopcouch (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Omer Akram (om26er) wrote :

open couchdb.html with xdg-open .local/share/desktop-couch/couchdb.html and then delete entries named gwibber and then try to start gwibber after login that *might* start gwibber for you.

Revision history for this message
lipstick (sinanaykut-gmail) wrote : Re: [Bug 579646] Re: raise ServerError((status_code, error)) ServerError: (400, '')
Download full text (3.2 KiB)

When i give this command, I got an error "Desktopcouch is not yet started."

I tried to run couchdb and gwibber, but still I get this message.

2010/5/15 Omer Akram <email address hidden>

> open couchdb.html with xdg-open .local/share/desktop-couch/couchdb.html
> and then delete entries named gwibber and then try to start gwibber
> after login that *might* start gwibber for you.
>
> --
> raise ServerError((status_code, error)) ServerError: (400, '')
> https://bugs.launchpad.net/bugs/579646
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>
> Status in “desktopcouch” package in Ubuntu: Confirmed
>
> Bug description:
> Binary package hint: gwibber
>
> Pressing the Add button after putting my twitter details in gives this:
> Traceback (most recent call last):
> File "/usr/lib/python2.6/dist-packages/gwibber/accounts.py", line 198, in
> on_edit_account_save
> self.gwibber_service.RefreshCreds()
> File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 140, in __call__
> **keywords)
> File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 620, in
> call_blocking
> message, timeout)
> dbus.exceptions.DBusException:
> org.freedesktop.DBus.Python.couchdb.client.ServerError: Traceback (most
> recent call last):
> File "/usr/lib/pymodules/python2.6/dbus/service.py", line 702, in
> _message_cb
> retval = candidate_method(self, *args, **keywords)
> File "/usr/lib/python2.6/dist-packages/gwibber/microblog/dispatcher.py",
> line 519, in RefreshCreds
> util.keyring.get_account_passwords()
> File "/usr/lib/python2.6/dist-packages/gwibber/microblog/util/keyring.py",
> line 13, in get_account_passwords
> accounts = CouchDatabase(COUCH_DB_ACCOUNTS, create=True)
> File "/usr/lib/python2.6/dist-packages/desktopcouch/records/server.py",
> line 57, in __init__
> server_class=server_class, oauth_tokens=oauth_tokens, ctx=ctx)
> File
> "/usr/lib/python2.6/dist-packages/desktopcouch/records/server_base.py", line
> 152, in __init__
> self._reconnect()
> File
> "/usr/lib/python2.6/dist-packages/desktopcouch/records/server_base.py", line
> 176, in _reconnect
> if self._database_name not in self._server:
> File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 124, in
> __contains__
> self.resource.head(validate_dbname(name))
> File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 981, in head
> return self._request('HEAD', path, headers=headers, **params)
> File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 1035, in
> _request
> raise ServerError((status_code, error))
> ServerError: (400, '')
>
> ProblemType: Bug
> DistroRelease: Ubuntu 10.04
> Package: gwibber 2.30.0.1-0ubuntu1
> ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
> Uname: Linux 2.6.32-21-generic i686
> NonfreeKernelModules: wl
> Architecture: i386
> Date: Wed May 12 21:00:11 2010
> InstallationMedia: Ubuntu-Netbook 10.04 "Lucid Lynx" - Beta i386
> (20100406.1)
> PackageArchitecture: all
> ProcEnviron:
> PATH=(custom, no user)
> LANG=en_GB.utf8
> SHELL=/bin/bash
> SourcePackage: gwibber
>
> To unsubscribe from this bug, go to:
>
> https://bugs.launchpad.net/ubuntu/+so...

Read more...

Revision history for this message
Martin Thompson (mjthompson) wrote : Re: [Bug 579646] Re: raise ServerError((status_code, error)) ServerError: (400, '')

On Sat, May 15, 2010 at 10:37:16AM -0000 or thereabouts, Omer Akram wrote:
> open couchdb.html with xdg-open .local/share/desktop-couch/couchdb.html
> and then delete entries named gwibber and then try to start gwibber
> after login that *might* start gwibber for you.
>

Yes, thanks - that did the trick.

Martin

--
<email address hidden>
  "Wisdom's not prime-time enough,
   so stupid words are aired instead."
      Martin Joseph - Being There

Revision history for this message
lipstick (sinanaykut-gmail) wrote : Invitation to view my posts on FriendFeed

(http://friendfeed.com/?ic=V8wQJcBW6u)

 Sinan Aykut (http://friendfeed.com/sinanaykut?ic%3DV8wQJcBW6u) invites you to try FriendFeed, where you can share and discover links, photos, videos and more!

 (https://friendfeed.com/account/create?ic=V8wQJcBW6u)

 You are receiving this email because Sinan Aykut sent an invitation to <email address hidden> from http://friendfeed.com/. Opt-out of invitation request emails: (http://friendfeed.com/account/optout?code=V8wQJcBW6u)

FriendFeed Inc., 313 W. Evelyn Ave., Mountain View, CA 94041

Revision history for this message
lipstick (sinanaykut-gmail) wrote : LinkedIn'e bağlanma daveti

LinkedIn
------------

Bug,

Sizi LinkedIn'deki profesyonel profilime eklemek istiyorum.

- Sinan

Sinan Aykut
Şu okulda öğrenci: Afyon Kocatepe Üniversitesi
Türkiye

Sinan Aykut adlı kişiyi tanıdığınızı onaylayın
https://www.linkedin.com/e/-2dmi1t-gqm8101m-1q/isd/3670129418/fk-IfPZy/

--
(c) 2011, LinkedIn Corporation

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.