Author Topic: (DB?) plugins not loaded via Wine  (Read 10035 times)

0 Members and 1 Guest are viewing this topic.

Offline dartraiden

Re: (DB?) plugins not loaded via Wine
« Reply #15 on: 12 04 2020, 13:12:50 »
Thanks, fixed.
« Last Edit: 12 04 2020, 13:14:33 by dartraiden »
 

Offline TheQL

  • Newbie
  • *
  • Posts: 13
Re: (DB?) plugins not loaded via Wine
« Reply #16 on: 14 04 2020, 12:59:12 »
Update:

Using both, the development build and plugin I got to select the sqlite driver and create a new profile. The main application window did not show, though.

I have a memdump in CrashLog and the console output. I'll post/attach both, not sure if you're interested in it.

Thanks for your assistance so far!

Code: [Select]
~/.wines/miranda/drive_c/Miranda_NG # ./Miranda.sh
0010:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
0010:fixme:msvcrt:_configure_wide_argv (1) stub
0010:fixme:msvcrt:_initialize_wide_environment stub
0012:err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
0012:err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
0012:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
0012:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
0012:err:ole:get_local_server_stream Failed: 80004002
0010:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
0010:fixme:uxtheme:BufferedPaintInit Stub ()
0010:err:ole:CoGetClassObject class {56fdf344-fd6d-11d0-958a-006097c9a090} not registered
0010:err:ole:CoGetClassObject class {56fdf344-fd6d-11d0-958a-006097c9a090} not registered
0010:err:ole:create_server class {56fdf344-fd6d-11d0-958a-006097c9a090} not registered
0010:fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported
0010:err:ole:CoGetClassObject no class object {56fdf344-fd6d-11d0-958a-006097c9a090} could be created for context 0x17
0010:fixme:dwmapi:DwmIsCompositionEnabled 0x22ea50
0010:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
0010:fixme:msg:pack_message msg 14 (WM_ERASEBKGND) not supported yet
0010:fixme:uxtheme:BufferedPaintInit Stub ()
0010:err:ole:CoGetClassObject class {56fdf344-fd6d-11d0-958a-006097c9a090} not registered
0010:err:ole:CoGetClassObject class {56fdf344-fd6d-11d0-958a-006097c9a090} not registered
0010:err:ole:create_server class {56fdf344-fd6d-11d0-958a-006097c9a090} not registered
0010:fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported
0010:err:ole:CoGetClassObject no class object {56fdf344-fd6d-11d0-958a-006097c9a090} could be created for context 0x17
0010:err:ole:CoGetClassObject class {56fdf344-fd6d-11d0-958a-006097c9a090} not registered
0010:err:ole:CoGetClassObject class {56fdf344-fd6d-11d0-958a-006097c9a090} not registered
0010:err:ole:create_server class {56fdf344-fd6d-11d0-958a-006097c9a090} not registered
0010:fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported
0010:err:ole:CoGetClassObject no class object {56fdf344-fd6d-11d0-958a-006097c9a090} could be created for context 0x17
0010:err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
0010:err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000122-0000-0000-c000-000000000046}
0010:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
0010:err:ole:CoMarshalInterface Failed to marshal the interface {00000122-0000-0000-c000-000000000046}, 80004002

This error got me wondering if the dll registration of secur32.dll worked.
Code: [Select]
0010:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated
Then I noticed I had configured all the dll exceptions but I had forgotten to copy the dlls to windows/system32. D'oh, that supposedly cannot work! So on with a new attempt, see below.
« Last Edit: 14 04 2020, 13:02:09 by TheQL »
 

Offline TheQL

  • Newbie
  • *
  • Posts: 13
Re: (DB?) plugins not loaded via Wine
« Reply #17 on: 14 04 2020, 13:01:24 »
So, although my results with winebottler all failed I created another config with its help and grabbed the Win7-64 dlls from it's bottle and copied them to my manually created setup. The result is totally different.

The profile manager doesn't even show anymore. This is the new error:

Code: [Select]
/.wines/miranda/drive_c/Miranda_NG # ./Miranda.sh
0010:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
0010:fixme:msvcrt:_configure_wide_argv (1) stub
0010:fixme:msvcrt:_initialize_wide_environment stub
0010:err:seh:setup_exception stack overflow 2288 bytes in thread 0010 eip 000000007bc41179 esp 0000000000130d20 stack 0x130000-0x131000-0x230000

As no profile can be created there is also no further CrashLog or memdump.
 

Offline TheQL

  • Newbie
  • *
  • Posts: 13
Re: (DB?) plugins not loaded via Wine
« Reply #18 on: 14 04 2020, 13:30:29 »
Ok, so apparently, when adding or removing or changing the dlls you need to run winecfg again.

There seem to be some other mismatches in my setup. Winebottler allows me to select either Win7 or 7-64 - running winecfg on my commandline only offers Windows 7 as an option.

I have now copied the dlls and ran winecfg when using just "Win 7" in winebottler, this yields yet another result:
Code: [Select]
~/.wines/miranda/drive_c/Miranda_NG # ./Miranda.sh
0010:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
0010:fixme:msvcrt:_configure_wide_argv (1) stub
0010:fixme:msvcrt:_initialize_wide_environment stub
0010:err:module:import_dll Loading library Secur32.dll (which is needed by L"C:\\Miranda_NG\\libs\\mir_app.mir") failed (error c000007b).
0012:err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
0012:err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
0012:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
0012:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
0012:err:ole:get_local_server_stream Failed: 80004002

On top of that a Window appears stating "mir_app.mir cannot be loaded".
 

Offline TheQL

  • Newbie
  • *
  • Posts: 13
Re: (DB?) plugins not loaded via Wine
« Reply #19 on: 20 04 2020, 08:16:44 »
So this has lost a little drive. I can see it is not totally relevant, but if you improve your sqlite plugin and/or enable the mdbx for Wine maybe update your installation procedures. Also I actually like Winebottler, but as it's not standard I can't expect you to include that in your documentation. Thanks for your help!
 

Offline dartraiden

Re: (DB?) plugins not loaded via Wine
« Reply #20 on: 20 04 2020, 17:24:06 »
We have plans to fix dbx_mdbx, but we don’t have time yet...

I will completely rewrite the instructions on the wiki, I will try to deal with Winebottler, although I have never used it
 
The following users thanked this post: TheQL

Offline TheQL

  • Newbie
  • *
  • Posts: 13
Re: (DB?) plugins not loaded via Wine
« Reply #21 on: 21 04 2020, 09:08:15 »
Thanks! I guess the Winebottler developer would also assist and add a preset for Miranda.
 

Offline dartraiden

Re: (DB?) plugins not loaded via Wine
« Reply #22 on: 09 02 2021, 17:45:11 »
Just tested on Ubuntu 20.10 + wine-staging + Miranda x64. All OK.
It does not work on wine-stable or wine-devel. Also Miranda x32 does not work too.

It's recommended to use dbx_sqlite database driver, not dbx_mdbx.
« Last Edit: 09 02 2021, 17:48:56 by dartraiden »
 
The following users thanked this post: TheQL