A trading program won't run

Questions about Wine on Linux
Locked
Formosa
Level 1
Level 1
Posts: 5
Joined: Thu May 28, 2015 9:27 pm

A trading program won't run

Post by Formosa »

After installing the program, it won't work. This is the terminal output:

Code: Select all

fixme:actctx:parse_assembly_elem wrong namespace L"urn:schemas-microsoft-com:asm.v2"
fixme:actctx:parse_manifest_buffer failed to parse manifest L"C:\\users\\yaniv\\ApplicationData\\IBITradePlus\\Trade1.exe.manifest"
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"configSections" in state 1
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"section" in state 3
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"section" in state 3
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"section" in state 3
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"section" in state 3
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"section" in state 3
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"sectionGroup" in state 3
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"section" in state 3
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"section" in state 3
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"sectionGroup" in state 3
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"section" in state 3
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"section" in state 3
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"section" in state 3
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"QueryManagerConfig" in state 1
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"OnlineDataConfig" in state 1
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"TradingHours" in state 1
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"Start" in state 3
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"End" in state 3
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"ConnectionManagerConfig" in state 1
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"ClientConfig" in state 1
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"userSettings" in state 1
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"Trade1.Properties.Settings" in state 3
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"setting" in state 3
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"value" in state 3
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"setting" in state 3
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"value" in state 3
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"Trade1.Client.UIApp.Properties.Settings" in state 3
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"setting" in state 3
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"value" in state 3
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"setting" in state 3
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"value" in state 3
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"Unity" in state 1
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"container" in state 3
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"types" in state 3
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"register" in state 3
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"lifetime" in state 3
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"register" in state 3
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"lifetime" in state 3
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"register" in state 3
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"lifetime" in state 3
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"register" in state 3
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"lifetime" in state 3
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"register" in state 3
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"lifetime" in state 3
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"log4net" in state 1
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"root" in state 3
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"level" in state 3
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"appender-ref" in state 3
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"appender" in state 3
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"param" in state 3
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"param" in state 3
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"rollingStyle" in state 3
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"maxSizeRollBackups" in state 3
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"maximumFileSize" in state 3
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"staticLogFileName" in state 3
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"layout" in state 3
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"param" in state 3
fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for bias -120, std (d/m/y): 25/10/2015, dlt (d/m/y): 27/03/2015

