Author Topic: Slick-C Error when Import Options  (Read 4625 times)

koji

  • Community Member
  • Posts: 23
  • Hero Points: 0
Slick-C Error when Import Options
« on: October 19, 2009, 03:57:58 AM »
When i operater the Tools->Options->Export/Import Options->Import Options, then occur error.

Sandra

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 754
  • Hero Points: 36
Re: Slick-C Error when Import Options
« Reply #1 on: October 19, 2009, 01:39:36 PM »
Could you post your import file here?   It should be a .zip file.

Thanks!

koji

  • Community Member
  • Posts: 23
  • Hero Points: 0
Re: Slick-C Error when Import Options
« Reply #2 on: October 21, 2009, 08:45:59 AM »
Could you post your import file here?   It should be a .zip file.

Thanks!
I imported this file at 9th September 2009, but recently failed to import it .

What does the “offset” mean? how should I fix the position "offset=671" in the tbopen.ex. The file tbopen.ex cann't be opened.
« Last Edit: October 21, 2009, 09:04:36 AM by koji »

Sandra

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 754
  • Hero Points: 36
Re: Slick-C Error when Import Options
« Reply #3 on: October 21, 2009, 01:48:14 PM »
As a temporary workaround, you can import these settings without a hitch if your Open Tool Window is open.  Go to View > Tool Windows > Open and that will bring up the tool window.  Then import your settings.  You can then close the Open Tool Window if you like.  I'll include a fix for this in the cumulative hotfix and will update this thread when it's ready.

The offset can help you determine where the error occurred.  tbopen.ex is just the compiled Slick-C byte code of tbopen.e, one of our shipped macros.  Every time you successfully load a Slick-C file, one of these .ex files is created. 

To find the place where the stack happened, you can double-click on the line in the Slick-C stack window (the middle picture that you posted).  Double-click on the top most line of the stack (tbopen.ex 671 ...) and that file will open with the cursor in that position.  You could also double-click on any line in the stack window that lists a .ex file and offset to be taken to that position.

Of course, if you get a stack like that, we'd like to know about it, too, so we can fix it for everybody.  8)