Error on location mapper plugin

Discussions about tools to complement CSPro data processing
Don
Posts: 35
Joined: February 15th, 2013, 1:28 pm
Location: Barbados
Contact:

Error on location mapper plugin

Postby Don » August 3rd, 2018, 10:46 am

I'm using CSPro 7.1.2 on Windows 10. I installed the location mapper plugin on the paradata viewer. Whenever I click on a point on the map, I get the following error. I also attached a screenshot. Is there any way around this?

Code: Select all

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.InvalidOperationException: Sequence contains no elements
   at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)
   at LocationMapper.GpsReadingInformationControl.<GpsReadingInformationControl_Load>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_0(Object state)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2117.0 built by: NET47REL1LAST
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
ParadataViewer
    Assembly Version: 7.1.0.0
    Win32 Version: 7.1.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/CSPro%207.1/ParadataViewer.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2110.0 built by: NET47REL1LAST
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2634.0 built by: NET471REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2053.0 built by: NET47REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2053.0 built by: NET47REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2634.0 built by: NET471REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
zInterfaceCLR
    Assembly Version: 7.1.0.0
    Win32 Version:
    CodeBase: file:///C:/Program%20Files%20(x86)/CSPro%207.1/zInterfaceCLR.DLL
----------------------------------------
zParadataCLR
    Assembly Version: 7.1.0.0
    Win32 Version:
    CodeBase: file:///C:/Program%20Files%20(x86)/CSPro%207.1/zParadataCLR.DLL
----------------------------------------
System.Windows.Forms.DataVisualization
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2053.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.DataVisualization/v4.0_4.0.0.0__31bf3856ad364e35/System.Windows.Forms.DataVisualization.dll
----------------------------------------
System.Data
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2623.0 built by: NET471REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.IO.Compression.FileSystem
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2053.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.IO.Compression.FileSystem/v4.0_4.0.0.0__b77a5c561934e089/System.IO.Compression.FileSystem.dll
----------------------------------------
System.IO.Compression
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2053.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.IO.Compression/v4.0_4.0.0.0__b77a5c561934e089/System.IO.Compression.dll
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 10.0.0.0
    Win32 Version: 14.7.2053.0 built by: NET47REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
BruTile.Desktop
    Assembly Version: 0.7.4.4
    Win32 Version: n/a
    CodeBase: file:///C:/Users/dtrotman/AppData/Local/Temp/1b2hkyzl.5bu/BruTile.Desktop.dll
----------------------------------------
BruTile
    Assembly Version: 0.7.4.4
    Win32 Version: n/a
    CodeBase: file:///C:/Users/dtrotman/AppData/Local/Temp/1b2hkyzl.5bu/BruTile.DLL
----------------------------------------
BruTile.MbTiles
    Assembly Version: 0.0.0.0
    Win32 Version: n/a
    CodeBase: file:///C:/Users/dtrotman/AppData/Local/Temp/1b2hkyzl.5bu/BruTile.MbTiles.dll
----------------------------------------
BruTile.Serialization
    Assembly Version: 0.7.4.4
    Win32 Version: n/a
    CodeBase: file:///C:/Users/dtrotman/AppData/Local/Temp/1b2hkyzl.5bu/BruTile.Serialization.dll
----------------------------------------
Common.Logging
    Assembly Version: 2.0.0.0
    Win32 Version: n/a
    CodeBase: file:///C:/Users/dtrotman/AppData/Local/Temp/1b2hkyzl.5bu/Common.Logging.dll
----------------------------------------
GeoAPI
    Assembly Version: 1.7.2.0
    Win32 Version: n/a
    CodeBase: file:///C:/Users/dtrotman/AppData/Local/Temp/1b2hkyzl.5bu/GeoAPI.dll
----------------------------------------
Location Mapper
    Assembly Version: 7.1.0.0
    Win32 Version: n/a
    CodeBase: file:///C:/Users/dtrotman/AppData/Local/Temp/1b2hkyzl.5bu/Location%20Mapper.dll
----------------------------------------
SharpMap
    Assembly Version: 1.1.0.0
    Win32 Version: n/a
    CodeBase: file:///C:/Users/dtrotman/AppData/Local/Temp/1b2hkyzl.5bu/SharpMap.DLL
----------------------------------------
NetTopologySuite
    Assembly Version: 1.13.2.0
    Win32 Version: n/a
    CodeBase: file:///C:/Users/dtrotman/AppData/Local/Temp/1b2hkyzl.5bu/NetTopologySuite.dll
