Page 1 of 1

Need a help running on Linux

Posted: Mon Aug 26, 2019 11:03 am
by 1Tap
Hi!

I'm using Ubuntu 16.04 + wine, installed .NET framework 4.6. When I try to start tickstory, it crashes with the error attached below. Any idea what I can do about it?

Here is the error:

Unhandled Exception:
System.NullReferenceException: Object reference not set to an instance of an object
at System.Windows.Forms.WebBrowserBase.TransitionFromLoadedToRunning () [0x0000b] in <c744f6544fa744d5b90c6e826543d037>:0
at System.Windows.Forms.WebBrowserBase.TransitionUpTo (System.Windows.Forms.WebBrowserHelper+AXState state) [0x00046] in <c744f6544fa744d5b90c6e826543d037>:0
at System.Windows.Forms.WebBrowser.get_AxIWebBrowser2 () [0x00010] in <c744f6544fa744d5b90c6e826543d037>:0
at System.Windows.Forms.WebBrowser.get_AllowWebBrowserDrop () [0x00000] in <c744f6544fa744d5b90c6e826543d037>:0
at System.Windows.Forms.WebBrowser.set_AllowWebBrowserDrop (System.Boolean value) [0x00000] in <c744f6544fa744d5b90c6e826543d037>:0
at (wrapper remoting-invoke-with-check) System.Windows.Forms.WebBrowser:set_AllowWebBrowserDrop (bool)
at #=z6oP0JE01jIdY8kOgrtgdGNA=.#=zKFgPwKxh9GFL () [0x00051] in <94df1fa150e94ea08a92b1e2f73ec413>:0
at #=z6oP0JE01jIdY8kOgrtgdGNA=..ctor () [0x0002e] in <94df1fa150e94ea08a92b1e2f73ec413>:0
at (wrapper remoting-invoke-with-check) #=z6oP0JE01jIdY8kOgrtgdGNA=:.ctor ()
at #=zahx9rckJc5g6Cl_tydesc5c=..ctor () [0x00007] in <94df1fa150e94ea08a92b1e2f73ec413>:0
at (wrapper remoting-invoke-with-check) #=zahx9rckJc5g6Cl_tydesc5c=:.ctor ()
at #=zmRpP28Cj_3kxvuCn69Ny4KQ=.#=zBo$ZiBQ= (System.String[] #=zABejlm8=) [0x00059] in <94df1fa150e94ea08a92b1e2f73ec413>:0
at #=q3gHQfOr5c7iFuFJLMdr9t10rrhLeXn9jM5jnMJxd7h8=.#=zBJbOyE0= (System.String[] #=z_YXlWdE=) [0x00000] in <94df1fa150e94ea08a92b1e2f73ec413>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object
at System.Windows.Forms.WebBrowserBase.TransitionFromLoadedToRunning () [0x0000b] in <c744f6544fa744d5b90c6e826543d037>:0
at System.Windows.Forms.WebBrowserBase.TransitionUpTo (System.Windows.Forms.WebBrowserHelper+AXState state) [0x00046] in <c744f6544fa744d5b90c6e826543d037>:0
at System.Windows.Forms.WebBrowser.get_AxIWebBrowser2 () [0x00010] in <c744f6544fa744d5b90c6e826543d037>:0
at System.Windows.Forms.WebBrowser.get_AllowWebBrowserDrop () [0x00000] in <c744f6544fa744d5b90c6e826543d037>:0
at System.Windows.Forms.WebBrowser.set_AllowWebBrowserDrop (System.Boolean value) [0x00000] in <c744f6544fa744d5b90c6e826543d037>:0
at (wrapper remoting-invoke-with-check) System.Windows.Forms.WebBrowser:set_AllowWebBrowserDrop (bool)
at #=z6oP0JE01jIdY8kOgrtgdGNA=.#=zKFgPwKxh9GFL () [0x00051] in <94df1fa150e94ea08a92b1e2f73ec413>:0
at #=z6oP0JE01jIdY8kOgrtgdGNA=..ctor () [0x0002e] in <94df1fa150e94ea08a92b1e2f73ec413>:0
at (wrapper remoting-invoke-with-check) #=z6oP0JE01jIdY8kOgrtgdGNA=:.ctor ()
at #=zahx9rckJc5g6Cl_tydesc5c=..ctor () [0x00007] in <94df1fa150e94ea08a92b1e2f73ec413>:0
at (wrapper remoting-invoke-with-check) #=zahx9rckJc5g6Cl_tydesc5c=:.ctor ()
at #=zmRpP28Cj_3kxvuCn69Ny4KQ=.#=zBo$ZiBQ= (System.String[] #=zABejlm8=) [0x00059] in <94df1fa150e94ea08a92b1e2f73ec413>:0
at #=q3gHQfOr5c7iFuFJLMdr9t10rrhLeXn9jM5jnMJxd7h8=.#=zBJbOyE0= (System.String[] #=z_YXlWdE=) [0x00000] in <94df1fa150e94ea08a92b1e2f73ec413>:0

