* Create Individual Shortcut error

For users to report plugin bugs and request plugin enhancements; and for authors to test new/new versions of plugins, and to discuss plugin development (in the Programming Technicalities sub-forum). If you want advice on choosing or using a plugin, please ask in General Usage or an appropriate sub-forum.
Post Reply
User avatar
BillH
Megastar
Posts: 2257
Joined: 31 May 2010 03:40
Family Historian: V7
Location: Washington State, USA

Create Individual Shortcut error

Post by BillH »

When running the Create Individual Shortcut plugin I get the following error:

image1.jpg
image1.jpg (12.82 KiB) Viewed 4374 times

This is with version 1.0 of the plugin. I checked in the store and this is the most current version being offered there as well.

Thanks,
Bill
Bill Henshaw
User avatar
tatewise
Megastar
Posts: 28413
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Create Individual Shortcut error

Post by tatewise »

That plugin seems to have got a confused status.
There are several variants of V1.0 with different Dates and the one in the Plugin Store is not the one you are running, because its line 72 is different.
I have still got the FH V7.0 beta installed alongside FH V6.2.7 and that confuses the Plugin when it interrogates the Windows Registry to find the installed FH program fh.exe path.

So I am not sure what to suggest without a more detailed investigation.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
User avatar
ColeValleyGirl
Megastar
Posts: 5502
Joined: 28 Dec 2005 22:02
Family Historian: V7
Location: Cirencester, Gloucestershire
Contact:

Re: Create Individual Shortcut error

Post by ColeValleyGirl »

Try downloading the version in the store -- the code is actually version 2 and has been updated for FH7; the error is in the description which still says version 1
User avatar
tatewise
Megastar
Posts: 28413
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Create Individual Shortcut error

Post by tatewise »

Beware if you still have FH V7.0 beta installed.
Even when run from FH V6.2.7 the shortcut launches FH V7.0 beta on your FH V6.2.7 Projects and converts them if not careful.

BTW: The Updated date is also wrong. Should be V2.0 Updated 30 Mar 2020
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
User avatar
BillH
Megastar
Posts: 2257
Joined: 31 May 2010 03:40
Family Historian: V7
Location: Washington State, USA

Re: Create Individual Shortcut error

Post by BillH »

I can download and install the version from the store. I only have 6.2.7 installed at this point. I uninstalled the beta.

But first I have a question. Why doesn't the old version that I have continue to run with 6.2.7? Nothing has changed in my installation of 6.2.7.

Bill
Bill Henshaw
User avatar
BillH
Megastar
Posts: 2257
Joined: 31 May 2010 03:40
Family Historian: V7
Location: Washington State, USA

Re: Create Individual Shortcut error

Post by BillH »

OK... I downloaded the version 2 from the store. I get a similar error. Looks like only the line number is different.

image2.jpg
image2.jpg (14.08 KiB) Viewed 4286 times

Bill
Bill Henshaw
User avatar
tatewise
Megastar
Posts: 28413
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Create Individual Shortcut error

Post by tatewise »

I suspect it is due to Windows Registry leftovers from FH V7.0 beta.

Can you run the attached Plugin and check the message box FH installation path.
[ EDIT: Attachment deleted as no longer needed. ]
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
User avatar
BillH
Megastar
Posts: 2257
Joined: 31 May 2010 03:40
Family Historian: V7
Location: Washington State, USA

Re: Create Individual Shortcut error

Post by BillH »

Mike,

This is all I got.

image3.jpg
image3.jpg (4.75 KiB) Viewed 4283 times
image4.jpg
image4.jpg (14.09 KiB) Viewed 4283 times
Bill
Bill Henshaw
User avatar
tatewise
Megastar
Posts: 28413
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Create Individual Shortcut error

Post by tatewise »

As I thought.
That is being obtained from the Windows Registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\FH.exe\
which on my PC is C:\Program Files (x86)\Family Historian 7 beta\Program\fh.exe
but on your PC, FH V7.0 beta has been uninstalled, so it is empty.
It does not get restored to its previous value of C:\Program Files (x86)\Family Historian\Program\fh.exe
which is where FH V6 is installed.

