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

 
 

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

Submitted by:  Mike Gran <mike121>
Submitted on:  Tue 25 Jan 2011 01:25:50 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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

Fixed in git; thanks for the reminder.

Andy Wingo <wingo>
Project 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>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 02 Feb 2011 07:36:48 PM UTCwingoStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1