MetaTrader Two Days Ago, Now Nothing

Questions about Wine on Linux
Locked
BobTheSlackUser
Level 1
Level 1
Posts: 5
Joined: Sun Oct 12, 2014 5:43 pm

MetaTrader Two Days Ago, Now Nothing

Post by BobTheSlackUser »

All,

Thanks ahead of time for all your help! Honestly, the fact that I can log onto a forum like this for a life line is great.

For the past year I've run a small business using MetaTrader on wine. It's worked just fine. In fact it was working great just last Friday, and had been working great for many weeks/months before that.

But then, I think MetaTrader tried to upgrade something or another, and today (Sunday) the software tries to start, but eventually dies. When I try to run wine from the command line here is what I get a TON of these messages . . .

preloader: Warning: failed to reserve range 00010000-00110000
fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
fixme:font:get_outline_text_metrics failed to read full_nameW for font L"Ani"!
fixme:ver:GetCurrentPackageId (0x238ea38 (nil)): stub
preloader: Warning: failed to reserve range 00010000-00110000
fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
fixme:font:get_outline_text_metrics failed to read full_nameW for font L"Ani"!
fixme:ver:GetCurrentPackageId (0x238ea38 (nil)): stub
preloader: Warning: failed to reserve range 00010000-00110000



Something about fonts I guess? . . .

But then the message that wine dies on is . . .


err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000122-0000-0000-c000-000000000046}
err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80040155
err:ole:CoMarshalInterface Failed to marshal the interface {00000122-0000-0000-c000-000000000046}, 80040155
err:ole:CoGetClassObject class {8856f961-340a-11d0-a96b-00c04fd705a2} not registered
err:ole:CoGetClassObject class {8856f961-340a-11d0-a96b-00c04fd705a2} not registered
err:ole:CoGetClassObject no class object {8856f961-340a-11d0-a96b-00c04fd705a2} could be created for context 0x3
err:ole:CoGetClassObject class {8856f961-340a-11d0-a96b-00c04fd705a2} not registered
err:ole:CoGetClassObject class {8856f961-340a-11d0-a96b-00c04fd705a2} not registered
err:ole:CoGetClassObject no class object {8856f961-340a-11d0-a96b-00c04fd705a2} could be created for context 0x3
err:ole:CoGetClassObject class {8856f961-340a-11d0-a96b-00c04fd705a2} not registered
err:ole:CoGetClassObject class {8856f961-340a-11d0-a96b-00c04fd705a2} not registered
err:ole:CoGetClassObject no class object {8856f961-340a-11d0-a96b-00c04fd705a2} could be created for context 0x3
err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000122-0000-0000-c000-000000000046}
err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80040155
err:ole:CoMarshalInterface Failed to marshal the interface {00000122-0000-0000-c000-000000000046}, 80040155
err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000122-0000-0000-c000-000000000046}
err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80040155
err:ole:CoMarshalInterface Failed to marshal the interface {00000122-0000-0000-c000-000000000046}, 80040155
err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000122-0000-0000-c000-000000000046}
err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80040155
err:ole:CoMarshalInterface Failed to marshal the interface {00000122-0000-0000-c000-000000000046}, 80040155
err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000122-0000-0000-c000-000000000046}
err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80040155
err:ole:CoMarshalInterface Failed to marshal the interface {00000122-0000-0000-c000-000000000046}, 80040155
fixme:dbghelp:validate_addr64 Unsupported address fffffffff7320000




Any help would be TREMENDOUSLY appreciated. I hate to think of the new programing I'd have to do to go back to windows.

Thanks,

Bob
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: MetaTrader Two Days Ago, Now Nothing

Post by dimesio »

Wine version? If it's not 1.7.28, upgrade. There was a problem with Metatrader in 1.7.27 that was reported fixed. viewtopic.php?f=8&t=23504
BobTheSlackUser
Level 1
Level 1
Posts: 5
Joined: Sun Oct 12, 2014 5:43 pm