I think the only solution is to re-install the FH V6.2.7 latest free download to reset that Windows Registry key.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
User avatar
BillH
Megastar
Posts: 2257
Joined: 31 May 2010 03:40
Family Historian: V7
Location: Washington State, USA

Re: Create Individual Shortcut error

Post by BillH »

I re-installed the latest update file for 6.2.7 and still get the same error. I looked in the registry and I don't have a key with the name HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\FH.exe\.

Bill
Bill Henshaw
User avatar
tatewise
Megastar
Posts: 28413
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Create Individual Shortcut error

Post by tatewise »

I'm not sure what else to suggest.
This is my Windows Registry key:
RegistryAppPaths.png
RegistryAppPaths.png (24.39 KiB) Viewed 4256 times
Are you comfortable creating that key with the FH V6 path?

Alternatively, try this attached Plugin that bypasses the Windows Registry key and hard codes the path as:
C:\Program Files (x86)\Family Historian\Program\fh.exe
[ EDIT: Attachment deleted as no longer needed. ]
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
User avatar
BillH
Megastar
Posts: 2257
Joined: 31 May 2010 03:40
Family Historian: V7
Location: Washington State, USA

Re: Create Individual Shortcut error

Post by BillH »

Mike,

I will try to create that key manually.

What I don't understand is how I got into this situation. All I did was use Control Panel to uninstall the beta. I did not manually delete this key from the Registry.

Has anyone else uninstalled the beta and run into the same problem?

Bill
Bill Henshaw
User avatar
tatewise
Megastar
Posts: 28413
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Create Individual Shortcut error

Post by tatewise »

It is probably only this Plugin that reads that Registry key, because it needs the fh.exe path for the Shortcut.

Only beta testers who have uninstalled FH V7 beta and NOT installed FH V7 will be in your situation, so that is very few.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
User avatar
BillH
Megastar
Posts: 2257
Joined: 31 May 2010 03:40
Family Historian: V7
Location: Washington State, USA

Re: Create Individual Shortcut error

Post by BillH »

I added the registry key and the plugin worked fine.

Wouldn't most people uninstall the beta after installing FH 7 over FH 6.2.7? Seems like they would run into the same problem. Of course FH 7 has the functionality to remember the last person that had focus so this plugin isn't really necessary, but is the registry key missing for them also?

Bill
Bill Henshaw
User avatar
tatewise
Megastar
Posts: 28413
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Create Individual Shortcut error

Post by tatewise »

Yes, it seems likely the scenario you describe would suffer the same problem.
Maybe Calico Pie are the only ones who could definitively answer the question.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
avatar
E Wilcock
Megastar
Posts: 1181
Joined: 11 Oct 2014 07:59
Family Historian: V7
Location: London
Contact:

Re: Create Individual Shortcut error

Post by E Wilcock »

I down loaded the one you just posted on this thread and it gave me an error message Mike.
I havent used that plug in before. Was just exploring and curious.
User avatar
tatewise
Megastar
Posts: 28413
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Create Individual Shortcut error

Post by tatewise »

I'm not surprised Evelyn as that is an FH V6 plugin not updated for FH V7.

Notice that BillH is still using FH V6.2.7.

Everyone must keep their wits about them these days to make sure the scripts used are compatible with FH Version.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
avatar
E Wilcock
Megastar
Posts: 1181
Joined: 11 Oct 2014 07:59
Family Historian: V7
Location: London
Contact:

Re: Create Individual Shortcut error

Post by E Wilcock »

Mike, that is very odd. It is now working for me.
It launches the project in which the chosen person appears, and in which I set the plug in.
I didnt know this plug in existed till I read this thread.
But I am going to remove it as I can see with my incompetence, I may get one project open twice. I will keep the single fh & button on my desk top.
I am sorry to have been a nuisance.
Post Reply