View difference between Paste ID: Ruw14mi3 and 7Ddhssrf
SHOW: | | - or go back to the newest paste.
1
03-09 16:17:03.169: V/SnowySyncService(6047): contacting http://192.168.1.4:8080/api/1.0/isabel
2
03-09 16:17:03.229: I/WebConnection(6047): Response status : HTTP/1.1 200 OK
3
03-09 16:17:03.229: I/WebConnection(6047): Received : {"user-name":"isabel","first-name":"Not","last-name":"Important","notes-ref":{"api-ref":"http://192.168.1.4:8080//api/1.0/isabel/notes","href":"http://192.168.1.4:8080//api/1.0/isabel/notes"},"latest-sync-revision":2,"current-sync-guid":"9843028c-469f-4e86-8b88-2448aa37c09b"}
4
03-09 16:17:03.229: V/SyncService(6047): sync progress: 30
5
03-09 16:17:03.289: I/WebConnection(6047): Response status : HTTP/1.1 200 OK
6
03-09 16:17:03.289: I/WebConnection(6047): Received : {"latest-sync-revision":2,"notes":[]}
7
03-09 16:17:03.289: V/SyncService(6047): sync progress: 35
8
03-09 16:17:03.299: D/SnowySyncService(6047): old latest sync revision: -1, remote latest sync revision: 2
9
03-09 16:17:03.319: V/SnowySyncService(6047): contacting http://192.168.1.4:8080//api/1.0/isabel/notes
10
03-09 16:17:03.359: D/dalvikvm(6047): GC_CONCURRENT freed 814K, 40% free 8288K/13616K, paused 4ms+6ms, total 68ms
11
03-09 16:17:03.439: I/WebConnection(6047): Response status : HTTP/1.1 200 OK
12
03-09 16:17:03.439: I/WebConnection(6047): Received : {"latest-sync-revision":2,"notes":[]}
13
03-09 16:17:03.439: V/SyncService(6047): sync progress: 50
14
03-09 16:17:03.439: V/SnowySyncService(6047): number of notes: 0
15
03-09 16:17:03.469: D/SyncService(6047): Notes to pull: 0, Notes to push: 2, Notes to delete: 0, Notes to compare: 0
16
03-09 16:17:03.469: V/SyncService(6047): sync progress: 70
17
03-09 16:17:03.489: V/SyncService(6047): sync progress: 90
18
03-09 16:17:03.489: V/SnowySyncService(6047): pushing 2 notes to remote service, sending rev #3
19
03-09 16:17:03.609: I/WebConnection(6047): Response status : HTTP/1.1 200 OK
20
03-09 16:17:03.619: I/WebConnection(6047): Received : {"user-name":"isabel","first-name":"Not","last-name":"Important","notes-ref":{"api-ref":"http://192.168.1.4:8080//api/1.0/isabel/notes","href":"http://192.168.1.4:8080//api/1.0/isabel/notes"},"latest-sync-revision":2,"current-sync-guid":"9843028c-469f-4e86-8b88-2448aa37c09b"}
21
03-09 16:17:03.619: V/SnowySyncService(6047): creating JSON
22
03-09 16:17:03.629: V/SnowySyncService(6047): put url: http://192.168.1.4:8080//api/1.0/isabel/notes
23
03-09 16:17:03.629: V/SnowySyncService(6047): pushing data to remote service: {"latest-sync-revision":3,"note-changes":[{"guid":"026ab12c-5106-4457-b82f-1304a2e16df2","last-metadata-change-date":"2013-03-09T15:56:31.0000000+01:00","title":"Jango 2","note-content-version":"0.1","last-change-date":"2013-03-09T15:56:31.0000000+01:00","note-content":"Test","create-date":"2000-01-01T00:00:00.0000000+01:00"},{"guid":"cbb2f3bd-e1b8-4378-bf4e-b769f70c2a8c","last-metadata-change-date":"2013-03-09T15:54:29.0000000+01:00","title":"Jango New","note-content-version":"0.1","last-change-date":"2013-03-09T15:54:29.0000000+01:00","note-content":"New note Form jango","create-date":"2000-01-01T00:00:00.0000000+01:00"}]}
24
03-09 16:17:03.679: I/WebConnection(6047): Response status : HTTP/1.1 500 SqliteException
25
03-09 16:17:03.689: I/WebConnection(6047): Received : {"ResponseStatus":{"ErrorCode":"SqliteException","Message":"Abort due to constraint violation\r\ncolumn Guid is not unique","Errors":[]}}
26
03-09 16:17:03.689: V/SnowySyncService(6047): put response: {"ResponseStatus":{"Errors":[],"ErrorCode":"SqliteException","Message":"Abort due to constraint violation\r\ncolumn Guid is not unique"}}
27
03-09 16:17:03.689: E/SnowySyncService(6047): Problem parsing the server response
28
03-09 16:17:03.689: E/SnowySyncService(6047): org.json.JSONException: No value for latest-sync-revision
29
03-09 16:17:03.689: E/SnowySyncService(6047): 	at org.json.JSONObject.get(JSONObject.java:354)
30
03-09 16:17:03.689: E/SnowySyncService(6047): 	at org.json.JSONObject.getLong(JSONObject.java:477)
31
03-09 16:17:03.689: E/SnowySyncService(6047): 	at org.tomdroid.sync.web.SnowySyncService$4.run(SnowySyncService.java:404)
32
03-09 16:17:03.689: E/SnowySyncService(6047): 	at org.tomdroid.sync.SyncService$1.run(SyncService.java:169)
33
03-09 16:17:03.689: E/SnowySyncService(6047): 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
34
03-09 16:17:03.689: E/SnowySyncService(6047): 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
35-
03-09 16:17:03.689: E/SnowySyncService(6047): 	at java.lang.Thread.run(Thread.java:856)
35+
03-09 16:17:03.689: E/SnowySyncService(6047): 	at java.lang.Thread.run(Thread.java:856)
36
37
38
39
40
41
42
43
44
--------------------------------------------------
45
46
47
1716342 [DEBUG] Rainy.WebService.ResponseLogFilterAttribute->ResponseFilter - Sending response:
48
{
49
	user-name: isabel,
50
	first-name: Not,
51
	last-name: Important,
52
	notes-ref: 
53
	{
54
		api-ref: "http://192.168.1.4:8080//api/1.0/isabel/notes",
55
		href: "http://192.168.1.4:8080//api/1.0/isabel/notes"
56
	},
57
	latest-sync-revision: 2,
58
	current-sync-guid: 9843028c-469f-4e86-8b88-2448aa37c09b
59
}
60
1716380 [DEBUG] Rainy.WebService.RequestLogFilterAttribute->RequestFilter - Received request at: //api/1.0/isabel/notes
61
Data received:
62
{
63
	Username: isabel,
64
	latest-sync-revision: 3,
65
	note-changes: 
66
	[
67
		{
68
			title: Jango 2,
69
			note-content: Test,
70
			note-content-version: 0.3,
71
			guid: 026ab12c-5106-4457-b82f-1304a2e16df2,
72
			create-date: "2000-01-01T00:00:00.0000000+01:00",
73
			last-change-date: "2013-03-09T15:56:31.0000000+01:00",
74
			last-metadata-change-date: "2013-03-09T15:56:31.0000000+01:00",
75
			last-sync-revision: 0,
76
			tags: [],
77
			open-on-startup: False,
78
			pinned: False
79
		},
80
		{
81
			title: Jango New,
82
			note-content: New note Form jango,
83
			note-content-version: 0.3,
84
			guid: cbb2f3bd-e1b8-4378-bf4e-b769f70c2a8c,
85
			create-date: "2000-01-01T00:00:00.0000000+01:00",
86
			last-change-date: "2013-03-09T15:54:29.0000000+01:00",
87
			last-metadata-change-date: "2013-03-09T15:54:29.0000000+01:00",
88
			last-sync-revision: 0,
89
			tags: [],
90
			open-on-startup: False,
91
			pinned: False
92
		}
93
	]
94
}
95
1716381 [DEBUG] Rainy.WebService.OAuth.OAuthRequiredAttribute->RequestFilter - trying to acquire authorization
96
1716381 [DEBUG] Rainy.WebService.OAuth.OAuthRequiredAttribute->RequestFilter - Received headers:[
97
	Content-Type,
98
	Authorization,
99
	Content-Length,
100
	Host,
101
	Connection,
102
	User-Agent
103
]
104
1716409 [DEBUG] Rainy.WebService.OAuth.OAuthRequiredAttribute->RequestFilter - authorization granted for user isabel
105
1716411 [DEBUG] Rainy.WebService.NotesService->Put - client sent LatestSyncRevision: 3
106
1716420 [DEBUG] Rainy.WebService.NotesService->Put - CAUGHT EXCEPTION: Abort due to constraint violation
107
column Guid is not unique   at Mono.Data.Sqlite.SQLite3.Reset (Mono.Data.Sqlite.SqliteStatement stmt) [0x00000] in <filename unknown>:0 
108
  at Mono.Data.Sqlite.SQLite3.Step (Mono.Data.Sqlite.SqliteStatement stmt) [0x00000] in <filename unknown>:0 
