SONOS Controller 9.2 - problem - wine 303

Questions about Wine on Linux
Locked
castalla
Level 1
Level 1
Posts: 6
Joined: Mon Nov 26, 2018 4:15 am

SONOS Controller 9.2 - problem - wine 303

Post by castalla »

I have installed Wine 3.03 stable on mint 19
The test notepad works fine

Sonos 9.2 installs with no issues.
The program starts with a splash page .... then resolutely stays stuck on the splash.

Any help, tips gratefully received!

regards
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: SONOS Controller 9.2 - problem - wine 303

Post by jkfloris »

We don't have a crystal ball here, so it is difficult to tell what went wrong.
Can you post the terminal output, including the wine command you use?
https://wiki.winehq.org/Wine_User's_Gui ... mmand_line
https://wiki.winehq.org/FAQ#How_can_I_g ... tput.29.3F
castalla
Level 1
Level 1
Posts: 6
Joined: Mon Nov 26, 2018 4:15 am

Re: SONOS Controller 9.2 - problem - wine 303

Post by castalla »

jkfloris wrote:We don't have a crystal ball here, so it is difficult to tell what went wrong.
Can you post the terminal output, including the wine command you use?
https://wiki.winehq.org/Wine_User's_Gui ... mmand_line
https://wiki.winehq.org/FAQ#How_can_I_g ... tput.29.3F
Thanks for the reply.

I've obtained the terminal output by running the Sonos.exe from winefile (earlier I used the menu entry).
The output ends/sticks and has to be killed with control c.

Attached: SONOS-WINE
qwertymnb
Level 4
Level 4
Posts: 236
Joined: Sun Jan 17, 2016 4:36 pm

Re: SONOS Controller 9.2 - problem - wine 303

Post by qwertymnb »

Also worth to check in this case:

Run the app in a virtual desktop (in winecfg under graphics tab)

Sometimes a messagebox (that one has to click) is hidden behind a splash screen. Saw this a few times in other apps
castalla
Level 1
Level 1
Posts: 6
Joined: Mon Nov 26, 2018 4:15 am

Re: SONOS Controller 9.2 - problem - wine 303

Post by castalla »

Thanks. The splash is a small square centre screen - it should simply clear and be replaced by the main screen after a few seconds.
I think it's a NET problem ...

ps: my posts are moderated so my replies can take hours to appear.
qwertymnb
Level 4
Level 4
Posts: 236
Joined: Sun Jan 17, 2016 4:36 pm

Re: SONOS Controller 9.2 - problem - wine 303

Post by qwertymnb »

There is a bugreport for this app in bugzilla, i posted some info here:
https://www.winehq.org/pipermail/wine-b ... 03936.html
castalla
Level 1
Level 1
Posts: 6
Joined: Mon Nov 26, 2018 4:15 am

Re: SONOS Controller 9.2 - problem - wine 303

Post by castalla »

Oops - lost the attachment!

wine sonos.exe (splash on screen ad infinitum)

Here's the output

Code: Select all

brian@mini2:~$ winefile

Unhandled Exception:
System.IO.FileNotFoundException: Could not load file or assembly 'PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.
File name: 'PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'


Server stack trace: 
  at System.AppDomain+Initializer.Initialize () [0x00000] in <1c90db0b17cb4b1e827d577d0607b212>:0 
  at System.AppDomain.DoCallBack (System.CrossAppDomainDelegate callBackDelegate) [0x00003] in <1c90db0b17cb4b1e827d577d0607b212>:0 
  at (wrapper remoting-invoke-with-check) System.AppDomain:DoCallBack (System.CrossAppDomainDelegate)
  at (wrapper xdomain-dispatch) System.AppDomain:DoCallBack (object,byte[]&,byte[]&)

Exception rethrown at [0]: 
  at (wrapper xdomain-invoke) System.AppDomain:DoCallBack (System.CrossAppDomainDelegate)
  at (wrapper remoting-invoke-with-check) System.AppDomain:DoCallBack (System.CrossAppDomainDelegate)
  at System.AppDomain.CreateDomain (System.String friendlyName, System.Security.Policy.Evidence securityInfo, System.AppDomainSetup info) [0x00144] in <1c90db0b17cb4b1e827d577d0607b212>:0 
  at Sonos.Controller.Desktop.Startup.Glue.WpfLauncher.DoAppDomainSetup (System.Object args) [0x00026] in <d08fd61812bc4256afbd8b9800213edf>:0 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00025] in <1c90db0b17cb4b1e827d577d0607b212>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <1c90db0b17cb4b1e827d577d0607b212>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <1c90db0b17cb4b1e827d577d0607b212>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in <1c90db0b17cb4b1e827d577d0607b212>:0 
  at System.Threading.ThreadHelper.ThreadStart (System.Object obj) [0x0000f] in <1c90db0b17cb4b1e827d577d0607b212>:0 
                                                
qwertymnb
Level 4
Level 4
Posts: 236
Joined: Sun Jan 17, 2016 4:36 pm

Re: SONOS Controller 9.2 - problem - wine 303

Post by qwertymnb »

You should try using native dotnet40: winetricks dotnet40

When using Staging it starts fine for me (see bugreport)
castalla
Level 1
Level 1
Posts: 6
Joined: Mon Nov 26, 2018 4:15 am

Re: SONOS Controller 9.2 - problem - wine 303

Post by castalla »

qwertymnb wrote:You should try using native dotnet40: winetricks dotnet40

When using Staging it starts fine for me (see bugreport)
I've got it working by using PlayonLinux to install and add dotnet40 - had to switch wine to Win 10, though.

Beats me why Sonos can't be bothered to release a linux controller ....

Thanks for your advice and help
castalla
Level 1
Level 1
Posts: 6
Joined: Mon Nov 26, 2018 4:15 am

Re: SONOS Controller 9.2 - problem - wine 303

Post by castalla »

Hmmmm ... got it working with win7 prefix and new controller 9.3.

But - there's a strange ainbow colour flash in the Queue frame heading - which clears usually to show the heading text, but occasionally causes the program to block

Grrrr
Locked