desktopcouch-service "ValueError: dictionary update sequence..." on stdout

Bug #446511 reported by Chad Miller
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
desktopcouch
Fix Released
High
Eric Casteleijn

Bug Description

2009-10-08 13:16:07,964 - replication of services aborted
Traceback (most recent call last):
  File "desktopcouch/trunk/desktopcouch/replication.py", line 175, in do_all_replication
    couchdb_io.mkuri(addr, port)):
  File "desktopcouch/trunk/desktopcouch/pair/couchdb_pairing/couchdb_io.py", line 123, in get_database_names_replicatable
    "excluded_names", uri=uri)
  File "desktopcouch/trunk/desktopcouch/pair/couchdb_pairing/couchdb_io.py", line 175, in _get_management_data
    results = db.get_records(create_view=True)
  File "desktopcouch/trunk/desktopcouch/records/server_base.py", line 312, in get_records
    exists = self.view_exists(view_name, design_doc)
  File "desktopcouch/trunk/desktopcouch/records/server_base.py", line 259, in view_exists
    view_container = self.db[doc_id]["views"]
  File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 318, in __getitem__
    return Document(data)
ValueError: dictionary update sequence element #0 has length 1; 2 is required

data is

"""<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not understand.<br />
Reason: You're speaking plain HTTP to an SSL-enabled server port.<br />
Instead use the HTTPS scheme to access this URL, please.<br />
<blockquote>Hint: <a href="https://couchdb.one.ubuntu.com/"><b>https://couchdb.one.ubuntu.com/</b></a></blockquote></p>
<hr>
<address>Apache/2.2.8 (Ubuntu) mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.8 OpenSSL/0.9.8g Server at couchdb.one.ubuntu.com Port 443</address>
</body></html>"""

Chad Miller (cmiller)
Changed in desktopcouch:
assignee: Chad Miller (cmiller) → Eric Casteleijn (thisfred)
Revision history for this message
Eric Casteleijn (thisfred) wrote :

Had to do with desktopcouch trying to open the management db on the remote server, which it shouldn't do. This was already fixed on a branch which has since landed in trunk.

Changed in desktopcouch:
status: Confirmed → Fix Committed
Chad Miller (cmiller)
Changed in desktopcouch:
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.