Opened 13 years ago
Closed 13 years ago
#2325 closed enhancement (fixed)
Sliderule custom scale trap errors
Reported by: | tonyforster | Owned by: | walter |
---|---|---|---|
Priority: | Unspecified by Maintainer | Milestone: | Unspecified |
Component: | Sliderule | Version: | Unspecified |
Severity: | Unspecified | Keywords: | |
Cc: | Distribution/OS: | Unspecified | |
Bug Status: | Unconfirmed |
Description
Trap errors and give some feedback, eg onscreen display of error text
untrapped errors:
Syntax error: unexpected EOF (can't replicate)
Type error: unsupported operand types
- none and int (log where min =0) + int and string (int(x)+".0") hex() argument cant be converted (real x)
Change History (7)
comment:1 Changed 13 years ago by walter
comment:2 Changed 13 years ago by tonyforster
Still getting Syntax error: unexpected EOF
eg position function = log(x,10)/
comment:3 Changed 13 years ago by walter
Ooops. Forgot to look for Syntax Errors... easy enough to add.
comment:4 Changed 13 years ago by walter
http://bugs.sugarlabs.org/attachment/ticket/2326/Sliderule-17.xo has a check for syntax errors
comment:5 Changed 13 years ago by tonyforster
- Resolution set to fixed
- Status changed from new to closed
comment:6 Changed 13 years ago by tonyforster
- Resolution fixed deleted
- Status changed from closed to reopened
Attribute error:
when entering a formula into step 1/1.6
comment:7 Changed 13 years ago by walter
- Resolution set to fixed
- Status changed from reopened to closed
Note: See
TracTickets for help on using
tickets.
See http://bugs.sugarlabs.org/attachment/ticket/2326/Sliderule-17.xo
I do the error handling differently now so I can catch them and display them.