unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Mark Harig <idirectscm@aim.com>
To: bug-guile@gnu.org
Cc: spk121@yahoo.com
Subject: Re: [bug #32243] guile-tools errors if PROGRAM can't be found
Date: Thu, 03 Feb 2011 16:21:01 -0500	[thread overview]
Message-ID: <8CD91FF61B460CE-2564-1F197@webmail-m030.sysops.aol.com> (raw)
In-Reply-To: <20110202-193648.sv20118.17161@savannah.gnu.org>

> Follow-up Comment #1:                                                 

>                                                                       

> Fixed in git; thanks for the reminder.

Are the problems described below repaired by the latest fix, also?

[~]$ guile-tools -v
guile-tools (GNU Guile 1.9.15) 2.0
Copyright (C) 2010 Free Software Foundation, Inc.
License LGPLv3+: GNU LGPL version 3 or later 
<http://gnu.org/licenses/lgpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.


[~]$ guile-tools doc-snarf -l
Backtrace:
In ice-9/boot-9.scm:
 170: 9 [catch #t #<catch-closure 11d40a0> ...]
In unknown file:
   ?: 8 [catch-closure]
In ice-9/boot-9.scm:
  62: 7 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 389: 6 [eval # #]
In /usr/local/bin/guile-tools:
 189: 5 [main ("/usr/local/bin/guile-tools" "doc-snarf" "-l")]
In scripts/doc-snarf.scm:
  99: 4 [doc-snarf "-l"]
In ice-9/getopt-long.scm:
  387: 3 [getopt-long ("doc-snarf" "-l") ((version # #) (help # #) 
(output # #) ...)]
In unknown file:
   ?: 2 [scm-error misc-error #f ...]
In ice-9/boot-9.scm:
  115: 1 [#<procedure 1191910 at ice-9/boot-9.scm:110:6 (thrown-k . 
args)> misc-error ...]
In unknown file:
   ?: 0 [catch-closure misc-error #f ...]

[~]$ guile-tools doc-snarf -v
doc-snarf Backtrace:
In ice-9/boot-9.scm:
 170: 7 [catch #t #<catch-closure 10e50a0> ...]
In unknown file:
   ?: 6 [catch-closure]
In ice-9/boot-9.scm:
  62: 5 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 389: 4 [eval # #]
In /usr/local/bin/guile-tools:
 189: 3 [main ("/usr/local/bin/guile-tools" "doc-snarf" "-v")]
In scripts/doc-snarf.scm:
  83: 2 [display-version]
In ice-9/boot-9.scm:
  115: 1 [#<procedure 10a2910 at ice-9/boot-9.scm:110:6 (thrown-k . 
args)> unbound-variable ...]
In unknown file:
   ?: 0 [catch-closure unbound-variable "module-lookup" ...]


[~]$ guile-tools doc-snarf --he
Backtrace:
In ice-9/boot-9.scm:
 170: 10 [catch #t #<catch-closure b8c0a0> ...]
In unknown file:
   ?: 9 [catch-closure]
In ice-9/boot-9.scm:
  62: 8 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 389: 7 [eval # #]
In /usr/local/bin/guile-tools:
 189: 6 [main ("/usr/local/bin/guile-tools" "doc-snarf" "--he")]
In scripts/doc-snarf.scm:
  99: 5 [doc-snarf "--he"]
In ice-9/getopt-long.scm:
 387: 4 [getopt-long ("doc-snarf" "--he") (# # # # ...)]
 335: 3 [process-options (# # # # ...) ("--he")]
In unknown file:
   ?: 2 [scm-error misc-error #f "~A ~S" ("no such option:" "he") #f]
In ice-9/boot-9.scm:
  115: 1 [#<procedure b49910 at ice-9/boot-9.scm:110:6 (thrown-k . 
args)> misc-error ...]
In unknown file:
    ?: 0 [catch-closure misc-error #f "~A ~S" ("no such option:" "he") 
#f]

ERROR: In procedure catch-closure:
ERROR: no such option: "he"

[~]$ guile-tools lint -h
Backtrace:
In ice-9/boot-9.scm:
 170: 10 [catch #t #<catch-closure 26040a0> ...]
In unknown file:
   ?: 9 [catch-closure]
In ice-9/boot-9.scm:
  62: 8 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 389: 7 [eval # #]
In /usr/local/bin/guile-tools:
 189: 6 [main ("/usr/local/bin/guile-tools" "lint" "-h")]
In unknown file:
   ?: 5 [for-each #<procedure lint (filename)> ("-h")]
In scripts/lint.scm:
 109: 4 [lint "-h"]
In ice-9/r4rs.scm:
 190: 3 [with-input-from-file "-h" ...]
In unknown file:
   ?: 2 [open-file "-h" "r"]
In ice-9/boot-9.scm:
  115: 1 [#<procedure 25c1910 at ice-9/boot-9.scm:110:6 (thrown-k . 
args)> system-error ...]
In unknown file:
   ?: 0 [catch-closure system-error "open-file" ...]

ERROR: In procedure open-file:
ERROR: No such file or directory: "-h"


[~]$ guile-tools scan-api
Backtrace:
In ice-9/boot-9.scm:
 170: 8 [catch #t #<catch-closure 1bbe0a0> ...]
In unknown file:
   ?: 7 [catch-closure]
In ice-9/boot-9.scm:
  62: 6 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 389: 5 [eval # #]
In /usr/local/bin/guile-tools:
 189: 4 [main ("/usr/local/bin/guile-tools" "scan-api")]
In scripts/scan-api.scm:
 160: 3 [scan-api]
In unknown file:
   ?: 2 [list-ref () {0}]
In ice-9/boot-9.scm:
  115: 1 [#<procedure 1b7b910 at ice-9/boot-9.scm:110:6 (thrown-k . 
args)> out-of-range ...]
In unknown file:
   ?: {0} [catch-closure out-of-range "list-ref" ...]

ERROR: In procedure list-ref:
ERROR: Argument 2 out of range: 0



  reply	other threads:[~2011-02-03 21:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-25 13:25 [bug #32243] guile-tools errors if PROGRAM can't be found Mike Gran
2011-01-27 10:25 ` Andy Wingo
2011-02-02 19:36 ` Andy Wingo
2011-02-03 21:21   ` Mark Harig [this message]
2011-02-10 11:19     ` Andy Wingo
2011-02-03 22:25   ` Mark Harig

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8CD91FF61B460CE-2564-1F197@webmail-m030.sysops.aol.com \
    --to=idirectscm@aim.com \
    --cc=bug-guile@gnu.org \
    --cc=spk121@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).