← Back to team overview

ubuntuone-users team mailing list archive

Re: Tomboy syncing issues

 

When I run the script, I get this:


API ref is at https://one.ubuntu.com/notes/api/1.0/user/, querying...
Notes are at https://one.ubuntu.com/notes/api/1.0/op/, querying...
Current sync GUID: 0
Latest sync revision: 0
Traceback (most recent call last):
  File "tomboy-sync-validator.py", line 271, in <module>
    application.run()
  File "tomboy-sync-validator.py", line 132, in run
    self.main()
  File "tomboy-sync-validator.py", line 152, in main
    stat, response = self.request(api_ref + "?include_notes=true")
  File "tomboy-sync-validator.py", line 255, in request
    stat, response = client.request(url, http_method, headers=oauth_header)
  File "/usr/lib/python2.6/dist-packages/httplib2/__init__.py", line 1129,
in request
    (response, content) = self._request(conn, authority, uri, request_uri,
method, body, headers, redirections, cachekey)
  File "/usr/lib/python2.6/dist-packages/httplib2/__init__.py", line 901, in
_request
    (response, content) = self._conn_request(conn, request_uri, method,
body, headers)
  File "/usr/lib/python2.6/dist-packages/httplib2/__init__.py", line 871, in
_conn_request
    response = conn.getresponse()
  File "/usr/lib/python2.6/httplib.py", line 990, in getresponse
    response.begin()
  File "/usr/lib/python2.6/httplib.py", line 391, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python2.6/httplib.py", line 349, in _read_status
    line = self.fp.readline()
  File "/usr/lib/python2.6/socket.py", line 427, in readline
    data = recv(1)
  File "/usr/lib/python2.6/ssl.py", line 215, in recv
    return self.read(buflen)
  File "/usr/lib/python2.6/ssl.py", line 136, in read
    return self._sslobj.read(len)
ssl.SSLError: The read operation timed out


On Fri, Feb 18, 2011 at 10:40 PM, Roman Yepishev <
roman.yepishev@xxxxxxxxxxxxx> wrote:
>
> Hello all,
>
> I am posting this info to the bug reports that indicate some sort of
> malformed response from the server during tomboy sync:
>
> If you are experiencing issues with tomboy sync (but not 404 NOT FOUND
> response from the server, that's bug 575937[0]) please try the following
> script that should provide you with the information regarding what note
> is causing the synchronization to fail.
>
> Editing and re-saving the offending notes in the web interface should
> restore your tomboy sync, however if the note in the web interface
> appears completely blank please do not re-save it since that will
> overwrite your previous note content.
>
> Please contact ubuntuone-support@xxxxxxxxxxxxx if you are not able to
> restore the notes in this way and we will find the ways that can be done
> on a case-by-case basis.
>
> Here's how to use the script in the terminal:
>
> cd /tmp
> wget
> http://people.canonical.com/~roman.yepishev/us/tomboy-sync-validator.py
> python tomboy-sync-validator.py
>
> It should print something like this:
>
> API ref is at https://one.ubuntu.com/notes/api/1.0/user/, querying...
> Notes are at https://one.ubuntu.com/notes/api/1.0/op/, querying...
> Current sync GUID: 0
> Latest sync revision: 2
> Found 5 notes
> [1/5] "Start Here": OK
> [2/5] "Ubuntu One": OK
> [3/5] "Hello again!": OK
> [4/5] "Using Links in Tomboy": OK
> [5/5] "New Note 1": OK
>
> However if there is an error it will print something like
> [1/5] "Start Here": ERROR
>        23d57ffb-a492-4ba1-adf4-72f0eb23b254: last-change-date-is-broken
> (000)
>
> https://one.ubuntu.com/notes/view/23d57ffb-a492-4ba1-adf4-72f0eb23b254
>
> [0] Can't synchronize Tomboy Notes: Server returned 404 NOT FOUND
>    https://bugs.launchpad.net/ubuntu/+source/tomboy/+bug/575937
>
> --
> Roman Yepishev <roman.yepishev@xxxxxxxxxxxxx>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~ubuntuone-users
> Post to     : ubuntuone-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~ubuntuone-users
> More help   : https://help.launchpad.net/ListHelp
>

Follow ups

References