SlickEdit Community

Archived Read Only Forums => SlickEdit 2021 v26 Beta Discussion => Topic started by: Graeme on July 30, 2021, 11:05:51 am

Title: slick stack on first run - Incorrect version tbcontrols.ex 3192
Post by: Graeme on July 30, 2021, 11:05:51 am
Slick upgraded my 25.0.2 config when I first ran it and reported an error
Incorrect version tbcontrols.ex 3192
It gets this error every time I start it.
My config folder is here.

https://drive.google.com/file/d/1OgG_3wx5h-Bovle957Kp_OTxCKfqCw0o/view?usp=sharing (https://drive.google.com/file/d/1OgG_3wx5h-Bovle957Kp_OTxCKfqCw0o/view?usp=sharing)


Stack trace written to file: C:\Users\graem\AppData\Local\Temp\vsstack.
 Incorrect version
tbcontrols.ex 3192 _tbGetUpdatedIconName(bbzoomin.svg)   p_window_id: 78   p_object: OI_EDITOR   p_name:
ToolbarCustomizationHandler.ex 2466 sc.controls.customizations.ToolbarCustomizationHandler.readMod(
   1:   ._typename()=sc.controls.customizations.ToolbarCustomizationHandler
   1:   .m-modFile=C:\GP\SlickConfig\26.0.0\userToolbars.xml
   1:   .m-elementName=Toolbar
   1:   .m-categoryName=Toolbars
   2:   18
   3:   5
   4:   ._typename()=sc.controls.customizations.UserModification
   4:   .m-command=
   4:   .m-caption=
   4:   .m-message=
   4:   .m-action=-1
   4:   .m-prev=
   4:   .m-next=
   p_window_id: 20
   p_object: OI_EDITOR
   p_name:
CustomizationHandler.ex 3629 sc.controls.customizations.CustomizationHandler.readModList(
   1:   ._typename()=sc.controls.customizations.ToolbarCustomizationHandler
   1:   .m-modFile=C:\GP\SlickConfig\26.0.0\userToolbars.xml
   1:   .m-elementName=Toolbar
   1:   .m-categoryName=Toolbars
   2:   18
   3:   2
   4:   Modifications
   5:   <empty>
   p_window_id: 20
   p_object: OI_EDITOR
   p_name:
CustomizationHandler.ex 3515 sc.controls.customizations.CustomizationHandler.readMods(
   1:   ._typename()=sc.controls.customizations.ToolbarCustomizationHandler
   1:   .m-modFile=C:\GP\SlickConfig\26.0.0\userToolbars.xml
   1:   .m-elementName=Toolbar
   1:   .m-categoryName=Toolbars
   2:   18
   3:   2
   4:   <empty>
   5:   <empty>
   6:   <empty>
   p_window_id: 20
   p_object: OI_EDITOR
   p_name:
CustomizationHandler.ex 3281 sc.controls.customizations.CustomizationHandler.readAndApplyFileChanges(
   1:   ._typename()=sc.controls.customizations.ToolbarCustomizationHandler
   1:   .m-modFile=C:\GP\SlickConfig\26.0.0\userToolbars.xml
   1:   .m-elementName=Toolbar
   1:   .m-categoryName=Toolbars
   2:   18
   p_window_id: 20
   p_object: OI_EDITOR
   p_name:
CustomizationHandler.ex 2850 sc.controls.customizations.CustomizationHandler.restoreChanges(
   1:   ._typename()=sc.controls.customizations.ToolbarCustomizationHandler
   1:   .m-modFile=C:\GP\SlickConfig\26.0.0\userToolbars.xml
   1:   .m-elementName=Toolbar
   1:   .m-categoryName=Toolbars
   p_window_id: 20
   p_object: OI_EDITOR
   p_name:
postinstall.ex 1293 postinstall:migrateMenuAndToolbarCustomizations()   p_window_id: 20   p_object: OI_EDITOR   p_name:
postinstall.ex 2283 postinstall:postTasks()   p_window_id: 20   p_object: OI_EDITOR   p_name:
postinstall.ex 2469 defmain()   p_window_id: 20   p_object: OI_EDITOR   p_name:

Title: Re: slick stack on first run - Incorrect version tbcontrols.ex 3192
Post by: Dennis on July 30, 2021, 02:36:51 pm
I'll check this out later today. 
Title: Re: slick stack on first run - Incorrect version tbcontrols.ex 3192
Post by: Dennis on July 30, 2021, 04:10:37 pm
Do you have the VSLICKMACROS environment variable set?  It looks as if it is picking up a version of "updateobjs.e" from another installation.
Title: Re: slick stack on first run - Incorrect version tbcontrols.ex 3192
Post by: pbrightly on July 30, 2021, 09:51:19 pm
Ah, that's my exact worry in my other post. I want to run both my 2020 (v25) version and the v26 version, so I can switch back if a bug prevents me from doing my real job.  What are the recommendations for this?  Do I need to use a script to sent environment and launch each?

PS. I was surprised I still had SlickEdit2008 in the path.  :)
Anyway, I'm going to try running both v25  & v26.  My environment only contains the win\bin directory for 3 versions, as follows:
Code: [Select]
Path=C:\SlickEdit2021_b\win\
.
.
C:\SlickEdit2020\win\
.
.
c:\slickedit2008\win
.
.
PPS. And, it would seem the beta pulls from my existing installation. On first start of the beta I get "Unable to load module..." and it's trying to load my custom macros from my SlickEdit2020 directory. Cool, if it worked... but it says Incorrect Version.
Title: Re: slick stack on first run - Incorrect version tbcontrols.ex 3192
Post by: Graeme on July 30, 2021, 11:12:49 pm
Do you have the VSLICKMACROS environment variable set?  It looks as if it is picking up a version of "updateobjs.e" from another installation.

This command

_command void gp1234() name_info(',')
{
   say(get_env("VSLICKMACROS"));
}

gives me this

C:\Program Files\SlickEdit\V25-0-2\macros;plugin:\\

I didn't do this myself.  I have no VSLICK environment variables set.
I have sometimes wondered if I should have been using VSLICKMACROS though - so that slick can locate an error when I get a slick stack.

Title: Re: slick stack on first run - Incorrect version tbcontrols.ex 3192
Post by: Graeme on July 30, 2021, 11:23:20 pm
My previous post was using 25.0.2.  When I do this in V26 I get this

C:\Program Files\SlickEdit\V26-0-0-1\macros;plugin:\\



Title: Re: slick stack on first run - Incorrect version tbcontrols.ex 3192
Post by: Graeme on July 31, 2021, 03:03:24 am
If I start V26 with an empty config, then import all my settings and macros from 25.0.2, it runs without the tbcontrols.ex error.
Title: Re: slick stack on first run - Incorrect version tbcontrols.ex 3192
Post by: Graeme on July 31, 2021, 10:57:36 am
As mentioned in my previous post, I imported my settings from 25.0.2  - I know this is technically unsupported but I've found that in app options -> Exit -> "save configuration"  - I previously had set to "prompt before saving on exit".  In V26 it has become "share config, save configuration immediately".
Title: Re: slick stack on first run - Incorrect version tbcontrols.ex 3192
Post by: Clark on August 01, 2021, 04:50:32 pm
As mentioned in my previous post, I imported my settings from 25.0.2  - I know this is technically unsupported but I've found that in app options -> Exit -> "save configuration"  - I previously had set to "prompt before saving on exit".  In V26 it has become "share config, save configuration immediately".

This change is intentional. You can set it to something else after the import (or config upgrade).