* Library Modules in WINE, Crossover, POM, POL
- JP Ford
- Diamond
- Posts: 86
- Joined: 16 Feb 2020 14:11
- Family Historian: V6.2
- Location: Yorkshire, UK
- Contact:
Library Modules in WINE, Crossover, POM, POL
"Check for Possible Duplicate Media" plugin not working under POL. Similar to previous issue with Research Planner, plugin starts, notifies that it requires md5 support, offers to download, fails to download.
Downloaded md5.zip, extracted to plugins folder, restart FH, run plugin, same result.
Downloaded md5.zip, extracted to plugins folder, restart FH, run plugin, same result.
Researching SORRELL and SORELLE families and associated lines.
https://sorrellnotes.us
https://sorrellnotes.us
- tatewise
- Megastar
- Posts: 27088
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: Library Modules in WINE, Crossover, POM, POL
Are you sure it is unzipped it into correct ...drive_c/ProgramData/Calico Pie/Family Historian/Plugins/md5 folder?
That folder should hold core.dll and des56.dll only.
Have you run the Plugin test script as advised in how_to:family_historian_v6_on_crossover_wine#plugin_library_modules|> Plugin Library Modules?
We went through this before and after a bit of double-checking and correcting it worked fine.
That folder should hold core.dll and des56.dll only.
Have you run the Plugin test script as advised in how_to:family_historian_v6_on_crossover_wine#plugin_library_modules|> Plugin Library Modules?
We went through this before and after a bit of double-checking and correcting it worked fine.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
- JP Ford
- Diamond
- Posts: 86
- Joined: 16 Feb 2020 14:11
- Family Historian: V6.2
- Location: Yorkshire, UK
- Contact:
Re: Library Modules in WINE, Crossover, POM, POL
No, haven't run the test script you referred to. Will do so in a bit. The only thing that changed with me last time was the POL and Wine version, which is now current, so not sure what else to do. Yes, it's in the correct directory.
Researching SORRELL and SORELLE families and associated lines.
https://sorrellnotes.us
https://sorrellnotes.us
- JP Ford
- Diamond
- Posts: 86
- Joined: 16 Feb 2020 14:11
- Family Historian: V6.2
- Location: Yorkshire, UK
- Contact:
Re: Library Modules in WINE, Crossover, POM, POL
So, ran script at how_to:family_historian_v6_on_crossover_wine#plugin_library_modules|> Plugin Library Modules and the md5 directory reports as present. Nonetheless, I get this when duplicate media plugin is run.
Researching SORRELL and SORELLE families and associated lines.
https://sorrellnotes.us
https://sorrellnotes.us
- Valkrider
- Megastar
- Posts: 1534
- Joined: 04 Jun 2012 19:03
- Family Historian: V7
- Location: Lincolnshire
- Contact:
Re: Library Modules in WINE, Crossover, POM, POL
I have just tried this plugin in POM and the result is exactly the same as JP has so this seems to be a Wine problem. I will try some more experiments later to see if I can get it running.
- Valkrider
- Megastar
- Posts: 1534
- Joined: 04 Jun 2012 19:03
- Family Historian: V7
- Location: Lincolnshire
- Contact:
Re: Library Modules in WINE, Crossover, POM, POL
This is the result of running the test plugin
CI_APP_DATA_FOLDER C:\users\Public\Application Data\Calico Pie\Family Historian/plugins
nil luasql nil mysql.dll nil
directory md5 file core.dll 10240
directory pl file init.lua 432
nil socket nil core.dll nil
directory plugins file zip.dll 66560
Plugin has completed
So the md5 is in the correct place
I then loaded the luasql and socket addons and reran the test and all are now showing as in place. This was just to make sure that the warning was for the correct addon and still the same result.
This has exhausted my knowledge. Can the md5 test be removed from the plugin as it is installed and in the correct place? If it can I suspect that it won't make any difference as it seems to me that the plugin is looking in the wrong place in a Wine install for the md5 addon.
CI_APP_DATA_FOLDER C:\users\Public\Application Data\Calico Pie\Family Historian/plugins
nil luasql nil mysql.dll nil
directory md5 file core.dll 10240
directory pl file init.lua 432
nil socket nil core.dll nil
directory plugins file zip.dll 66560
Plugin has completed
So the md5 is in the correct place
I then loaded the luasql and socket addons and reran the test and all are now showing as in place. This was just to make sure that the warning was for the correct addon and still the same result.
This has exhausted my knowledge. Can the md5 test be removed from the plugin as it is installed and in the correct place? If it can I suspect that it won't make any difference as it seems to me that the plugin is looking in the wrong place in a Wine install for the md5 addon.
- tatewise
- Megastar
- Posts: 27088
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: Library Modules in WINE, Crossover, POM, POL
I have investigated the black art of the Lua require(module) function that is key to checking if the library is loaded.
I don't pretend to understand the intricacies, but the md5.core.dll file seems to be critical to the process succeeding.
If whatever that core.dll invokes is not supported by WINE then the md5 library will not load.
Installing all the files in the correct folders is just the first step. Lua must then invoke a loader for the library module, and I suspect that is where it is failing, because running core.dll does not succeed.
There may be similar problems with the other library modules that rely on .dll files instead of .lua files.
As a matter of interest, Colin, does it work in Crossover?
I don't pretend to understand the intricacies, but the md5.core.dll file seems to be critical to the process succeeding.
If whatever that core.dll invokes is not supported by WINE then the md5 library will not load.
Installing all the files in the correct folders is just the first step. Lua must then invoke a loader for the library module, and I suspect that is where it is failing, because running core.dll does not succeed.
There may be similar problems with the other library modules that rely on .dll files instead of .lua files.
As a matter of interest, Colin, does it work in Crossover?
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
- Valkrider
- Megastar
- Posts: 1534
- Joined: 04 Jun 2012 19:03
- Family Historian: V7
- Location: Lincolnshire
- Contact:
Re: Library Modules in WINE, Crossover, POM, POL
@Mike
I have just checked and it also fails to run under the latest Crossover. If we can find what it is calling then we can probably add any required files to Crossover / POM.
I have just checked and it also fails to run under the latest Crossover. If we can find what it is calling then we can probably add any required files to Crossover / POM.
- tatewise
- Megastar
- Posts: 27088
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: Library Modules in WINE, Crossover, POM, POL
I have made a discovery that may explain the problem.
The md5 library needs the md5 folder of two .dll files and an md5.lua file in the Plugins folder.
Without that md5.lua file the Plugin exhibits the failure mode you have been getting.
The how_to:family_historian_v6_on_crossover_wine#plugin_library_modules|> Plugin Library Modules md5.zip download did not include that md5.lua file, but it does now.
So please download, unpack, and copy its contents to the Plugins folder to provide an md5 folder as before but also an md5.lua file in the Plugins folder.
If that gets past the md5 hurdle, then there may be similar missing .lua files from some other library module .zip files.
The md5 library needs the md5 folder of two .dll files and an md5.lua file in the Plugins folder.
Without that md5.lua file the Plugin exhibits the failure mode you have been getting.
The how_to:family_historian_v6_on_crossover_wine#plugin_library_modules|> Plugin Library Modules md5.zip download did not include that md5.lua file, but it does now.
So please download, unpack, and copy its contents to the Plugins folder to provide an md5 folder as before but also an md5.lua file in the Plugins folder.
If that gets past the md5 hurdle, then there may be similar missing .lua files from some other library module .zip files.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
- Valkrider
- Megastar
- Posts: 1534
- Joined: 04 Jun 2012 19:03
- Family Historian: V7
- Location: Lincolnshire
- Contact:
Re: Library Modules in WINE, Crossover, POM, POL
Well sorted @Mike that has fixed POM and Crossover.
@JP please also note that this plugin wants the luasql module too.
- JP Ford
- Diamond
- Posts: 86
- Joined: 16 Feb 2020 14:11
- Family Historian: V6.2
- Location: Yorkshire, UK
- Contact:
Re: Library Modules in WINE, Crossover, POM, POL
yEPPIR, that sorted it out on POL as well! Nice catch, Mike!!
Researching SORRELL and SORELLE families and associated lines.
https://sorrellnotes.us
https://sorrellnotes.us