unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* [bug #32243] guile-tools errors if PROGRAM can't be found
@ 2011-01-25 13:25 Mike Gran
  2011-01-27 10:25 ` Andy Wingo
  2011-02-02 19:36 ` Andy Wingo
  0 siblings, 2 replies; 6+ messages in thread
From: Mike Gran @ 2011-01-25 13:25 UTC (permalink / raw)
  To: Mike Gran, bug-guile


URL:
  <http://savannah.gnu.org/bugs/?32243>

                 Summary: guile-tools errors if PROGRAM can't be found
                 Project: Guile
            Submitted by: mike121
            Submitted on: Tue 25 Jan 2011 01:25:50 PM GMT
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

If I call guile-tools on a program that can't be found, like so

$ guile-tools zzyzx

it doesn't fail gracefully by telling me that the program zzyzx doesn't
exist.  It instead dumps a backtrace.

[mike@joseph src]$ guile-tools zzyzx
Backtrace:
In module/ice-9/boot-9.scm:
 170: 8 [catch #t #<catch-closure ab55a0> ...]
In unknown file:
   ?: 7 [catch-closure]
In module/ice-9/boot-9.scm:
  62: 6 [call-with-prompt prompt0 ...]
In module/ice-9/eval.scm:
 389: 5 [eval # #]
In /usr/local/bin/guile-tools:
 136: 4 [main ("/usr/local/bin/guile-tools" "zzyzx")]
In module/ice-9/boot-9.scm:
1899: 3 [module-ref {#f} main]
In unknown file:
   ?: 2 [module-variable {#f} main]
In module/ice-9/boot-9.scm:
 115: 1 [#<procedure a70910 at module/ice-9/boot-9.scm:110:6 (thrown-k .
args)> wrong-type-arg ...]
In unknown file:
   ?: 0 [catch-closure wrong-type-arg "module-variable" ...]

ERROR: In procedure module-variable:
ERROR: Wrong type argument in position 1 (expecting module): #f





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?32243>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-02-10 11:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2011-02-10 11:19     ` Andy Wingo
2011-02-03 22:25   ` Mark Harig

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).