Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ProductSearch sample function fails to run #1011

Open
moody31415 opened this issue Jul 6, 2023 · 6 comments
Open

ProductSearch sample function fails to run #1011

moody31415 opened this issue Jul 6, 2023 · 6 comments
Labels
custom-functions duplicate This issue or pull request already exists

Comments

@moody31415
Copy link

Bug Report

  • Host: EXCEL
  • OS: Windows 11 23H2; 22631.2048
  • Browser: Edge production
  • Environment: Production

Expected behavior:

Script lab doesn't give errors

Actual behavior:

Formula results in a #BUSY! error that never resolves; flashes a dozen+ times, and scriptlab shows "add-in error" business bar

Steps to Reproduce:

  1. Open Excel; install scriptlab addin; new blank workbook
  2. Search samples for "data types: custom functions"; open that sample
  3. Register that sample
  4. As described in the samples' code / instructions, paste this into an arbitrary cell in your spreadsheet:
  5. =SCRIPTLAB.DATATYPESCUSTOMFUNCTIONS.PRODUCTSEARCH("chef", false)

Expect: Script to run, show results
Actual: See persistent #BUSY! error that flickers a number of times, and "Add-in error" message shows up within scriptlab. Clicking "restart" in the business bar causes it to dismiss very briefly, then show up again.

Failure Logs:

No failure messages are shown in scriptlab's console.

Screenshot:

image
image

@moody31415
Copy link
Author

This also seems to leave Excel in a "trying to figure something out" state, as I can see through task manager that it's chewing up a lot of CPU after inserting that method that is failing to resolve.

@rulingthewaves
Copy link

Same problem for me - different script different function, same error.

The code loads and is perfectly fine (unchanged from the code I was using the last few weeks), but the add-in just doesn't start. Have tried even basic scripts from the gitlabs library, problem definitely with Excel or the Script Lab add-in. Seems one of them changed / background updated in the last 24 hours.

@Gapplay
Copy link

Gapplay commented Jul 8, 2023

Yeah, I've tried office 2016 and 365. It gives the same error "Add-in Error: This add-in could not be started."

@GerousDan
Copy link

GerousDan commented Aug 3, 2023

On Excel 365 Windows on various machines) samples for all "custom functions" (which used to work before) now give 'ADD-IN ERROR This add-in could not be started. Close this dialog to ignore the problem or click "Restart" to try again' or even without the above message permanently display "#BUSY!" as a result. No suggestions including updating, repairing, reinstalling Office, not even after running as admin 'powershell Add-AppxPackage -register -disable c:\windows\SystemApps\Microsoft.Win32WebViewHost_cw5n1h2txyewy\AppxManifest.xml', not even repairing/reinstalling WebView2 helped at all and custom function samples from the Script Lab add-in all fail with the same error.

Excel 365 on MacOSX runs Script Lab sample custom functions perfectly as before.

@chrisloveit
Copy link

Hi,

This is similar to the following issue: #1014

I am encountering the exact same issue with Excel and Script Lab 😔

Here are my details:

  • Operating system: Windows 10 Professional, build 19045.3208
  • Excel: Microsoft® Excel® for Microsoft 365 MSO (Version 2307 Build 16.0.16626.20170) 64-bit

@novikov-alexander
Copy link

The same problem exists for me.
The add-in works for regular code snippets, but even the simplest custom functions fail.

Excel: version 2310 (build 16924.20106)

@wandyezj wandyezj added the duplicate This issue or pull request already exists label Apr 4, 2024
@wandyezj wandyezj changed the title ProductSearch sample function fails to run Excel CustomFunctions - ProductSearch sample function fails to run Apr 4, 2024
@wandyezj wandyezj changed the title Excel CustomFunctions - ProductSearch sample function fails to run ProductSearch sample function fails to run Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
custom-functions duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

7 participants