1

Re: NERC S41 designation for White Admiral

I’ve just asked the report wizard to find records of butterflies with “England NERC S.41” designation and it correctly reported six of our seven resident species. It missed out White Admiral however.

All butterfly records were imported using the Recorder 3.3 checklist so White Admiral was imported as Ladoga camilla (NBNSYS0000078108 I think).

I’m assuming designations should match through the synonym tables to the current scientific name of Limenitis camilla?

Is there a bug somewhere, or have I done something wrong?

This is the first time I’ve tried using the designation reporting. How stable is it?

(I’m using 6.14.5.218 with dictionaries up to N).

Regards, Keith Balmer

2

Re: NERC S41 designation for White Admiral

In trying to debug this behaviour, which appears consistent with everything I've tried so far, I decided instead to select the attribute Taxon->Statuses->England NERC S.41 for the report so I could see what it is set to for this species. Selecting this attribute however causes the report wizard to crash (independent of which species are chosen for the report, or which other attributes are selected) with the following transcript:

date/time         : 2010-01-14, 15:55:00, 421ms
computer name     : KEITH-DELLV400
user name         : keith
operating system  : Windows XP Service Pack 3 build 2600
system language   : English
system up time    : 7 hours 15 minutes
program up time   : 1 minute 23 seconds
processors        : 2x Intel(R) Core(TM)2 Duo CPU     E6550  @ 2.33GHz
physical memory   : 278/2046 MB (free/total)
free disk space   : (C:) 87.53 GB
display mode      : 1680x1050, 32 bit
process id        : $e8c
allocated memory  : 17.63 MB
command line      : RecorderApp.exe /591092
executable        : RecorderApp.exe
exec. date/time   : 2009-11-23 08:25
version           : 6.14.5.218
madExcept version : 2.7h
exception class   : TExceptionPath
exception message : An error occurred executing the following SQL: UPDATE "#REPORT_OUTPUT" SET #REPORT_OUTPUT.[England NERC S.41]='Yes FROM #Report_OutputLEFT JOIN Index_Taxon_Name ITN     ON (ITN.Taxon_List_Item_Key = #Report_Output.LIST_ITEM_KEY     AND ITN.System_Supplied_Data=1    AND #REPORT_OUTPUT.Type='T')LEFT JOIN Index_Taxon_Name ITN2 ON ITN.Recommended_Taxon_List_Item_Key=ITN2.Recommended_Taxon_List_Item_KeyLEFT JOIN Taxon_Designation TD ON TD.Taxon_List_Item_Key=ITN2.Taxon_List_Item_Key WHERE TD.Taxon_Designation_Type_Key='NBNSYS0100000013' AND TD.source_key='JNCCDEV600000001'.

main thread ($79c):
008c20fd RecorderApp.exe 
7e4196c2 user32.dll       DispatchMessageA