----------------------------------------
NetTopologySuite.IO.GeoTools
    Assembly Version: 1.13.2.0
    Win32 Version: n/a
    CodeBase: file:///C:/Users/dtrotman/AppData/Local/Temp/1b2hkyzl.5bu/NetTopologySuite.IO.GeoTools.dll
----------------------------------------
NetTopologySuite.IO.MsSqlSpatial
    Assembly Version: 1.13.2.0
    Win32 Version: n/a
    CodeBase: file:///C:/Users/dtrotman/AppData/Local/Temp/1b2hkyzl.5bu/NetTopologySuite.IO.MsSqlSpatial.dll
----------------------------------------
NetTopologySuite.IO.PostGis
    Assembly Version: 1.13.2.0
    Win32 Version: n/a
    CodeBase: file:///C:/Users/dtrotman/AppData/Local/Temp/1b2hkyzl.5bu/NetTopologySuite.IO.PostGis.dll
----------------------------------------
Newtonsoft.Json
    Assembly Version: 4.5.0.0
    Win32 Version: n/a
    CodeBase: file:///C:/Users/dtrotman/AppData/Local/Temp/1b2hkyzl.5bu/Newtonsoft.Json.dll
----------------------------------------
PowerCollections
    Assembly Version: 1.0.0.0
    Win32 Version: n/a
    CodeBase: file:///C:/Users/dtrotman/AppData/Local/Temp/1b2hkyzl.5bu/PowerCollections.dll
----------------------------------------
ProjNet
    Assembly Version: 1.3.0.3
    Win32 Version: n/a
    CodeBase: file:///C:/Users/dtrotman/AppData/Local/Temp/1b2hkyzl.5bu/ProjNet.dll
----------------------------------------
SharpMap.UI
    Assembly Version: 1.1.0.0
    Win32 Version: n/a
    CodeBase: file:///C:/Users/dtrotman/AppData/Local/Temp/1b2hkyzl.5bu/SharpMap.UI.dll
----------------------------------------
System.Data.SQLite
    Assembly Version: 1.0.86.0
    Win32 Version: n/a
    CodeBase: file:///C:/Users/dtrotman/AppData/Local/Temp/1b2hkyzl.5bu/System.Data.SQLite.dll
----------------------------------------
System.Transactions
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2053.0 built by: NET47REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.Data.SQLite.Linq
    Assembly Version: 1.0.86.0
    Win32 Version: n/a
    CodeBase: file:///C:/Users/dtrotman/AppData/Local/Temp/1b2hkyzl.5bu/System.Data.SQLite.Linq.dll
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2053.0 built by: NET47REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Numerics
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2053.0 built by: NET47REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.


Attachments
locationerror.png
locationerror.png (17.69 KiB) Viewed 262 times

htuser
Posts: 318
Joined: December 19th, 2011, 6:26 pm
Location: HAITI

Re: Error on location mapper plugin

Postby htuser » August 3rd, 2018, 4:18 pm

Hi Don,
What's link do you use to download it?
Thanks in advance,

Gregory Martin
Posts: 1050
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: Error on location mapper plugin

Postby Gregory Martin » August 6th, 2018, 8:34 am

Looking at the source code, the reason that you would get that error is if the SQL query (that is used to get information from the paradata log) returns no rows. If you don't mind sharing your paradata log, you can send it to greg@csprousers.org and I'll try to figure out why the query is failing. We can use that information to improve the plugin in the next release.

I'm sorry that that you're facing this bug.

Don
Posts: 35
Joined: February 15th, 2013, 1:28 pm
Location: Barbados
Contact:

Re: Error on location mapper plugin

Postby Don » August 7th, 2018, 11:18 am

htuser wrote:Hi Don,
What's link do you use to download it?
Thanks in advance,


I'm not sure of the specific location. I downloaded it by going to View>Location mapper in the Paradata viewer. It prompted me to download and install it automatically.

Don
Posts: 35
Joined: February 15th, 2013, 1:28 pm
Location: Barbados
Contact:

Re: Error on location mapper plugin

Postby Don » August 7th, 2018, 11:19 am

Gregory Martin wrote:Looking at the source code, the reason that you would get that error is if the SQL query (that is used to get information from the paradata log) returns no rows. If you don't mind sharing your paradata log, you can send it to greg@csprousers.org and I'll try to figure out why the query is failing. We can use that information to improve the plugin in the next release.

I'm sorry that that you're facing this bug.


Will do, Greg!


Return to “Tools”