Unhandled Exception:
System.TypeInitializationException: An exception was thrown by the type initializer for Trade1.Client.ConnectionManager.ProxyConnection ---> System.TypeInitializationException: An exception was thrown by the type initializer for log4net.Core.LoggerManager ---> System.TypeInitializationException: An exception was thrown by the type initializer for log4net.Util.SystemInfo ---> System.NotSupportedException: Can't get timezone name.
  at System.CurrentSystemTimeZone..ctor (Int64 lnow) [0x00000] in <filename unknown>:0 
  at System.TimeZone.get_CurrentTimeZone () [0x00000] in <filename unknown>:0 
  at System.DateTime.get_Now () [0x00000] in <filename unknown>:0 
  at log4net.Util.SystemInfo..cctor () [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at log4net.Core.LoggerManager.GetVersionInfo () [0x00000] in <filename unknown>:0 
  at log4net.Core.LoggerManager..cctor () [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at log4net.LogManager.GetLogger (System.Reflection.Assembly repositoryAssembly, System.String name) [0x00000] in <filename unknown>:0 
  at log4net.LogManager.GetLogger (System.Type type) [0x00000] in <filename unknown>:0 
  at Trade1.Client.ConnectionManager.ProxyConnection..cctor () [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at Trade1ClientApp.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An exception was thrown by the type initializer for Trade1.Client.ConnectionManager.ProxyConnection ---> System.TypeInitializationException: An exception was thrown by the type initializer for log4net.Core.LoggerManager ---> System.TypeInitializationException: An exception was thrown by the type initializer for log4net.Util.SystemInfo ---> System.NotSupportedException: Can't get timezone name.
  at System.CurrentSystemTimeZone..ctor (Int64 lnow) [0x00000] in <filename unknown>:0 
  at System.TimeZone.get_CurrentTimeZone () [0x00000] in <filename unknown>:0 
  at System.DateTime.get_Now () [0x00000] in <filename unknown>:0 
  at log4net.Util.SystemInfo..cctor () [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at log4net.Core.LoggerManager.GetVersionInfo () [0x00000] in <filename unknown>:0 
  at log4net.Core.LoggerManager..cctor () [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at log4net.LogManager.GetLogger (System.Reflection.Assembly repositoryAssembly, System.String name) [0x00000] in <filename unknown>:0 
  at log4net.LogManager.GetLogger (System.Type type) [0x00000] in <filename unknown>:0 
  at Trade1.Client.ConnectionManager.ProxyConnection..cctor () [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at Trade1ClientApp.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0 

Help :oops:
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: A trading program won't run

Post by dimesio »

Try installing whatever version of .NET the app requires.
Formosa
Level 1
Level 1
Posts: 5
Joined: Thu May 28, 2015 9:27 pm

Re: A trading program won't run

Post by Formosa »

https://appdb.winehq.org/objectManager. ... ngId=87214
i tired to install it using a script, but when i click 'enter' nothing happens.
Formosa
Level 1
Level 1
Posts: 5
Joined: Thu May 28, 2015 9:27 pm

Re: A trading program won't run

Post by Formosa »

SO.. I re-installed wine 32bit and then installed .NET Framework 3.5 SP1. Now the program runs, but after logging in.. nothing happens. Frustrating. I give up, i guess there's nothing to do at this point. :cry:
User avatar
L. Rahyen
Moderator
Moderator
Posts: 338
Joined: Fri Feb 22, 2008 9:13 pm

Re: A trading program won't run

Post by L. Rahyen »

You gave too little information, so it is very unlikely anyone will be able to help you. For example, you did not mention what trading program you are using (googling "IBITradePlus" mentioned in your terminal output gives me only your post and virus checks as search results, googling "IBI Trade Plus" gives no useful search results either). What is correct name of the program? Is it possible to try it for free?

Other things you did not mention are your Wine and OS versions, terminal output after installing .NET (there is a chance after or during logging in something goes wrong, and perhaps some errors are printed in the terminal). Answering all these questions would increase a chance that somebody will try to help you to solve the problem.

By the way, when you want to start from scratch, reinstalling Wine will usually have no effect (unless in your distro uninstalling Wine removes your personal files related to Wine). To start from scratch, you normally need to remove ~/.wine (rm -rf ~/.wine), or specify different Wine prefix with WINEPREFIX environment variable - in both cases, Wine will create fresh Wine prefix.
Formosa
Level 1
Level 1
Posts: 5
Joined: Thu May 28, 2015 9:27 pm

Re: A trading program won't run

Post by Formosa »

1. I use IBI Trade Plus. Google search does provide me with results, so i guess it depends on your location or language settings. Here's the direct link: http://tradeone.co.il/downloads/ibi/ibitradeplus.exe

2. I use Ubuntu 14.04.2 LTS 62bit, Wine 1.7 beta 32bit and .NET Framework 3.5 SP1 (while installation it requires this version, so no doubt it's the correct one). Plus, since i installed it, the program itself runs, but after typing username and password it won't load.

3. As for terminal output - it doesn't show any error. Usually, after i insert the username and password, either there's a log screen that says error (incorret password, for instance) or loading screen. But there's nothing, nothing loads, as if it disappears.
User avatar
L. Rahyen
Moderator
Moderator
Posts: 338
Joined: Fri Feb 22, 2008 9:13 pm

Re: A trading program won't run

Post by L. Rahyen »

Thanks for the link. I tried it in fresh Wine prefix:

Code: Select all

export WINEPREFIX=~/.wine-tmp
export WINEARCH=win32
wine ibitradeplus.exe
And it did not ask me for .NET Framework during installation (probably because I have mono instead). I have unchecked "Ibi Trade" before clicking "Finish" in the installer. Then I ran the application (replace "username" with your real user name):

Code: Select all

cd ~/.wine-tmp/drive_c/users/username/Application
wine Trade1.exe
Then I got log in window. I tried to enter random username and random password and pressed Enter and some message in Hebrew appeared (I cannot read Hebrew, but I guess that no such account exist). I unfortunately do not see a way to create a demo account, so I cannot test farther. But the point is, there is a chance that starting over with fresh Wine prefix and perhaps newer Wine version may help. If not, is it possible to create demo or empty account without paying them money to test their trading platform?

I suggest to try again in fresh Wine prefix as described above, and also check your wine version by running "wine --version" and update if its not 1.7.4x. Also, I suggest to try Mono instead of .NET.
Formosa
Level 1
Level 1
Posts: 5
Joined: Thu May 28, 2015 9:27 pm

Re: A trading program won't run

Post by Formosa »

I made a fresh new prefix as instructed, on the latest Wine version i could install (1.7.38, but couldn't find how to update to 1.7.44) and Wine mono 4.5.6 . I installed the program again, but as when I created the topic, it won't load and had the same terminal output. i'm not sure whether you can make a demo account, but I believe it's not relevant as the program runs for you, but not for me and i have to figure out why.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: A trading program won't run

Post by dimesio »

Formosa wrote:I made a fresh new prefix as instructed, on the latest Wine version i could install (1.7.38, but couldn't find how to update to 1.7.44) and Wine mono 4.5.6 . I installed the program again, but as when I created the topic, it won't load and had the same terminal output. i'm not sure whether you can make a demo account, but I believe it's not relevant as the program runs for you, but not for me and i have to figure out why.
Your problem is your Wine version; apparently something affecting this app was fixed very recently. With 1.7.43, the app fails to start for me using wine-mono, with

Code: Select all

err:mscoree:load_mono Could not load Mono into this process
in the terminal, but with 1.7.44 I get a login screen.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: A trading program won't run

Post by dimesio »

Disregard what I posted above. I did some more testing, and it's not the Wine version, at least not on my system. I originally tested using my distro's 1.7.43 Wine package, which used the wine-mono-4.5.6.msi installed from a distro package, but tested 1.7.44 built from git, which used the wine-mono-4.5.6.msi I downloaded from Sourceforge. When I used the wine-mono from Sourceforge with 1.7.43 (still the distro Wine package), I got a login screen.
lahmbi5678
Level 7
Level 7
Posts: 823
Joined: Thu Aug 27, 2009 6:23 am

Re: A trading program won't run

Post by lahmbi5678 »

Hi Formosa,

if it still doesn't work for you and you still get this fixme

Code: Select all

fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for bias -120, std (d/m/y): 25/10/2015, dlt (d/m/y): 27/03/2015
then please file a bug. I vaguely remember timezone related bugs in wine which were supposed to be fixed.

kind regards
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: A trading program won't run

Post by dimesio »

lahmbi5678 wrote: if it still doesn't work for you and you still get this fixme

Code: Select all

fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for bias -120, std (d/m/y): 25/10/2015, dlt (d/m/y): 27/03/2015
then please file a bug. I vaguely remember timezone related bugs in wine which were supposed to be fixed.
The timezone fixes were in 1.7.42; a bug should only be filed if that line is still present in current Wine.
Locked