Module Import Fails After Recent PrimalScript/ PowershellStudio Update

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 6 years and 6 days old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
alexayr
Posts: 18
Last visit: Tue Mar 26, 2024 10:14 am

Module Import Fails After Recent PrimalScript/ PowershellStudio Update

Post by alexayr »

To help you better we need some information from you.

*** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. ***

Product, version and build: PowerShell Studio 2018 v5.5.150
32 or 64 bit version of product:64 Bit
Operating system: Windows 10 1703 (OS Build 15063.966)
32 or 64 bit OS: 64 Bit

*** Please add details and screenshots as needed below. ***

DO NOT POST SUBSCRIPTIONS, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM

I updated to PowerShell Studio 2018 v5.5.150 yesterday, created a custom module, and when I attempted to import the module a dialog box was presented with the following message text "Import failed. Please check permissions and script execution policy" My user account is in the local admin group and the Powershell execution policy is set to "Unrestricted". See the images below.
Image Image Image

Primalsense will not work until the module is imported. Please advise.
User avatar
Alexander Riedel
Posts: 8488
Last visit: Mon Apr 15, 2024 3:28 pm
Answers: 20
Been upvoted: 37 times

Re: Module Import Fails After Recent PrimalScript/ PowershellStudio Update

Post by Alexander Riedel »

Can you upload the module so we can check why it does not import?
https://www.sapien.com/support/upload
Alexander Riedel
SAPIEN Technologies, Inc.
User avatar
alexayr
Posts: 18
Last visit: Tue Mar 26, 2024 10:14 am

Re: Module Import Fails After Recent PrimalScript/ PowershellStudio Update

Post by alexayr »

Disregard. I determined the cause of the failed import. The content I used to create module resided in a protected directory. This can be marked resolved.
This topic is 6 years and 6 days old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.