Re: MetaTrader Two Days Ago, Now Nothing

Post by BobTheSlackUser »

dimesio,

Thank you for the reply! I have indeed upgraded to 1.7.28, but still no luck.

One thing that DID help though was to register the ole32 library by running

/usr/bin/32/regsvr32 ole32

Like I said that cut down on some of the error messages, but the others like

err:ole:CoGetClassObject class {8856f961-340a-11d0-a96b-00c04fd705a2} not registered
err:ole:CoGetClassObject class {8856f961-340a-11d0-a96b-00c04fd705a2} not registered
err:ole:CoGetClassObject no class object {8856f961-340a-11d0-a96b-00c04fd705a2} could be created for context 0x3

still need some work.

I looked online and it seems these are related to ODBC. Now I am a big no nothing about wine, but I tried stuff similar to /usr/bin/32/regsvr32 ole32 by running it on the ODBC stuff in the /usr/lib/wine/fakedlls/ directory by running

/usr/bin/32/regsvr32 odbccp32 etc.

Mind you, I know nothing about wine and since /usr/bin/32/regsvr32 ole32 work well I thought I'd take a shot. Turns out those dlls don't respond the same way.

Anyway, I'm still looking for an answer.

Thanks,

Bob
BobTheSlackUser
Level 1
Level 1
Posts: 5
Joined: Sun Oct 12, 2014 5:43 pm

Re: MetaTrader Two Days Ago, Now Nothing

Post by BobTheSlackUser »

By the way, when I install wine, and then I run winecfg from the commandline (to create my .wine directory in my home directory) I get this error . . .

failed to update /home/bob/.wine with /usr/bin/32/../share/wine/wine.inf: No such file or directory

is this wine.inf file important?

Thanks,

Bob
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: MetaTrader Two Days Ago, Now Nothing

Post by dimesio »

You shouldn't have to register ole32, because it's part of Wine, and already registered.

Yes, wine.inf is important. Where did you get Wine from? Sounds like your build is broken.
BobTheSlackUser
Level 1
Level 1
Posts: 5
Joined: Sun Oct 12, 2014 5:43 pm

Re: MetaTrader Two Days Ago, Now Nothing

Post by BobTheSlackUser »

dimesio,

Sorry for taking a day+ to respond. I had to work really late last night and couldn't get back to this issue.

I think you are right about my build.

I'm actually on Slackware 14.1 64 bit. But Metatrader is only 32 bit, So I've installed the 32 bit Linux and Wine libraries from a pretty great power user who goes my Alien Bob.

Anyway, I think I'll have to delve into fixing my wine build before we go any farther. I'll look into that tomorrow and let you know how things are going.

Thanks!

Bob
BobTheSlackUser
Level 1
Level 1
Posts: 5
Joined: Sun Oct 12, 2014 5:43 pm

Re: MetaTrader Two Days Ago, Now Nothing

Post by BobTheSlackUser »

All,
Sorry it has taken so long to get back to this thread. I've actually been letting my software run on a windows machine :( until I could get a break in my schedule to come back and work on this problem. That break came during the Christmas vacation from work.

From the last post it was clear that my wine install was broken. I am running 64 bit Slackware, but needed to run a 32 bit version of wine. The short answer was the the conversion of a compiled 32 bit version to run on Slackware 64 was breaking the wine installation. To convert an install to the slackware 64 bit file structure, I use scripts that strip out/move various components of wine to shoe horn the install into the slackware 64bit file structure. These scripts usually work, they really have been fairly reliable -- even with wine.

But in this last case they cause wine not to work.

So the easy solution was to just build wine with the configure prefix set to /home/<my home directory>, or I could have used the /opt directly, and just install wine without trying to convert it to the Slackware 64 bit file hierarchy.

Since I did this everything works fine.

So, thanks everyone for you help. I hope this post helps someone.

Bob
Locked