unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Mike Gran <INVALID.NOREPLY@gnu.org>
To: Mike Gran <spk121@yahoo.com>, bug-guile@gnu.org
Subject: [bug #32243] guile-tools errors if PROGRAM can't be found
Date: Tue, 25 Jan 2011 13:25:51 +0000	[thread overview]
Message-ID: <20110125-132550.sv73118.41633@savannah.gnu.org> (raw)
In-Reply-To: 


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/




             reply	other threads:[~2011-01-25 13:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-25 13:25 Mike Gran [this message]
2011-01-27 10:25 ` [bug #32243] guile-tools errors if PROGRAM can't be found 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

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=20110125-132550.sv73118.41633@savannah.gnu.org \
    --to=invalid.noreply@gnu.org \
    --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).