modules:
00350000 C4DLL.DLL       1.0.0.1          C:\Documents and Settings\keith\My Documents\BRMC\Species\Recorder 6 Server
003c0000 MS5User.Dll     5.0.0.4          C:\Documents and Settings\keith\My Documents\BRMC\Species\Recorder 6 Server
00400000 RecorderApp.exe 6.14.5.218       C:\Documents and Settings\keith\My Documents\BRMC\Species\Recorder 6 Server
013c0000 ms5cnv.dll      5.0.0.10         C:\Documents and Settings\keith\My Documents\BRMC\Species\Recorder 6 Server
01b50000 odbcint.dll     3.525.1132.0     C:\WINDOWS\system32
029f0000 xpsp2res.dll    5.1.2600.5512    C:\WINDOWS\system32
03700000 SQLOLEDB.RLL    2000.85.1132.0   C:\Program Files\Common Files\System\OLE DB
03710000 msadcer.dll     2.81.1132.0      C:\Program Files\Common Files\System\MSADC
03bd0000 GOTOGR~1.OCX    2.0.0.16         C:\DOCUME~1\keith\MYDOCU~1\BRMC\Species\RECORD~2\Addins
03d90000 GoToKey.ocx     6.0.1.8          C:\DOCUME~1\keith\MYDOCU~1\BRMC\Species\RECORD~2\Addins
03fb0000 SHOWUN~1.OCX    6.0.0.11         C:\DOCUME~1\keith\MYDOCU~1\BRMC\Species\RECORD~2\Addins
041d0000 STDVAL~1.DLL    6.14.3.208       C:\DOCUME~1\keith\MYDOCU~1\BRMC\Species\RECORD~2\Addins
10000000 MS5.Dll         5.0.0.12         C:\Documents and Settings\keith\My Documents\BRMC\Species\Recorder 6 Server
20000000 xpsp3res.dll    5.1.2600.5512    C:\WINDOWS\system32
4dd00000 sqloledb.dll    2000.85.1132.0   C:\Program Files\Common Files\System\OLE DB
4de10000 msado15.dll     2.81.1132.0      C:\Program Files\Common Files\System\ADO
4ec50000 gdiplus.dll     5.2.6001.22319   C:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.6001.22319_x-ww_f0b4c2df
5ad70000 uxtheme.dll     6.0.2900.5512    C:\WINDOWS\system32
5b860000 NETAPI32.dll    5.1.2600.5694    C:\WINDOWS\system32
5d090000 comctl32.dll    5.82.2900.5512   C:\WINDOWS\system32
5edd0000 olepro32.dll    5.1.2600.5512    C:\WINDOWS\system32
605d0000 mslbui.dll      5.1.2600.5512    C:\WINDOWS\system32
60e30000 MSDATL3.dll     2.81.1132.0      C:\Program Files\Common Files\System\OLE DB
662b0000 hnetcfg.dll     5.1.2600.5512    C:\WINDOWS\system32
68000000 rsaenh.dll      5.1.2600.5507    C:\WINDOWS\system32
68100000 dssenh.dll      5.1.2600.5507    C:\WINDOWS\system32
69b10000 msxml4.dll      4.20.9876.0      C:\WINDOWS\system32
6d4f0000 DBNETLIB.DLL    2000.85.1132.0   C:\WINDOWS\system32
71a50000 mswsock.dll     5.1.2600.5625    C:\WINDOWS\system32
71a90000 wshtcpip.dll    5.1.2600.5512    C:\WINDOWS\System32
71aa0000 WS2HELP.dll     5.1.2600.5512    C:\WINDOWS\system32
71ab0000 WS2_32.dll      5.1.2600.5512    C:\WINDOWS\system32
71ad0000 wsock32.dll     5.1.2600.5512    C:\WINDOWS\system32
71b20000 mpr.dll         5.1.2600.5512    C:\WINDOWS\system32
71f80000 security.dll    5.1.2600.5512    C:\WINDOWS\system32
73000000 winspool.drv    5.1.2600.5512    C:\WINDOWS\system32
73160000 oledb32.dll     2.81.1132.0      C:\Program Files\Common Files\System\OLE DB
74060000 msadce.dll      2.81.3002.0      C:\Program Files\Common Files\System\MSADC
74320000 odbc32.dll      3.525.1132.0     C:\WINDOWS\system32
74720000 MSCTF.dll       5.1.2600.5512    C:\WINDOWS\system32
74cd0000 DBmsLPCn.dll    2000.80.760.0    C:\WINDOWS\system32
750b0000 RESUTILS.DLL    5.1.2600.5512    C:\WINDOWS\system32
750f0000 MTXCLU.DLL      2001.12.4414.706 C:\WINDOWS\system32
75130000 colbact.DLL     2001.12.4414.700 C:\WINDOWS\system32
75350000 OLEDB32R.DLL    2.81.1132.0      C:\Program Files\Common Files\System\OLE DB
755c0000 msctfime.ime    5.1.2600.5512    C:\WINDOWS\system32
76390000 IMM32.DLL       5.1.2600.5512    C:\WINDOWS\system32
763b0000 comdlg32.dll    6.0.2900.5512    C:\WINDOWS\system32
765b0000 MSDART.DLL      2.81.1132.0      C:\WINDOWS\system32
76620000 comsvcs.dll     2001.12.4414.702 C:\WINDOWS\system32
76780000 SHFolder.dll    6.0.2900.5512    C:\WINDOWS\system32
76790000 cryptdll.dll    5.1.2600.5512    C:\WINDOWS\system32
767a0000 ntdsapi.dll     5.1.2600.5512    C:\WINDOWS\system32
767f0000 schannel.dll    5.1.2600.5834    C:\WINDOWS\system32
769c0000 USERENV.dll     5.1.2600.5512    C:\WINDOWS\system32
76b40000 winmm.dll       5.1.2600.5512    C:\WINDOWS\system32
76d10000 CLUSAPI.DLL     5.1.2600.5512    C:\WINDOWS\system32
76d60000 iphlpapi.dll    5.1.2600.5512    C:\WINDOWS\system32
76f20000 DNSAPI.dll      5.1.2600.5625    C:\WINDOWS\system32
76f60000 WLDAP32.dll     5.1.2600.5512    C:\WINDOWS\system32
76fb0000 winrnr.dll      5.1.2600.5512    C:\WINDOWS\System32
76fc0000 rasadhlp.dll    5.1.2600.5512    C:\WINDOWS\system32
76fd0000 CLBCATQ.DLL     2001.12.4414.700 C:\WINDOWS\system32
77050000 COMRes.dll      2001.12.4414.700 C:\WINDOWS\system32
77120000 oleaut32.dll    5.1.2600.5512    C:\WINDOWS\system32
773d0000 comctl32.dll    6.0.2900.5512    C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83
774e0000 ole32.dll       5.1.2600.5512    C:\WINDOWS\system32
77a80000 crypt32.dll     5.131.2600.5512  C:\WINDOWS\system32
77b20000 MSASN1.dll      5.1.2600.5875    C:\WINDOWS\system32
77b40000 apphelp.dll     5.1.2600.5512    C:\WINDOWS\system32
77c00000 version.dll     5.1.2600.5512    C:\WINDOWS\system32
77c10000 msvcrt.dll      7.0.2600.5512    C:\WINDOWS\system32
77c70000 msv1_0.dll      5.1.2600.5876    C:\WINDOWS\system32
77dd0000 advapi32.dll    5.1.2600.5755    C:\WINDOWS\system32
77e70000 RPCRT4.dll      5.1.2600.5795    C:\WINDOWS\system32
77f10000 GDI32.dll       5.1.2600.5698    C:\WINDOWS\system32
77f60000 SHLWAPI.dll     6.0.2900.5512    C:\WINDOWS\system32
77fe0000 Secur32.dll     5.1.2600.5834    C:\WINDOWS\system32
7c800000 kernel32.dll    5.1.2600.5781    C:\WINDOWS\system32
7c900000 ntdll.dll       5.1.2600.5755    C:\WINDOWS\system32
7c9c0000 shell32.dll     6.0.2900.5622    C:\WINDOWS\system32
7e410000 user32.dll      5.1.2600.5512    C:\WINDOWS\system32
7e4b0000 HHCtrl.ocx      5.2.3790.4110    C:\WINDOWS\system32
7e720000 SXS.DLL         5.1.2600.5512    C:\WINDOWS\system32

