| View previous topic :: View next topic |
| Author |
Message |
clackerz Contributor!

Joined: 24 Jun 2007 Posts: 1070 Location: Melbourne, Victoria, Australia
|
Posted: Thu Sep 04, 2008 7:05 am Post subject: How to update a SportTracks Plugin |
|
Question:
How do I update to the latest Plugin?
Answer:
Update via the SportTracks Application:
You can update your plugins directly via the SportTracks application.
Firstly you can check to see if a plugin has an update available.
This can be accessed by via Settings> Plugins.
Note: Ensure that 'Plugins' is selected and not an actual plugin.
SportTracks will Check For Updates on all your loaded plugins.
Once SportTracks has completed the Update Check any plugins requiring an update will display a notification of "Update Available".
If you have the latest installed SportTracks will display a notification of "You have the latest version installed".
Please note that some plugins will notify of an update, but you have the latest version installed. This is due to the version format used and how SportTracks interprets this.
If you are unsure contact the developer of that plugin.
To update the plugin refer to the Plugin Details section at the bottom of the screen.
Here you can also find out more information about the plugin, the update version, and install the update.
Here it will depend on what type of Plugin it is on how it is updated.
There are 2 different ways a plugin will update - depending on the format the plugin was developed in.
Refer here for an explanation on the different types of plugin formats.
(1) A SportTracks 2.0 Install Package (.st2plugin)
Once you choose to update the following message will appear - Click Yes to update or No to cancel the update.
The plugin will auto install in the background, and once completed a message will appear.
Click OK and restart SportTracks.
(2) A Compressed File (.zip or .rar) or an Application File (.exe)
Once you have chosen to update you will be taken to the plugin homepage using SportTracks embedded web browser.
Click on the Download Now and follow the process of the "How To Install a SportTracks Plugin" FAQ here.
Update manually via the SportTracks Plugin Forum:
This can be done in the same manner as installing a plugin - see the "How To Install a SportTracks Plugin" FAQ here. _________________ Cycling with:
Fuji Team 06 - Garmin Edge 305
Analysing with:
SportTracks!
Last edited by clackerz on Sun Jun 07, 2009 7:34 pm; edited 1 time in total |
|
| Back to top |
|
 |
gerhard Contributor!

Joined: 27 Nov 2006 Posts: 1894 Location: Sweden
|
Posted: Sun Feb 15, 2009 3:17 pm Post subject: |
|
Question:
I have upgraded a plugin, but I still see the old version in Settings->Plugins?
I uninstalled a plugin, but after a restart I see an old version of the plugin?
What do I have to do to upgrade from an old-style (.dll package) to new style (.st2plugin) plugin?
I can see messages in the system log, why are they ocurring?
| Code: | 10/02/2009 19:27 [PluginManager] ERROR Could not load plugin C:\Program Files\Zone Five Software\SportTracks 2.0\Plugins\Matrix\MatrixPlugin.dll. An exception occurred during initialization.
An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
at ZoneFiveSoftware.SportTracks.Plugin.PluginManager.AddPlugins(IApplication application, Assembly assembly, String assemblyPath) |
Answer:
There are several directories where ST searches for plugins. See the following for an description.
http://www.zonefivesoftware.com/SportTracks/Forums/viewtopic.php?t=4290
So, when you upgrade an old-style to another old-style or new-style plugin version, you must delete the old plugin files (in "Program Files" directory), or ST can find old versions of the plugins (normally only a problem when uninstalling).
This problem will decrease when all plugins uses the new-style plugins. |
|
| Back to top |
|
 |
CHnuschti
Joined: 13 Feb 2007 Posts: 405 Location: Switzerland
|
Posted: Sat Jun 06, 2009 7:28 am Post subject: |
|
Question:
I updated a plugin this way: I deinstalled the old version, then installed the latest version. However, it does not show up in SportTracks. What is wrong here?
Answer:
Note: This is applicable for ST 2.1.3326. The handling is changed in ST later versions to allow uninstalling/install a new version without restarting ST.
When you uninstall a plugin, SportTracks (ST) can't actually uninstall it, because it's in use. So it sets a flag to tell itself to delete the plugin on the next startup.
If you quit ST, and install a new version, ST successfully installs the plugin, but *doesn't* remove the flag... so on the next startup it deletes the newly installed version...
So the correct sequence for updating a plugin is:
Delete, quit, restart, quit, install, restart (or delete, quit, restart, install, quit, restart if you want to do the install from within ST).
Contribution of markw65. Thanks. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|