From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/80532 Path: news.gmane.org!not-for-mail From: Steinar Bang Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-sync.el v2 Date: Sat, 05 Nov 2011 20:59:15 +0100 Organization: Probably a good idea Message-ID: <87pqh649yk.fsf@dod.no> References: <87mxcv3fu2.fsf@lifelogs.com> <87sjmhghw9.fsf@lifelogs.com> <871uu1uh4e.fsf@dod.no> <874nyxm043.fsf@lifelogs.com> <87pqhicp6m.fsf@lifelogs.com> <87wrbqb4u8.fsf@lifelogs.com> <87lirw7w1d.fsf@dod.no> <8739e4q3uo.fsf@lifelogs.com> <87fwi47ryn.fsf@dod.no> <87obwsnkqv.fsf@lifelogs.com> <877h3f7gqk.fsf@dod.no> <87r51nmvr5.fsf@lifelogs.com> <87zkgb57kt.fsf@dod.no> <87mxcanbcv.fsf@lifelogs.com> <87vcqy6e59.fsf@dod.no> <87fwi2n2pt.fsf@lifelogs.com> <87mxca5uip.fsf@dod.no> <871utm5ree.fsf@dod.no> <87ty6i4c8u.fsf@dod.no> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1320523225 4964 80.91.229.12 (5 Nov 2011 20:00:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 5 Nov 2011 20:00:25 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M28815@lists.math.uh.edu Sat Nov 05 21:00:20 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RMmPX-0001Vn-2v for ding-account@gmane.org; Sat, 05 Nov 2011 21:00:15 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1RMmP0-000249-Qs; Sat, 05 Nov 2011 14:59:42 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1RMmOz-00023y-Kb for ding@lists.math.uh.edu; Sat, 05 Nov 2011 14:59:41 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1RMmOp-0006NW-7R for ding@lists.math.uh.edu; Sat, 05 Nov 2011 14:59:41 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1RMmOm-0005Sq-D0 for ding@gnus.org; Sat, 05 Nov 2011 20:59:28 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RMmOm-00014v-7b for ding@gnus.org; Sat, 05 Nov 2011 20:59:28 +0100 Original-Received: from cm-84.208.231.161.getinternet.no ([84.208.231.161]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 05 Nov 2011 20:59:28 +0100 Original-Received: from sb by cm-84.208.231.161.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 05 Nov 2011 20:59:28 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 34 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.208.231.161.getinternet.no Mail-Copies-To: never User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:mMCKSOm7pxQYnre7rJNwWkC4w4M= X-Spam-Score: -6.1 (------) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:80532 Archived-At: >>>>> Steinar Bang : >>>>> Steinar Bang : >>>>> Steinar Bang : >>> I can do better than that. I can send you the wireshark dump of the >>> HTTP session. >> Looking at that wireshark dump myself: it does look like the " quotes >> are in place where they should be. >> Is there a JSON syntax checker somewhere I wonder...? > I found this one: http://jsonlint.com/ > It reports: Valid JSON It could be a truncation issue. If I look at the /var/log/coucdb/couchdb file on the server, it contains a log line that start with [Sat, 05 Nov 2011 10:23:14 GMT] [error] [<0.16092.23>] attempted upload of invalid JSON {"docs":[{"_id":... The JSON in the log line ends abruptly. If I dump all of the JSON in the log line to a file, I get a file of size 154991bytes, while the POSTed file, as extracted from the wireshark dump, is 155005 bytes. With 155k I probably don't hit any hard limits on couchdb doc size (I haven't checkd what they are, though). Could it be an error in the HTTP header...? The header says Content-length: 154991 I guess that explains the cutoff, but I have no idea why the count is wrong.