I got a successful auth, but when clicking save to initially sync notes,
it tomboy failed with this error:

[DEBUG]: Listening on http://localhost:8000/tomboy-web-sync/ for OAuth callback
[DEBUG]: Generating nonce.
[DEBUG]: Generating time stamp.
[DEBUG]: Building web request for URL: https://one.ubuntu.com/oauth/request/
[DEBUG]: Generated nonce is 1188458
[DEBUG]: Generated time stamp is 14522.12:19:00.4525450
[DEBUG]: Generating signature using HMAC-SHA1 algorithm.
[DEBUG]: Generating signature using signature type HMACSHA1
[DEBUG]: Generating signature base for OAuth request.
[DEBUG]: URL: 
[DEBUG]: Creating list of parameters from parameter string 
[DEBUG]: URL encoding value.
[DEBUG]: Normalizing URL for signature.
[DEBUG]: Generated normalized URL: https://one.ubuntu.com/oauth/request/
[DEBUG]: Normalizing request parameters.
[DEBUG]: Normalized request parameters 
oauth_callback=http%3A%2F%2Flocalhost%3A8000%2Ftomboy-web-sync%2F&oauth_consumer_key=anyone&oauth_nonce=1188458&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1254745140&oauth_version=1.0.
[DEBUG]: Generating signature base from normalized URL and request parameters.
[DEBUG]: URL encoding value.
[DEBUG]: URL encoding value.
[DEBUG]: Signature base: 
POST&https%3A%2F%2Fone.ubuntu.com%2Foauth%2Frequest%2F&oauth_callback%3Dhttp%253A%252F%252Flocalhost%253A8000%252Ftomboy-web-sync%252F%26oauth_consumer_key%3Danyone%26oauth_nonce%3D1188458%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1254745140%26oauth_version%3D1.0
[DEBUG]: URL encoding value.
[DEBUG]: Generating hashed signature.
[DEBUG]: Computing hash for data 
POST&https%3A%2F%2Fone.ubuntu.com%2Foauth%2Frequest%2F&oauth_callback%3Dhttp%253A%252F%252Flocalhost%253A8000%252Ftomboy-web-sync%252F%26oauth_consumer_key%3Danyone%26oauth_nonce%3D1188458%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1254745140%26oauth_version%3D1.0
[DEBUG]: HMAC-SHA1 encoded signature 3yzEMovm9sInKmebVoKn2JQnhFQ= of consumer 
secret and token secret.
[DEBUG]: Generated signature 3yzEMovm9sInKmebVoKn2JQnhFQ=
[DEBUG]: Post data: 
[DEBUG]: Generated auth header params string: 
oauth_callback="http%3A%2F%2Flocalhost%3A8000%2Ftomboy-web-sync%2F",oauth_consumer_key="anyone",oauth_nonce="1188458",oauth_signature="3yzEMovm9sInKmebVoKn2JQnhFQ%3d",oauth_signature_method="HMAC-SHA1",oauth_timestamp="1254745140",oauth_version="1.0"
[DEBUG]: Made web request, got response: 
oauth_token_secret=kh3BqNp23KRB8HhMVVnm7LHC0N4tmbgZwcxjS5MRjfbTrz05zf9T76wfxjtJlD7B3BN3v5cnZrKRt8Vr&oauth_token=d5r69vpG3j2qGTC88Cqr&oauth_callback_confirmed=true
[DEBUG]: Returned value from web request: 
oauth_token_secret=kh3BqNp23KRB8HhMVVnm7LHC0N4tmbgZwcxjS5MRjfbTrz05zf9T76wfxjtJlD7B3BN3v5cnZrKRt8Vr&oauth_token=d5r69vpG3j2qGTC88Cqr&oauth_callback_confirmed=true
[DEBUG]: Response from request for auth url: 
oauth_token_secret=kh3BqNp23KRB8HhMVVnm7LHC0N4tmbgZwcxjS5MRjfbTrz05zf9T76wfxjtJlD7B3BN3v5cnZrKRt8Vr&oauth_token=d5r69vpG3j2qGTC88Cqr&oauth_callback_confirmed=true
[DEBUG]: Launching browser to authorize web sync: 
https://one.ubuntu.com/oauth/authorize/?oauth_token=d5r69vpG3j2qGTC88Cqr&oauth_callback=http%3a%2f%2flocalhost%3a8000%2ftomboy-web-sync%2f
[DEBUG]: Context request uri query section: 
?oauth_token=d5r69vpG3j2qGTC88Cqr&oauth_verifier=2a2c9b93-4f2c-4466-9cf4-670cf40b4629&return=https://one.ubuntu.com
[DEBUG]: Asking server for access token based on authorization token.
[DEBUG]: Generating nonce.
[DEBUG]: Generating time stamp.
[DEBUG]: Building web request for URL: https://one.ubuntu.com/oauth/access/
[DEBUG]: Generated nonce is 9979601
[DEBUG]: Generated time stamp is 14522.12:19:14.9700750
[DEBUG]: Generating signature using HMAC-SHA1 algorithm.
[DEBUG]: Generating signature using signature type HMACSHA1
[DEBUG]: Generating signature base for OAuth request.
[DEBUG]: URL: 
[DEBUG]: Creating list of parameters from parameter string 
[DEBUG]: URL encoding value.
[DEBUG]: Normalizing URL for signature.
[DEBUG]: Generated normalized URL: https://one.ubuntu.com/oauth/access/
[DEBUG]: Normalizing request parameters.
[DEBUG]: Normalized request parameters 
oauth_callback=http%3A%2F%2Flocalhost%3A8000%2Ftomboy-web-sync%2F&oauth_consumer_key=anyone&oauth_nonce=9979601&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1254745154&oauth_token=d5r69vpG3j2qGTC88Cqr&oauth_verifier=2a2c9b93-4f2c-4466-9cf4-670cf40b4629&oauth_version=1.0.
[DEBUG]: Generating signature base from normalized URL and request parameters.
[DEBUG]: URL encoding value.
[DEBUG]: URL encoding value.
[DEBUG]: Signature base: 
POST&https%3A%2F%2Fone.ubuntu.com%2Foauth%2Faccess%2F&oauth_callback%3Dhttp%253A%252F%252Flocalhost%253A8000%252Ftomboy-web-sync%252F%26oauth_consumer_key%3Danyone%26oauth_nonce%3D9979601%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1254745154%26oauth_token%3Dd5r69vpG3j2qGTC88Cqr%26oauth_verifier%3D2a2c9b93-4f2c-4466-9cf4-670cf40b4629%26oauth_version%3D1.0
[DEBUG]: URL encoding value.
[DEBUG]: URL encoding value.
[DEBUG]: Generating hashed signature.
[DEBUG]: Computing hash for data 
POST&https%3A%2F%2Fone.ubuntu.com%2Foauth%2Faccess%2F&oauth_callback%3Dhttp%253A%252F%252Flocalhost%253A8000%252Ftomboy-web-sync%252F%26oauth_consumer_key%3Danyone%26oauth_nonce%3D9979601%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1254745154%26oauth_token%3Dd5r69vpG3j2qGTC88Cqr%26oauth_verifier%3D2a2c9b93-4f2c-4466-9cf4-670cf40b4629%26oauth_version%3D1.0
[DEBUG]: HMAC-SHA1 encoded signature RRhclRSH6Y21qcFAxHE1YbvCluM= of consumer 
secret and token secret.
[DEBUG]: Generated signature RRhclRSH6Y21qcFAxHE1YbvCluM=
[DEBUG]: Post data: 
[DEBUG]: Generated auth header params string: 
oauth_callback="http%3A%2F%2Flocalhost%3A8000%2Ftomboy-web-sync%2F",oauth_consumer_key="anyone",oauth_nonce="9979601",oauth_signature="RRhclRSH6Y21qcFAxHE1YbvCluM%3d",oauth_signature_method="HMAC-SHA1",oauth_timestamp="1254745154",oauth_token="d5r69vpG3j2qGTC88Cqr",oauth_verifier="2a2c9b93-4f2c-4466-9cf4-670cf40b4629",oauth_version="1.0"
[DEBUG]: Made web request, got response: 
oauth_token_secret=VN5fGGrlGVGkJGfLQC8rHPRkqtxBML0PkVlzLq2qM4S38Sz06w6bFPqWFJbzfZsq71tvPvRrmX2fPkf7&oauth_token=7zPDCF8L7BHrtRRVBH6l
[DEBUG]: Returned value from web request: 
oauth_token_secret=VN5fGGrlGVGkJGfLQC8rHPRkqtxBML0PkVlzLq2qM4S38Sz06w6bFPqWFJbzfZsq71tvPvRrmX2fPkf7&oauth_token=7zPDCF8L7BHrtRRVBH6l
[DEBUG]: Received response from server: 
oauth_token_secret=VN5fGGrlGVGkJGfLQC8rHPRkqtxBML0PkVlzLq2qM4S38Sz06w6bFPqWFJbzfZsq71tvPvRrmX2fPkf7&oauth_token=7zPDCF8L7BHrtRRVBH6l
[DEBUG]: Got access token from server
[DEBUG]: Successfully authorized web sync
[DEBUG]: SyncThread using SyncServiceAddin: Tomboy Web
[DEBUG]: Generating nonce.
[DEBUG]: Generating time stamp.
[DEBUG]: Building web request for URL: https://one.ubuntu.com/notes//api/1.0/
[DEBUG]: Generated nonce is 1759030
[DEBUG]: Generated time stamp is 14522.12:19:26.6705620
[DEBUG]: Generating signature using HMAC-SHA1 algorithm.
[DEBUG]: Generating signature using signature type HMACSHA1
[DEBUG]: Generating signature base for OAuth request.
[DEBUG]: URL: 
[DEBUG]: Creating list of parameters from parameter string 
[DEBUG]: Normalizing URL for signature.
[DEBUG]: Generated normalized URL: https://one.ubuntu.com/notes/api/1.0/
[DEBUG]: Normalizing request parameters.
[DEBUG]: Normalized request parameters 
oauth_consumer_key=anyone&oauth_nonce=1759030&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1254745166&oauth_token=7zPDCF8L7BHrtRRVBH6l&oauth_version=1.0.
[DEBUG]: Generating signature base from normalized URL and request parameters.
[DEBUG]: URL encoding value.
[DEBUG]: URL encoding value.
[DEBUG]: Signature base: 
GET&https%3A%2F%2Fone.ubuntu.com%2Fnotes%2Fapi%2F1.0%2F&oauth_consumer_key%3Danyone%26oauth_nonce%3D1759030%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1254745166%26oauth_token%3D7zPDCF8L7BHrtRRVBH6l%26oauth_version%3D1.0
[DEBUG]: URL encoding value.
[DEBUG]: URL encoding value.
[DEBUG]: Generating hashed signature.
[DEBUG]: Computing hash for data 
GET&https%3A%2F%2Fone.ubuntu.com%2Fnotes%2Fapi%2F1.0%2F&oauth_consumer_key%3Danyone%26oauth_nonce%3D1759030%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1254745166%26oauth_token%3D7zPDCF8L7BHrtRRVBH6l%26oauth_version%3D1.0
[DEBUG]: HMAC-SHA1 encoded signature 1kcwchPgmpSTD5sJ0RUmWkT6k7Q= of consumer 
secret and token secret.
[DEBUG]: Generated signature 1kcwchPgmpSTD5sJ0RUmWkT6k7Q=
[DEBUG]: Post data: 
[DEBUG]: Generated auth header params string: 
oauth_consumer_key="anyone",oauth_nonce="1759030",oauth_signature="1kcwchPgmpSTD5sJ0RUmWkT6k7Q%3d",oauth_signature_method="HMAC-SHA1",oauth_timestamp="1254745166",oauth_token="7zPDCF8L7BHrtRRVBH6l",oauth_version="1.0"
[DEBUG]: Made web request, got response: {"oauth_access_token_url": 
"https:\/\/one.ubuntu.com\/oauth\/access\/", "user-ref": {"href": 
"https:\/\/one.ubuntu.com\/notes\/", "api-ref": 
"https:\/\/one.ubuntu.com\/notes\/api\/1.0\/user\/"}, "oauth_authorize_url": 
"https:\/\/one.ubuntu.com\/oauth\/authorize\/", "oauth_request_token_url": 
"https:\/\/one.ubuntu.com\/oauth\/request\/", "api-version": "1.0"}
[DEBUG]: Returned value from web request: {"oauth_access_token_url": 
"https:\/\/one.ubuntu.com\/oauth\/access\/", "user-ref": {"href": 
"https:\/\/one.ubuntu.com\/notes\/", "api-ref": 
"https:\/\/one.ubuntu.com\/notes\/api\/1.0\/user\/"}, "oauth_authorize_url": 
"https:\/\/one.ubuntu.com\/oauth\/authorize\/", "oauth_request_token_url": 
"https:\/\/one.ubuntu.com\/oauth\/request\/", "api-version": "1.0"}
[DEBUG]: Generating nonce.
[DEBUG]: Generating time stamp.
[DEBUG]: Building web request for URL: 
https://one.ubuntu.com/notes/api/1.0/user/
[DEBUG]: Generated nonce is 1425154
[DEBUG]: Generated time stamp is 14522.12:19:26.8181880
[DEBUG]: Generating signature using HMAC-SHA1 algorithm.
[DEBUG]: Generating signature using signature type HMACSHA1
[DEBUG]: Generating signature base for OAuth request.
[DEBUG]: URL: 
[DEBUG]: Creating list of parameters from parameter string 
[DEBUG]: Normalizing URL for signature.
[DEBUG]: Generated normalized URL: https://one.ubuntu.com/notes/api/1.0/user/
[DEBUG]: Normalizing request parameters.
[DEBUG]: Normalized request parameters 
oauth_consumer_key=anyone&oauth_nonce=1425154&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1254745166&oauth_token=7zPDCF8L7BHrtRRVBH6l&oauth_version=1.0.
[DEBUG]: Generating signature base from normalized URL and request parameters.
[DEBUG]: URL encoding value.
[DEBUG]: URL encoding value.
[DEBUG]: Signature base: 
GET&https%3A%2F%2Fone.ubuntu.com%2Fnotes%2Fapi%2F1.0%2Fuser%2F&oauth_consumer_key%3Danyone%26oauth_nonce%3D1425154%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1254745166%26oauth_token%3D7zPDCF8L7BHrtRRVBH6l%26oauth_version%3D1.0
[DEBUG]: URL encoding value.
[DEBUG]: URL encoding value.
[DEBUG]: Generating hashed signature.
[DEBUG]: Computing hash for data 
GET&https%3A%2F%2Fone.ubuntu.com%2Fnotes%2Fapi%2F1.0%2Fuser%2F&oauth_consumer_key%3Danyone%26oauth_nonce%3D1425154%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1254745166%26oauth_token%3D7zPDCF8L7BHrtRRVBH6l%26oauth_version%3D1.0
[DEBUG]: HMAC-SHA1 encoded signature un992wNmS87C/XDAH82TWIr6zos= of consumer 
secret and token secret.
[DEBUG]: Generated signature un992wNmS87C/XDAH82TWIr6zos=
[DEBUG]: Post data: 
[DEBUG]: Generated auth header params string: 
oauth_consumer_key="anyone",oauth_nonce="1425154",oauth_signature="un992wNmS87C%2fXDAH82TWIr6zos%3d",oauth_signature_method="HMAC-SHA1",oauth_timestamp="1254745166",oauth_token="7zPDCF8L7BHrtRRVBH6l",oauth_version="1.0"
[DEBUG]: Made web request, got response: {"user-name": 
"https:\/\/login.launchpad.net\/+id\/LEHE4PK", "last-name": "Elliot Murphy", 
"notes-ref": {"href": "https:\/\/one.ubuntu.com\/notes\/", "api-ref": 
"https:\/\/one.ubuntu.com\/notes\/api\/1.0\/op\/"}, "current-sync-guid": "0", 
"first-name": "Elliot Murphy", "latest-sync-revision": -1}
[DEBUG]: Returned value from web request: {"user-name": 
"https:\/\/login.launchpad.net\/+id\/LEHE4PK", "last-name": "Elliot Murphy", 
"notes-ref": {"href": "https:\/\/one.ubuntu.com\/notes\/", "api-ref": 
"https:\/\/one.ubuntu.com\/notes\/api\/1.0\/op\/"}, "current-sync-guid": "0", 
"first-name": "Elliot Murphy", "latest-sync-revision": -1}
[DEBUG]: 8
[DEBUG]: Sync: GetNoteUpdatesSince rev -1
[DEBUG]: Generating nonce.
[DEBUG]: Generating time stamp.
[DEBUG]: Building web request for URL: 
https://one.ubuntu.com/notes/api/1.0/op/?include_notes=true
[DEBUG]: Generated nonce is 7674852
[DEBUG]: Generated time stamp is 14522.12:19:27.0730700
[DEBUG]: Generating signature using HMAC-SHA1 algorithm.
[DEBUG]: Generating signature using signature type HMACSHA1
[DEBUG]: Generating signature base for OAuth request.
[DEBUG]: URL: ?include_notes=true
[DEBUG]: Creating list of parameters from parameter string ?include_notes=true
[DEBUG]: Normalizing URL for signature.
[DEBUG]: Generated normalized URL: https://one.ubuntu.com/notes/api/1.0/op/
[DEBUG]: Normalizing request parameters.
[DEBUG]: Normalized request parameters 
include_notes=true&oauth_consumer_key=anyone&oauth_nonce=7674852&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1254745167&oauth_token=7zPDCF8L7BHrtRRVBH6l&oauth_version=1.0.
[DEBUG]: Generating signature base from normalized URL and request parameters.
[DEBUG]: URL encoding value.
[DEBUG]: URL encoding value.
[DEBUG]: Signature base: 
GET&https%3A%2F%2Fone.ubuntu.com%2Fnotes%2Fapi%2F1.0%2Fop%2F&include_notes%3Dtrue%26oauth_consumer_key%3Danyone%26oauth_nonce%3D7674852%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1254745167%26oauth_token%3D7zPDCF8L7BHrtRRVBH6l%26oauth_version%3D1.0
[DEBUG]: URL encoding value.
[DEBUG]: URL encoding value.
[DEBUG]: Generating hashed signature.
[DEBUG]: Computing hash for data 
GET&https%3A%2F%2Fone.ubuntu.com%2Fnotes%2Fapi%2F1.0%2Fop%2F&include_notes%3Dtrue%26oauth_consumer_key%3Danyone%26oauth_nonce%3D7674852%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1254745167%26oauth_token%3D7zPDCF8L7BHrtRRVBH6l%26oauth_version%3D1.0
[DEBUG]: HMAC-SHA1 encoded signature jbOySJTFAULA2qYNLm5TpV1+kxI= of consumer 
secret and token secret.
[DEBUG]: Generated signature jbOySJTFAULA2qYNLm5TpV1+kxI=
[DEBUG]: Post data: 
[DEBUG]: Generated auth header params string: 
include_notes="true",oauth_consumer_key="anyone",oauth_nonce="7674852",oauth_signature="jbOySJTFAULA2qYNLm5TpV1%2bkxI%3d",oauth_signature_method="HMAC-SHA1",oauth_timestamp="1254745167",oauth_token="7zPDCF8L7BHrtRRVBH6l",oauth_version="1.0"
[DEBUG]: Made web request, got response: {"notes": [{"note-content": "adfsadf", 
"title": "fasdf", "create-date": "2009-09-11T13:19:16", "last-sync-revision": 
-1, "note-content-version": "1.0", "last-change-date": "2009-09-11T13:19:16", 
"guid": "a55b6477e7f9a1f6b9d45949269741ad", "ref": {"href": 
"https:\/\/one.ubuntu.com\/notes\/edit\/a55b6477e7f9a1f6b9d45949269741ad", 
"api-ref": 
"https:\/\/one.ubuntu.com\/notes\/api\/1.0\/op\/a55b6477e7f9a1f6b9d45949269741ad"}},
 {"note-content": "this is a manually created note.", "title": "manual note", 
"last-sync-revision": -1, "note-content-version": "1.0", "guid": 
"e5762b18a1e95d193f20182cfa51ffdf", "ref": {"href": 
"https:\/\/one.ubuntu.com\/notes\/edit\/e5762b18a1e95d193f20182cfa51ffdf", 
"api-ref": 
"https:\/\/one.ubuntu.com\/notes\/api\/1.0\/op\/e5762b18a1e95d193f20182cfa51ffdf"}}],
 "latest-sync-revision": -1}
[DEBUG]: Returned value from web request: {"notes": [{"note-content": 
"adfsadf", "title": "fasdf", "create-date": "2009-09-11T13:19:16", 
"last-sync-revision": -1, "note-content-version": "1.0", "last-change-date": 
"2009-09-11T13:19:16", "guid": "a55b6477e7f9a1f6b9d45949269741ad", "ref": 
{"href": 
"https:\/\/one.ubuntu.com\/notes\/edit\/a55b6477e7f9a1f6b9d45949269741ad", 
"api-ref": 
"https:\/\/one.ubuntu.com\/notes\/api\/1.0\/op\/a55b6477e7f9a1f6b9d45949269741ad"}},
 {"note-content": "this is a manually created note.", "title": "manual note", 
"last-sync-revision": -1, "note-content-version": "1.0", "guid": 
"e5762b18a1e95d193f20182cfa51ffdf", "ref": {"href": 
"https:\/\/one.ubuntu.com\/notes\/edit\/e5762b18a1e95d193f20182cfa51ffdf", 
"api-ref": 
"https:\/\/one.ubuntu.com\/notes\/api\/1.0\/op\/e5762b18a1e95d193f20182cfa51ffdf"}}],
 "latest-sync-revision": -1}
[ERROR]: Synchronization failed with the following exception: Cannot cast from 
source type to destination type.
  at Tomboy.WebSync.Api.NoteInfo.ParseJson (Hyena.Json.JsonObject jsonObj) 
