vergilcw / sporttracks-csv-import

Automatically exported from code.google.com/p/sporttracks-csv-import
0 stars 0 forks source link

csv import plugin ST3 system log error message #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. ST3->Import->File
2. It is not necessary to actually import a file, cancel will also log the 
error.
3. Find error in ST3 System Log

What is the expected output?
No error message.

What do you see instead?
Log error text:
9/1/2010 3:05 PM [Page_SourceFile]   ERROR   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.UI.Forms.Import.Page_SourceFile.LoadFileImportSources(IList`1 fileImporters) 

What version of the product are you using? On what operating system?
v3.0.2 on WinXP

Please provide any additional information below.
iBike plugin also generates same error under same conditions

Original issue reported on code.google.com by texmur...@comcast.net on 1 Sep 2010 at 8:59

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Thanks. On my machine, no ST3 logfile is created at all (no system.log.txt 
file). The corresponding button is greyed out. 

When you select a file for import and get the list of activities, the import 
has already by done by the importer, the import result is just not yet written 
to the logbook. Please attach the WbCsvImport.log (in your temp directory) and 
the selected file to the ticket.

Original comment by wolfgang...@googlemail.com on 2 Sep 2010 at 4:52

GoogleCodeExporter commented 9 years ago
This is a SportTracks bug. SportTracks does not support multiple Plug-ins that 
are registered for the same file extension (.csv). This has to be fixed in 
SportTracks. I will investigate if the Plug-in could display a more helpful 
error message when it detects this situation.

Original comment by wolfgang...@googlemail.com on 4 Sep 2010 at 7:59

GoogleCodeExporter commented 9 years ago

Original comment by wolfgang...@googlemail.com on 25 Oct 2010 at 9:38

GoogleCodeExporter commented 9 years ago
This has been changed in ST 3.0.4048, so it is fully supported.
However, the name should be changed so importers can be distinguished: 
IFileImporter.Name

Original comment by gerhard....@gmail.com on 12 Apr 2011 at 8:24