Exception Stack

----------------
EOleException : Incorrect syntax near 'T'

Regards, Keith

3

Re: NERC S41 designation for White Admiral

In the following snippet of SQL, there appears to be a quote missing after Yes. That can probably be fixed if you are able to locate the relevant entry in the report wizard tables.

I also wonder if the dot in "England NERC S.41" might be causing a problem? Probably not, but worth checking maybe.

SQL: UPDATE "#REPORT_OUTPUT" SET #REPORT_OUTPUT.[England NERC S.41]='Yes FROM #Report_Output
Charles Roper
Digital Development Manager | Field Studies Council
http://www.field-studies-council.org | https://twitter.com/charlesroper | https://twitter.com/fsc_digital

4

Re: NERC S41 designation for White Admiral

I've just noticed that the NBN Gateway too seems to have problems with White Admiral.

If I type in Ladoga camilla I get 19 datasets listed including Butterfly Conservation's datasets up to 1999 only.

If instead I type in White Admiral or Limenitis camilla I get only 12 datasets listed including Butterfly Conservation's dataset covering 2000-2004 only.

I get different maps for the two cases. The taxonomic information says both are correct names and neither references the other. These are the same species aren't they?

I have implemented basic distribution map web-services for our locally-sourced datasets here http://www.bedscape.org.uk/BNHS/soap/index.htm and find that for Ladoga camilla no common name was returned from the Gateway, but for all other butterflies in the dataset they are, with one exception - Camberwell Beauty which also appears on the Gateway in two guises (and maps) Nymphalis antiopa and Aglais antiopa, only the latter seemingly known as Camberwell Beauty, but most gateway records are for the former?

Am I missing something embarassingly obvious?

Regards, Keith

5

Re: NERC S41 designation for White Admiral

Can't help with your synonymy issue Keith, but we had already discussed the error you detected in the reporting tables. It is actually much more general, affecting dozens of statuses, not just the NERC ones.

A fix is described here
http://forums.nbn.org.uk/viewtopic.php?id=1295

Rob Large
Wildlife Sites Officer
Wiltshire & Swindon Biological Records Centre

6

Re: NERC S41 designation for White Admiral

Hello Keith

The NBN Gateway uses the NHM species dictionary. In this dictionary the preferred name for White Admiral is Limenitis camilla and Camberwell Beauty is Agalis antiopa. Searching on either the common or scientific name should bring up the same map.

However neither Ladago camilla or Nymphalis antiopa are associated with the corresponding preferred name in the NHM species dictionary so searching on these on the Gateway lead to a differing map and no common name.

What is need is for the NHM species dictionary to be updated so that  these 2 synonymous names are linked to their preferred name. I have requested this so that once is has been incorporated it can be updated on the NBN Gateway as the dictionary on the Gateway is updated

Best wishes

Graham
NBN Technical Liaison Officer

7

Re: NERC S41 designation for White Admiral

Thanks for following-up on this Graham and making the request.

I wonder how many other schizophrenic species there may be that haven't been spotted because they each produce a response to their name...?

Regards, Keith