GenoPro Home
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 
Self made reports ( 2 pcs)


https://support.genopro.com/Topic34371.aspx
Print Topic | Close Window

By Jarmo - Sunday, December 21, 2014
Hi there

I've got two self made reports (see attachments; "contacts.js" and "default.htm") that used to have worked but for my big suprise they didn't work anymore but I can't find out why?  Will you please help?  BR, Jarmo
By genome - Monday, December 22, 2014
Both reports work fine, but you did remember that each requires a Config.xml file didn't you?

For email listing (default.htm) required Config.xml should contain something like:

<?xml version="1.0" encoding="UTF-8"?>
<Skin Name="email Listing">
<ReportGenerator ScriptLanguage="JavaScript" >
<Report Template="default.htm" />
<StartPage>default.htm</StartPage>
</ReportGenerator>
</Skin>

and for the Contact details (contacts.js) the required Config.xml file should have:

<?xml version="1.0" encoding="UTF-8"?>
<Skin Name="Contacts to CSV" Language="EN">
<ReportGenerator ScriptLanguage="JScript">
  <Report Template="contacts.js" OutputFile="contacts.csv" OutputFormat="Text"/>
  <StartPage>contacts.csv</StartPage>
 </ReportGenerator>
</Skin>
By Jarmo - Monday, December 22, 2014
Hello

Yes, I have Config -files (see attached), untouched, for both reports.  BR, Jarmo
By genome - Monday, December 22, 2014
Then they should work, what happens when you try to run them?  Do they appear in the drop down list of skins?
By Jarmo - Monday, December 22, 2014
Hi

Yes, I see both reports in "drop down" list and I'm also able to run them (the system also prompts to "Close" the window after running the report) but:

- empty browser page for "Mailing list" -report.  Log file looks like this:

Unable to create Debug Manager (hr=0x80040154)
Luodaan web-sivu kohteeseen 'C:\Temp\Saksi\'
Kloonataan dokumentti saksi...
Avataan asetustiedosto Config.xml mallille '\Mailing List\*  (Sähköpostiosoitteet)'...
Ladataan sanakirjatiedosto Dictionary.xml...
[0.00] Prosessoidaan mallia 'default.htm'...
Luotiin 1 sivu (1 sivua ei muutettu) 0.016 sekunnissa
[0.01] Kirjoitetaan tiedostoja mallista...
[0.01] Selvitys valmis! Napauta "Sulje" jatkaaksesi.

- empty, except the Columns headers are there, but otherwise MS Excel sheet for "Contacts.csv" -report.  Log file looks like this:

Unable to create Debug Manager (hr=0x80040154)
Luodaan web-sivu kohteeseen 'C:\Temp\Saksi\'
Kloonataan dokumentti saksi...
Avataan asetustiedosto Config.xml mallille '\Export Contacts to CSV\*  (Contacts to CSV)'...
Ladataan sanakirjatiedosto Dictionary.xml...
[0.00] Prosessoidaan mallia 'contacts.js'...
Luotiin 1 sivu (1 sivua ei muutettu)
[0.00] Kirjoitetaan tiedostoja mallista...
[0.00] Selvitys valmis! Napauta "Sulje" jatkaaksesi.

I wonder what that "Unable to create Debug Manager" line means?  Where does it come from and why?

BR, Jarmo
By genome - Monday, December 22, 2014
Ok my 'sixth sense' is telling me that you have Privacy options set to exclude living individuals so no data, but it could be wrong. Wink

p.s. I have never understood the 'debug manager' message either but it does not interfere with the running of reports.
By Jarmo - Monday, December 22, 2014
Hello

As you pinpointed I really had "Remove all contact information" selected in  "Privacy" -tab.  I removed this selection and now both reports work as a dream and as before.  I really am hopeless.  Many thanks, again, for your patience and kind support.

Merry Christmas! 

Jarmo