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/