khanhas / PowershellRM

Invokes Powershell script in Rainmeter
21 stars 2 forks source link

What causes the following error? #3

Open deathcrafter opened 3 years ago

deathcrafter commented 3 years ago

System.Management.Automation.PSInvalidOperationException: The pipeline was not run because a pipeline is already running. Pipelines cannot be run concurrently. at System.Management.Automation.Runspaces.PipelineBase.DoConcurrentCheck(Boolean syncCall, Object syncObject, Boolean isInLock) at System.Management.Automation.Runspaces.RunspaceBase.DoConcurrentCheckAndAddToRunningPipelines(PipelineBase pipeline, Boolean syncCall) at System.Management.Automation.Runspaces.PipelineBase.CoreInvoke(IEnumer (ASimpleVisualizer2\settings\settings.ini - [Crafter])

khanhas commented 3 years ago

At least give code you are trying to run. Anyway, try restart Rainmeter first.

deathcrafter commented 3 years ago

At least give code you are trying to run. Anyway, try restart Rainmeter first.

Actually it's a whole script. You can find it here.

And I execute required commands with OnRefreshAction. This error appears when I refresh the skin from another skin. When refreshed from within the skin it works fine. Restarting Rainmeter doesn't help.