[0x00000] 
  at Tomboy.WebSync.Api.UserInfo.ParseJsonNoteArray (Hyena.Json.JsonArray 
jsonArray) [0x00000] 
  at Tomboy.WebSync.Api.UserInfo.ParseJsonNotes (System.String jsonString, 
System.Nullable`1& latestSyncRevision) [0x00000] 
  at Tomboy.WebSync.Api.UserInfo.GetNotes (Boolean includeContent, Int32 
sinceRevision, System.Nullable`1& latestSyncRevision) [0x00000] 
  at Tomboy.WebSync.WebSyncServer.GetNoteUpdatesSince (Int32 revision) 
[0x00000] 
  at Tomboy.Sync.SyncManager.SynchronizationThread () [0x00000] 


I am running tomboy version:

emur...@sunk:~$ apt-cache policy tomboy
tomboy:
  Installed: 1.0.0-0ubuntu2
  Candidate: 1.0.0-0ubuntu2
  Version table:
 *** 1.0.0-0ubuntu2 0
        500 http://ppa.launchpad.net karmic/main Packages
        100 /var/lib/dpkg/status
     1.0.0-0ubuntu1 0
        500 http://archive.ubuntu.com karmic/main Packages


** Changed in: tomboy (Ubuntu)
     Assignee: (unassigned) => Rodrigo Moya (rodrigo-moya)

** Changed in: ubuntuone-servers
       Status: New => In Progress

** Changed in: ubuntuone-servers
   Importance: Undecided => Critical

-- 
Tomboy Web synchronization fails to connect to Ubuntu One
https://bugs.launchpad.net/bugs/440862
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to