• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC SKILL
  3. Got Error Message when I use schCheck with sstatus(errsetTrace...

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 143
  • Views 698
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Got Error Message when I use schCheck with sstatus(errsetTrace t)

AllenCheng
AllenCheng over 1 year ago

Hi Sirs, 

When I use schCheck(CV) to do check&save in my script, I got error mesages below. 

schCheck(CV)
*Error* hiSetProgressBar: argument #1 should be a window type (type template = "wx") - nil
<<< Stack Trace >>>
(... in _schProgressBarStep ...)
processed = nil
win = nil
step = 12
item = 1
numberOfItems = 1
(... in _schSetBatchProgressBar ...)
step = 12
numberOfSteps = 12
item = 1
numberOfItems = 1
apply('_schSetBatchProgressBar '(12 12 1 1))
(... in schExtractConn ...)
nError = nil
nWarn = nil
result = nil
errL = nil
sumErrors = 0
sumWarns = 0
sheetCV = nil
sheetInst = nil
sheetList = nil
errMsg = nil
severity = nil
msgPrefix = "Extracting"
checkAll = nil
inGraphics = t
id = nil
didList = nil
checkHierIgnoreNeedCheckout = nil
runPreCheckTrigs = t
cv = db:0x2f20f71a
(... in schCheck ...)
result = nil
result1 = nil
result2 = nil
nError = nil
nWarn = nil
userErrorWarn = nil
totalError = nil
totalWarn = nil
cvId = db:0x2f20f71a

I found when I set sstatus(errsetTrace t) I got those mesage. I can set sstatus(errsetTrace nil) to make all error messages disappeared.  However, do I have any other way to make there is not any error message?

Thanks. 

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 1 year ago

    Well, sstatus(errsetTrace t) is not the default, and intended to be used to help debug issues when an error is caught. In this case an error is intentionally caught, so if you've forced it to display a stack trace when an error is caught that's really down to your choice to display that information!

    There doesn't seem to be another switch to stop it trying to update the progress bar - instead it uses a try/catch type approach for this - if it fails, the error is caught.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 1 year ago

    Well, sstatus(errsetTrace t) is not the default, and intended to be used to help debug issues when an error is caught. In this case an error is intentionally caught, so if you've forced it to display a stack trace when an error is caught that's really down to your choice to display that information!

    There doesn't seem to be another switch to stop it trying to update the progress bar - instead it uses a try/catch type approach for this - if it fails, the error is caught.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information