Thanks.

Re: Need a help running on Linux

Posted: Tue Aug 27, 2019 10:40 pm
by tickstory
Hi 1Tap,

Could you please collate any information you have on the issue in this thread:

https://tickstory.com/forum/viewtopic.php?f=4&t=2045

We don't officially support running under Linux but we can see if there is any simple remedy or workaround that might help you.
At the moment, it appears that a necessary component is missing and the last suggestion was to run .NET Framework v4.6.1 to see if that helps.

Thanks.

Re: Need a help running on Linux

Posted: Sun Sep 15, 2019 10:35 pm
by smithclarkson01
Good news: I was able to solve the problem by installing Wine 2.0 using Ricotz's PPA and using its more updated winetricks.

First, remove last installation (in my case it was wine-devel)

sudo apt-get remove --purge wine-devel*
sudo apt-get update
sudo apt-get autoclean
sudo apt-get clean
sudo apt-get autoremove
Get Ricotz wine 2.0:

sudo dpkg --add-architecture i386
sudo add-apt-repository ppa:ricotz/unstable
sudo apt update
sudo apt install wine2.0
Create other prefix (e.g. : .wine32), set WINEARCH to win32 and run winecfg:

WINEPREFIX="$HOME/.wine32" WINEARCH=win32 winecfg
"Set Windows 7"
Then run winetricks using the last configurations:

WINEPREFIX="$HOME/.wine32" WINEARCH=win32 winetricks
Now go Select Default Winetricks -> Install a Windows DLL or components -> dotnet46 and install it.

Wine will download and install dotnet46 and other requirements. Even if asking for Mono, it continues to download more and more requirements until it's able to install .NET 4.6 (there was no need to have Mono for me). 9Apps Vidmate APK

Re: Need a help running on Linux

Posted: Tue Sep 17, 2019 11:48 am
by tickstory
Hi Smithclarkson01 - thank you for your valuable contribution!
Does this mean all functionality is successfully working under Linux using that particular Wine distribution?
Would you have a screenshot of it successfully running on Linux for the community?

Thanks!

Re: Need a help running on Linux

Posted: Wed Apr 08, 2020 11:02 am
by trigen
Hi, I'm not the same person, but I attempted the same on Ubuntu 18.04.

I didn't need to go for a newer wine as the previous poster, I managed to get it to work following his instructions. The tickstory setup that I had was for an older version, which requires .NET 3.5.

One caveat is that during the installation I had to run this once in a separate terminal

WINEPREFIX="$HOME/.wine32" WINEARCH=win32 wineserver -k

IIRC this was after .NET 2.0 was installed it just got stuck, after I issued the above command it continued installing dependencies and I was able to install Tickstory (from Tickstory_v1.8.9.1.zip)

I don't have a very fancy window manager, so the screenshot is not pretty, but it works, it can download etc. I attached a screenshot to this post.