Author Topic: SlickEdit 12.0.1 Upgrade horror  (Read 8422 times)

PlanetPratt

  • Senior Community Member
  • Posts: 145
  • Hero Points: 6
SlickEdit 12.0.1 Upgrade horror
« on: June 01, 2007, 04:23:15 am »
I've been using SlickEdit 12.0.0 on my Vista x64 machine for months, but when I upgraded to 12.0.1 it won't even start.  I get a Slick-C Error:

Incorrect version

file=slickc.ex offset=9711

And a vsapi.dll dialog containing:

Code: [Select]
0  Incorrect version
1   Slick-C STACK TRACE ********************
2   Created on 5/31/2007 at 21:14:23 (905 ms)
3   SlickEdit Version 12.0.1.0 Copyright 1988-2007 SlickEdit Inc.
4   Edit module and type "st -f <offset>" to get the
5   run-time error position
6
7  slickc.ex 9711 load(B:\Tools\Development\SlickEdit\keydefs.ex)
8     p_window_id: 5
9     p_object: OI_FORM
10     p_name:
11  main.ex 4914 _firstinit()   p_window_id: 7   p_object: OI_EDITOR   p_name:
Any help would be appreciated.
  (*Chris*)

P.S.  It would be really, really nice if these dialogs allowed copy and paste so that the next time it bombs, I won't have to type it in myself and hope I don't make any mistakes

PlanetPratt

  • Senior Community Member
  • Posts: 145
  • Hero Points: 6
Re: SlickEdit 12.0.1 Upgrade horror
« Reply #1 on: June 01, 2007, 04:47:10 am »
I tried uninstalling and reinstalling, but no change.  Then I noticed it was referencing a file on a thumb-drive (B:\Tools\Development\SlickEdit\keydefs.ex), so I removed the thumb drive and restarted SlickEdit.  It came up without error, but it is completely empty, except for the menu bar.  No frames, no toolbar, no nothing!  Is there any way to get my configuration back, or at least restore it to it's default condition?

If all I can do is restore it to default, is there a way to copy the settings from another computer?

Thanks for any pointers.
  (*Chris*)

hs2

  • Senior Community Member
  • Posts: 2736
  • Hero Points: 288
