bugGuile - Bugs: bug #32243, guile-tools errors if PROGRAM...

 
 

bug #32243: guile-tools errors if PROGRAM can't be found

Submitter:  Mike Gran <mike121>
Submitted:  Tue 25 Jan 2011 01:25:50 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 02 Feb 2011 07:36:48 PM UTC, comment #1: 

Fixed in git; thanks for the reminder.

Andy Wingo <wingo>
Group administrator
Tue 25 Jan 2011 01:25:50 PM UTC, original submission:  

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

Mike Gran <mike121>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by wingo (Posted a comment)
  • -email is unavailable- added by mike121 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-02-02 wingo StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code