#1 Le 10/07/2009, à 11:16
- Daid
Installer Sporttracks par Mono sous ubuntu
Bonjour à tous,
Avec le développement actuel du projet Mono, j'ai l'impression qu'il doit être possible d'installer le logiciel Sporttracks écrit en .net (un logiciel de suivi sportif) directement sous Ubuntu. La lecture de ce post m'incite également à penser que ça devrait plus ou moins fonctionner...
J'ai tenté de télécharger le .exe depuis le site et de lancer un
mono SportTracks.exe
et j'obtiens une erreur (dont je ne me souviens plus in extenso...) qui dit globalement que le fichier n'est pas valide.
Quelqu'un a déjà essayé d'installer cette application par Mono, vous avez réussi?
Merci d'avance,
Daid
Hors ligne
#2 Le 10/07/2009, à 11:21
- Grunt
Re : Installer Sporttracks par Mono sous ubuntu
et j'obtiens une erreur (dont je ne me souviens plus in extenso...)
Ben.. faudrait peut-être commencer par nous donner cette erreur, non?
Tu rouvres ton terminal, tu retapes ta commande, et tu regardes les messages d'erreur. Tout simplement.
#3 Le 11/07/2009, à 07:51
- hgo
Re : Installer Sporttracks par Mono sous ubuntu
et j'obtiens une erreur (dont je ne me souviens plus in extenso...)
Ben.. faudrait peut-être commencer par nous donner cette erreur, non?
Tu rouvres ton terminal, tu retapes ta commande, et tu regardes les messages d'erreur. Tout simplement.
Je sais pas si ça peut t'aider, mais voici ce que j'ai trouvé sur le forum du site officiel (note: seule la version 2.0 de sporttracks est compatible, pas la 2.1):
Here is some instruction on howto get SportTrack to work using the mono platform.
Currently this only works for SportTrack 2.0.x version (e.g. 2.1.x currently dont work) but a fix is on the way see the post below from admin.
1. Install Mono 2.0 or later from your distribution or from here http://www.go-mono.com/mono-downloads/download.html (or build it from SVN using these instruction http://www.mono-project.com/Compiling_Mono)
2. Download SportTrack and install it on a windows computer
3. Start it once. (Preferences.System.xml will be created see Tips&Tricks below)
4. Copy all the files from the installed SportTrack to your Linux or OSX computer
5. Start it with mono e.g.
Code:$ cd <sporttrack directory>
$ mono SportTracks.exeCurrent known problems:
- No maps, you have the blue track outline but no background map.
- Garmin Importer is reported to not work. maybe this project could be used to extract data http://code.google.com/p/garmintools/
- GDAL plugin don't work (no altitude correction...)Tips and Tricks:
- You have to create a dummy user on every start and then load you logbook.
Solution: Copy the file Preferences.System.xml from windows install
user-documents&settings\local settings\Application Data\ZoneFiveSoftware\SportTracks\2.0\Preferences.System.xml
and put it at ~/.local/share/ZoneFiveSoftware\\SportTracks\\2.0/Preferences.System.xml
Edit the paths in it so it points to your logbook.With some luck and more people testing this we can probably get all the problem worked out. I have only tested it on Ubuntu 32bit please report if it works on OSX or *BSD (and other platforms)
This post is the result from discussion in this thread
http://www.zonefivesoftware.com/SportTracks/Forums/viewtopic.php?t=2557Edit: 2008-09-17: added garmintools link
Edit: 2008-09-22: Latest Globalsat plugin fixes an issue.
Edit: 2008-10-25: Mono 2.0 is released switch to the release version instead of RC1
Edit: 2009-04-09: State that there is currently are problems with SportTrack 2.1.x and that the startup dummy user can be solved.
Edit: 2009-04-14 Removed fix for linux USB Serial link to get the Globalsat plugin to work as this is not needed.
#4 Le 11/07/2009, à 09:11
- Daid
Re : Installer Sporttracks par Mono sous ubuntu
bonjour et merci de vos réponses,
Il y a du nouveau! sur le site de sporttracks, une version compatible linux est en téléchargement...
Cependant une fois téléchargée et l'archive décompressé si je lance un
mono SportTracks.exe
J'obtiens le message suivant :
** (SportTracks.exe:22140): WARNING **: The following assembly referenced from /home/david/Bureau/sporttracks-2.1.3478/SportTracks.exe could not be loaded:
Assembly: System.Windows.Forms (assemblyref_index=1)
Version: 2.0.0.0
Public Key: b77a5c561934e089
The assembly was not found in the Global Assembly Cache, a path listed in the MONO_PATH environment variable, or in the location of the executing assembly (/home/david/Bureau/sporttracks-2.1.3478/).
** (SportTracks.exe:22140): WARNING **: Could not load file or assembly 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies.
Unhandled Exception: System.TypeLoadException: Could not load type 'ZoneFiveSoftware.SportTracks.Application' from assembly 'SportTracks, Version=2.1.3478.21513, Culture=neutral, PublicKeyToken=null'.
J'utilise la version mono officielle sous Ubuntu, il me semble qu'il s'agisse de la 2.0
Quelqu'un a une idée?
Merci d'avance,
Daid
Dernière modification par Daid (Le 11/07/2009, à 09:11)
Hors ligne
#5 Le 11/07/2009, à 10:02
- Daid
Re : Installer Sporttracks par Mono sous ubuntu
re- bonjour,
En fait je n'avais pas installé la totalité des paquets mono nécessaires, en suivant la doc de ubuntu, maintenant ça roule!!
Reste a voir comment faire l'import des données depuis mon forerunner 305...
Daid
Hors ligne
#6 Le 11/07/2009, à 11:23
- hgo
Re : Installer Sporttracks par Mono sous ubuntu
re- bonjour,
En fait je n'avais pas installé la totalité des paquets mono nécessaires, en suivant la doc de ubuntu, maintenant ça roule!!
Reste a voir comment faire l'import des données depuis mon forerunner 305...
Daid
Via gpsbabel: tu importe toute tes données dans un fichier kml et tu charge le kml avec le programme. C'est comme ça que je fais avec google earth en tout cas.
Tu trouveras plein de trucs en cherchant dans la doc et sur le forum pour gpsbabel (il y a même une interface graphique: gebabbel)
#7 Le 12/07/2009, à 22:01
- hgo
Re : Installer Sporttracks par Mono sous ubuntu
Remontage de topic: j'ai trouvé ça sur getdeb: sportwatcher
C'est un vrai programme linux (pas un truc en mono), donc bon, à voir si ça peut ptet remplacer sporttracks.
http://www.getdeb.net/app/SportWatcher