109
  at Mono.Data.Sqlite.SqliteDataReader.NextResult () [0x00000] in <filename unknown>:0 
110
  at Mono.Data.Sqlite.SqliteDataReader..ctor (Mono.Data.Sqlite.SqliteCommand cmd, CommandBehavior behave) [0x00000] in <filename unknown>:0 
111
  at (wrapper remoting-invoke-with-check) Mono.Data.Sqlite.SqliteDataReader:.ctor (Mono.Data.Sqlite.SqliteCommand,System.Data.CommandBehavior)
112
  at Mono.Data.Sqlite.SqliteCommand.ExecuteReader (CommandBehavior behavior) [0x00000] in <filename unknown>:0 
113
  at Mono.Data.Sqlite.SqliteCommand.ExecuteNonQuery () [0x00000] in <filename unknown>:0 
114
  at ServiceStack.OrmLite.OrmLiteWriteExtensions.ExecuteSql (IDbCommand dbCmd, System.String sql) [0x00000] in <filename unknown>:0 
115
  at ServiceStack.OrmLite.OrmLiteWriteExtensions.Insert[DBNote] (IDbCommand dbCmd, Rainy.Db.DBNote[] objs) [0x00000] in <filename unknown>:0 
116
  at ServiceStack.OrmLite.OrmLiteWriteConnectionExtensions+<>c__DisplayClass42`1[Rainy.Db.DBNote].<Insert>b__41 (IDbCommand dbCmd) [0x00000] in <filename unknown>:0 
117
  at ServiceStack.OrmLite.ReadConnectionExtensions.Exec (IDbConnection dbConn, System.Action`1 filter) [0x00000] in <filename unknown>:0 
118
  at ServiceStack.OrmLite.OrmLiteWriteConnectionExtensions.Insert[DBNote] (IDbConnection dbConn, Rainy.Db.DBNote[] objs) [0x00000] in <filename unknown>:0 
119
  at Rainy.Db.DbStorage.SaveNote (Tomboy.Note note) [0x00000] in <filename unknown>:0 
120
  at Tomboy.Engine.SaveNote (Tomboy.Note note, Boolean update_dates) [0x00000] in <filename unknown>:0 
121
  at Rainy.WebService.NotesService.Put (Rainy.WebService.PutNotesRequest request) [0x00000] in <filename unknown>:0