Re: SlickEdit 12.0.1 Upgrade horror
« Reply #2 on: June 01, 2007, 08:47:56 am »
Seems that you once loaded the generated keydefs.e (by list-keydefs) to 'import' some keybindings.
If you do so you should always unload it immediately afterwards (now it's obsolete due to the export / import feature in the new keybindings dialog).
The best thing is to run v12.0.0 again and unload keydefs.e(x) and maybe your add modules if you're using sth. like that, save the settings if not done automatically and upgrade to v12.0.1 again.
The 1st start of SE after installation/upgrade with migrated settings of the prev. version is always critical. There should be NO error to ensure that the install/upgrade procedure finishes properly.

Hope it works for you,

HS2

PlanetPratt

  • Senior Community Member
  • Posts: 145
  • Hero Points: 6
Re: SlickEdit 12.0.1 Upgrade horror
« Reply #3 on: June 01, 2007, 03:47:33 pm »
Ummm, Sorry to be dense but, how do I run 12.0.0 now that it's been upgraded to 12.0.1?  Is there a way to "downgrade" it?
  (*Chris*)

garion911

  • Senior Community Member
  • Posts: 186
  • Hero Points: 13
Re: SlickEdit 12.0.1 Upgrade horror
« Reply #4 on: June 01, 2007, 04:11:54 pm »
I'm in the same boat.. When I installed the update, it installed into the same dir as 12.0.0, over writing the older stuff. This is on OSX.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 4638
  • Hero Points: 371
Re: SlickEdit 12.0.1 Upgrade horror
« Reply #5 on: June 01, 2007, 05:53:31 pm »
I'm not sure exactly what is going on here but I thought I would point out that under your  "My Documents\My SlickEdit Config" you will see 12.0.0 and 12.0.1.    These represent your configuration settings for 12.0.0 and 12.0.1 respectively.  You can reinstall 12.0.0 into a different directory and it will use the "12.0.0" configuration settings.  If you delete the 12.0.1 configuration tree and then run v12.0.1, it will attempt to transfer your configuration from 12.0.0 to 12.0.1.  I can't say it will work but I thought I should let you know a bit more about these mechanisms.

If you are going to play with this I suggest uninstalling V12.0.1 and reinstalling it in a different directory as the default.  You should probably install 12.0.0 in a different directory as the default as well.

SlickEdit Support

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 274
  • Hero Points: 25
Re: SlickEdit 12.0.1 Upgrade horror
« Reply #6 on: June 01, 2007, 06:05:42 pm »
There should be a file named vs.log in the root of your config directory which contains any Slick-C stacks thrown.

PlanetPratt

  • Senior Community Member
  • Posts: 145
  • Hero Points: 6
Re: SlickEdit 12.0.1 Upgrade horror
« Reply #7 on: June 01, 2007, 06:26:59 pm »
Wow, that's very useful information.  Unfortunately it's not at all obvious.  It would be much more useable if you could just cut n paste it into an email.  But thanks for the pointer, I'll have to remember that for next time.
  (*Chris*)

PlanetPratt

  • Senior Community Member
  • Posts: 145
  • Hero Points: 6
Re: SlickEdit 12.0.1 Upgrade horror
« Reply #8 on: June 01, 2007, 06:29:59 pm »
I'm not sure exactly what is going on here but I thought I would point out that under your  "My Documents\My SlickEdit Config" you will see 12.0.0 and 12.0.1.    These represent your configuration settings for 12.0.0 and 12.0.1 respectively.  You can reinstall 12.0.0 into a different directory and it will use the "12.0.0" configuration settings.  If you delete the 12.0.1 configuration tree and then run v12.0.1, it will attempt to transfer your configuration from 12.0.0 to 12.0.1.  I can't say it will work but I thought I should let you know a bit more about these mechanisms.

If you are going to play with this I suggest uninstalling V12.0.1 and reinstalling it in a different directory as the default.  You should probably install 12.0.0 in a different directory as the default as well.

Thanks for the help, I'll give it a try when I get a chance.  I've been a very long-time user of SlickEdit, and have never had any reason to install into another directory, the installs have always been flawless.  I'm hoping this isn't your new direction, is it?
  (*Chris*)

garion911

  • Senior Community Member
  • Posts: 186
  • Hero Points: 13
Re: SlickEdit 12.0.1 Upgrade horror
« Reply #9 on: June 01, 2007, 07:00:31 pm »
Ahhh... I fixed my issue...

I decided to read that vs.log file, and did a search for that slickc.ex in it.. I notice that the entry had a reference to an .ex file, where I moved the .e file (in an effort to clean things up..)

Restoring the .e file back to its orginal location let me finish loading properly.. I guess it had to recompile that file or something.. Maybe a better error would be in order.. "Source file not found" or something..

Here's the entry I had:
Code: [Select]
Slick-C STACK TRACE ******************************
 Created on 6/1/2007 at 11:49:47 (648 ms)
 SlickEdit Version 12.0.1.0 Copyright 1988-2007 SlickEdit Inc.
 Edit module and type "st -f <offset>" to get the
 run-time error position

 error code=-3000
 Incorrect version

slickc.ex 10109 load(/Users/garion/garion.ex)   p_window_id: 7   p_object: OI_ED
ITOR   p_name:
main.ex 3737 _firstinit()   p_window_id: 7   p_object: OI_EDITOR   p_name:


hs2

  • Senior Community Member
  • Posts: 2736
  • Hero Points: 288
Re: SlickEdit 12.0.1 Upgrade horror
« Reply #10 on: June 01, 2007, 07:16:42 pm »
That's it. I had the same problem when upgrading (to v11 ? - dunno) as usual ino the same install-dir, but this doesn't matter.
It's the migration of the prev. settings incl. re-loading all prev. loaded modules. If this fails during initial startup 'things can go wrong'. You won't notice that a source module isn't there any longer b/c it's precompiled into vslick.st[a|u] until it's explicitely re-compiled/re-loaded.
Since that time I'm extremely careful with the list of loaded modules.
Hence I imm. unload all modules which are not really needed (e.g. test modules etc.) and I make sure that the associated source file is always in place.

HS2