Trevliga Spel forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Plugin does not start

2 posters

Go down

Plugin does not start Empty Plugin does not start

Post by benoit Tue Jul 11, 2023 11:00 pm

Hello,

Without any specific event, the plugin now fails to load.
I have a Macbook M1.

Here is the log message

Code:
2023-07-11 23:03:01.4894|INFO|TrevligaSpel|Plugin version: 3.5.0.1
2023-07-11 23:03:01.4894|INFO|TrevligaSpel|Connecting to Stream Deck...
2023-07-11 23:03:01.5308|INFO|TrevligaSpel|BarRaider.SdTools.Communication.StreamDeckConnection RunAsync completed, shutting down
2023-07-11 23:03:01.5531|ERROR|TrevligaSpel|BarRaider.SdTools.Communication.StreamDeckConnection DisconnectAsync failed to close connection. Exception: System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'System.Net.WebSockets.ClientWebSocket'.
   at System.Net.WebSockets.ClientWebSocket.get_ConnectedWebSocket()
   at System.Net.WebSockets.ClientWebSocket.CloseAsync(WebSocketCloseStatus closeStatus, String statusDescription, CancellationToken cancellationToken)
   at BarRaider.SdTools.Communication.StreamDeckConnection.DisconnectAsync() in P:\Projects\StreamDeck-Midi - Net 7\barraider-sdtools 6.1.1\Communication\StreamDeckConnection.cs:line 438
2023-07-11 23:03:01.5532|INFO|TrevligaSpel|Disconnect event received
   at StreamDeck_Cubase.Program.Main(String[] args) in C:\Projects\StreamDeck-Cubendo - Core\Cubase\Program.cs:line 23]


I tried to uninstall and reinstall, and also to reboot, without success.
Could you help me to fix it ?

Thanks,
Benoît.

benoit

Posts : 13
Join date : 2023-05-18

Back to top Go down

Plugin does not start Empty Re: Plugin does not start

Post by Admin Tue Jul 11, 2023 11:30 pm

Please verify that Rosetta is installed.
Admin
Admin
Admin

Posts : 1235
Join date : 2020-03-26

https://trevligaspel.forumotion.eu

Back to top Go down

Plugin does not start Empty Re: Plugin does not start

Post by benoit Tue Jul 11, 2023 11:48 pm

Thanks for the quick answer.

Rosetta seems to be already installed as described on this page : https://www.alansiu.net/2020/12/02/installing-rosetta-2-on-m1-apple-silicon-macs/
In fact, running "pkgutil --pkgs | grep Rosetta" displays "com.apple.pkg.RosettaUpdateAuto"
I tried to reinstall with no change.

Do you know another command to check this install ?

Note : I use OS version 13.4.1.
Note : I confirm I run Spotify that is display in the activity monitor as an Intel application type.

benoit

Posts : 13
Join date : 2023-05-18

Back to top Go down

Plugin does not start Empty Re: Plugin does not start

Post by Admin Wed Jul 12, 2023 12:21 am

I think your investigations prove that Rosetta is installed. I have a suggestion on the FAQ page on my site about configuring the Stream Deck app for Rosetta, but I don't think that will result in anything else than what we already know.

This is a tricky situation. The plugin doesn't start, which is probably caused by something missing in the environment. But this should not happen since the plugin package is built to include everything the plugin needs. Shocked

I have a faint memory of a user having problems with .NET 7 missing from the computer; again, something that shouldn't affect the plugin since everything should be included in the package. Anyway, it would be interesting to see if an installation of .NET 7 solves the problem.

https://dotnet.microsoft.com/en-us/download

If that doesn't solve the problem, it would be interesting to see the Stream Deck log (not the plugin log) and see if that gives any clue to the problem.  You can find the log file here:

"~/Library/Logs/StreamDeck/StreamDeck0.log"
Admin
Admin
Admin

Posts : 1235
Join date : 2020-03-26

https://trevligaspel.forumotion.eu

Back to top Go down

Plugin does not start Empty Re: Plugin does not start

Post by Admin Wed Jul 12, 2023 12:24 am

I see in your first message that you say, "the plugin now fails to load".

Does that mean that it worked before?
Admin
Admin
Admin

Posts : 1235
Join date : 2020-03-26

https://trevligaspel.forumotion.eu

Back to top Go down

Plugin does not start Empty Re: Plugin does not start

Post by benoit Wed Jul 12, 2023 12:22 pm

Thanks for your additional information.

Yes I confirm I worked until "something happened", maybe an update of the OS or of the Stream Deck environment. I don't know exactly the root cause...

I installed .NET with no effect.
I attach the Stream deck log to this post.

I found something suspect:

Code:
12:14:33.2234          void ESDIconPackManager::InstallIconPack(): Failed to install icon pack from '/private/var/folders/bx/w4fnlrkn5sj8s4nrxrs0dc3r0000gn/T/StreamDeck-NliRYI/com.1022productionsQLab.iconpack.sdIconPack' to '/Users/me/Library/Application Support/com.elgato.StreamDeck/IconPacks/com.1022productionsQLab.iconpack.sdIconPack'

Thanks,

Benoît.
Attachments
Plugin does not start Attachment
StreamDeck0.log.txt You don't have permission to download attachments.(942 Kb) Downloaded 1 times


Last edited by benoit on Thu Jul 13, 2023 12:53 am; edited 1 time in total

benoit

Posts : 13
Join date : 2023-05-18

Back to top Go down

Plugin does not start Empty Re: Plugin does not start

Post by Admin Wed Jul 12, 2023 1:04 pm

I think this line in the log file says it all:

ERROR: Failed to find any open port for the plugin communication. Plugins won't work!

The communication between plugins and the Stream Deck engine is through network ports. The Stream Deck engine tries every port from 28196-38196 without finding a port it can (or is allowed to) use.

I don't know why that happens, but I guess it's some firewall problem.
Admin
Admin
Admin

Posts : 1235
Join date : 2020-03-26

https://trevligaspel.forumotion.eu

benoit likes this post

Back to top Go down

Plugin does not start Empty Re: Plugin does not start

Post by benoit Wed Jul 12, 2023 1:07 pm

I confirm the target directory exist.

Please note that part of this path is based on an a system alias for easier backup. The real target directory is /Users/me/Mon Drive/zic/instruments/Elgato Stream Deck/config/StreamDeck/IconPacks/com.1022productionsqlab.iconpack.sdIconPack
Nevertheless, this solution used to work for monthes until a recent update.


Last edited by benoit on Thu Jul 13, 2023 12:52 am; edited 1 time in total

benoit

Posts : 13
Join date : 2023-05-18

Back to top Go down

Plugin does not start Empty Re: Plugin does not start

Post by benoit Wed Jul 12, 2023 1:08 pm

Admin wrote:I think this line in the log file says it all:

ERROR: Failed to find any open port for the plugin communication. Plugins won't work!

The communication between plugins and the Stream Deck engine is through network ports. The Stream Deck engine tries every port from 28196-38196 without finding a port it can (or is allowed to) use.

I don't know why that happens, but I guess it's some firewall problem.
Thanks. I try to investigate this way.

benoit

Posts : 13
Join date : 2023-05-18

Back to top Go down

Plugin does not start Empty Re: Plugin does not start

Post by benoit Wed Jul 12, 2023 11:38 pm

Finally, after a forced hardware reboot, the plugin now starts, so this can be considered as fixed.
Note : an information message is displayed to notify the plugin has changes to be taken into account.
Thanks for the support.

Benoit

benoit

Posts : 13
Join date : 2023-05-18

Back to top Go down

Plugin does not start Empty Re: Plugin does not start

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum