From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/80663 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-sync-save fails with "wrong-type-argument number-or-marker-p" Date: Sat, 10 Dec 2011 06:07:17 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <8762hon0re.fsf@lifelogs.com> References: <87bos21un6.fsf@dod.no> <87y5v6zisl.fsf@dod.no> <87vcpt1jsq.fsf@dod.no> <87aa73p17i.fsf@lifelogs.com> <87aa72lw5p.fsf@dod.no> Reply-To: ding@gnus.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1323515279 2336 80.91.229.12 (10 Dec 2011 11:07:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 10 Dec 2011 11:07:59 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M28945@lists.math.uh.edu Sat Dec 10 12:07:55 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 1RZKmZ-0007hg-2Q for ding-account@gmane.org; Sat, 10 Dec 2011 12:07:55 +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 1RZKmH-0003wH-Vp; Sat, 10 Dec 2011 05:07:38 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1RZKmG-0003w3-8d for ding@lists.math.uh.edu; Sat, 10 Dec 2011 05:07:36 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1RZKmE-0001cX-QD for ding@lists.math.uh.edu; Sat, 10 Dec 2011 05:07:35 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1RZKmB-0004U4-UI for ding@gnus.org; Sat, 10 Dec 2011 12:07:31 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RZKmA-0007bw-O0 for ding@gnus.org; Sat, 10 Dec 2011 12:07:30 +0100 Original-Received: from c-76-28-40-19.hsd1.vt.comcast.net ([76.28.40.19]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 10 Dec 2011 12:07:30 +0100 Original-Received: from tzz by c-76-28-40-19.hsd1.vt.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 10 Dec 2011 12:07:30 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 49 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: c-76-28-40-19.hsd1.vt.comcast.net User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux) X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Copies-To: never Cancel-Lock: sha1:vIqoPhs61ugNO3CT5JOMZNKjP60= X-Spam-Score: -6.1 (------) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:80663 Archived-At: On Thu, 08 Dec 2011 20:07:30 +0100 Steinar Bang wrote: >>>>>> Ted Zlatanov : >> I'm at a conference so I can't do the code fix properly, but I think >> if you try the attached patch it will fix the issue. SB> Unfortunately it didn't. I still get SB> Wrong type argument: number-or-marker-p, "8-54ce40d61d4b92eda3bffb29c6e0b1c6" SB> on `gnus-sync-save'. SB> Here's what I did: SB> 1. Save the attachment to /tmp/sync-junk.patch SB> 2. Apply the patch: #+begin_src sh cd git/gnus git apply /tmp/sync-junk.patch #+end_src SB> 3. Rebuild gnus: #+begin_src sh (cd ~/git/gnus; make clean; make; cd lisp; make tags) #+end_src SB> 4. Start a new Emacs with a new Gnus SB> 5. Run `gnus-sync-read', followed by `g' SB> 6. Visit a gmane group to make things dirty SB> 7. Run `gnus-sync-save'. and the issue occurs: #+begin_example Wrong type argument: number-or-marker-p, "8-54ce40d61d4b92eda3bffb29c6e0b1c6" #+end_example The stack trace you sent me was not complete (because of the default Emacs behavior, which in this case doesn't help), I need to know your data and the full invocation. Do (setq print-level nil print-length nil) and then redo that error and send me the full backtrace (it will have all your sync data, I think). It seems like gnus-sync.el has allowed some CouchDB parameters to creep into the newsrc, which is causing your problem. A quick fix, after you've prepped the backtrace, is to exit Gnus, back up and then edit your newsrc.eld to remove the paired cons list that matches the error string above. It will probably look like (deleted_conflicts "8-54ce40d61d4b92eda3bffb29c6e0b1c6") I'll try to get this resolved with you quickly but until Tuesday next week I'll be travelling; I apologize in advance for the slow responses. Thanks Ted