chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] New eggs: npdiff, format-textdiff


From: Daishi Kato
Subject: Re: [Chicken-users] New eggs: npdiff, format-textdiff
Date: Wed, 08 Dec 2010 16:12:22 +0900
User-agent: Wanderlust/2.14.0 (Africa) Emacs/21.4 Mule/5.0 (SAKAKI)

Hi Ivan,

Here'a another bug:
(totally unsure what's going on).

#;15> ((make-format-textdiff 'context) (current-output-port)(textdiff 
(with-input-from-string "\n\nAlthough there's basically no entry point,\nhere 
is some useful pointers.\n\n<ul>\n<li><a 
href=\"100share/filer/base/filer.html\">Filer (without login)</a></li>\n<li><a 
href=\"AUTH/100share/filer/base/filer.html\">Filer (with 
login)</a></li>\n<li><a 
href=\"100share/waitlesql/base/waitlesql_query.html\">WaitleSQL</a></li>\n</ul>\n\nHave
 fun!!!\n\n\n</body>\n</html>\n" read-lines) (with-input-from-string 
"\n\nAlthough there's basically no entry point,\nhere is some useful 
pointers.\n\n<ul>\n<li><a href=\"AUTH/100share/filer/base/filer.html\">Filer 
(with login)</a></li>\n<li><a href=\"100share/filer/base/filer.html\">Filer 
(without login)</a></li>\n</ul>\n\nHave fun!!!\n\n</body>\n</html>\n" 
read-lines) 3) "old" "NO DATE" "new" "NO DATE")
*** old NO DATE
--- new NO DATE

Error: (car) bad argument type: #f

        Call history:

        vector-lib#vectors-ref
        loop2+806
        vector-lib#vectors-ref
        loop2+806
        vector-lib#vectors-ref
        vector-lib#%smallest-length
        min
        loop248
        loop2+806
        vector-lib#vectors-ref          <--



Best,
Daishi

At Thu, 02 Dec 2010 15:48:05 +0900,
Ivan Raikov wrote:
> 
> 
> Hi Daishi,
> 
>  Thanks for all your feedback and testing of boundary cases :-) The
> problem below was actually caused by npdiff, which has been fixed, and I
> also uncovered some additional problems in format-textdiff, which also
> have been fixed. Please upgrade both npdiff and format-textdiff, and let
> me know if they work for you. Thanks,
> 
>   -Ivan
> 
> Daishi Kato <address@hidden> writes:
> 
> > Hi Ivan,
> >
> > I think this is a bug in textdiff,
> > since it could happen with the example shown in
> > http://wiki.call-cc.org/eggref/4/format-textdiff,
> > with empty files.
> >
> > #;2> (textdiff (with-input-from-string "" read-lines) 
> > (with-input-from-string "abc\n" read-lines) 3)
> >
> > Error: (vector-copy) vector index too high
> > (index 0)
> > (vector #())
> >
> >         Call history:
> >
> >         list->vector      
> >         list->vector      
> >         ##sys#call-with-values    
> >         vector-lib#check-index    
> >         values    
> >         make-vector       
> >         vector->list      
> >         ##sys#call-with-values    
> >         vector-lib#check-index    
> >         ##sys#error             <--
> >
> >
> > Can you easily fix this?
> >
> > Best,
> > Daishi
> >
> > At Thu, 25 Nov 2010 15:16:22 +0900,
> > Daishi Kato wrote:
> >> 
> >> Hi Ivan,
> >> 
> >> It works now.
> >> Thanks!
> >> 
> >> One very small request: "diff --unified" format.
> >> 
> >> Best,
> >> Daishi
> >> 
> >> At Fri, 19 Nov 2010 13:42:20 +0900,
> >> Ivan Raikov wrote:
> >> > 
> >> > 
> >> > Hello,
> >> > 
> >> >   Thanks for trying to use format-textdiff. The problem below was
> >> > actually caused by a bug in npdiff, which has been fixed in npdiff
> >> > release 1.13. Please update your copy of npdiff and try again. Let me
> >> > know if you encounter  any other issues with those eggs.
> >> > 
> >> >   -Ivan
> >> > 
> >> > Daishi Kato <address@hidden> writes:
> >> > 
> >> > > Hi all,
> >> > >
> >> > > Anybody using format-textdiff?
> >> > >
> >> > > I encountered the following problem:
> >> > > CHICKEN
> >> > > (c)2008-2010 The Chicken Team
> >> > > (c)2000-2007 Felix L. Winkelmann
> >> > > Version 4.6.1
> >> > > linux-unix-gnu-x86 [ manyargs dload ptables ]
> >> > > compiled 2010-09-25 on lobule (Linux)
> >> > >
> >> > > #;1> (use format-textdiff)
> >> > > #;2> (textdiff (with-input-from-string "abc\n" read-lines) 
> >> > > (with-input-from-string "def\n" read-lines))
> >> > >
> >> > > Error: bad argument count - received 4 but expected 6: #<procedure>
> >> > >
> >> > >         Call history:
> >> > >
> >> > >         ##sys#call-with-values
> >> > >         vector-lib#check-index
> >> > >         values
> >> > >         make-vector
> >> > >         vector->list
> >> > >         ##sys#call-with-values
> >> > >         vector-lib#check-index
> >> > >         values
> >> > >         make-vector
> >> > >         vector->list            <--
> >> > 
> >> > ******************************
> >> >  XREA.COM -Free Web Hosting-
> >> >  http://www.xrea.com/
> >> > ******************************



reply via email to

[Prev in Thread] Current Thread [Next in Thread]