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

Loading custom functions on macOS fails consistently every 2nd time #4918

Open
fzumstein opened this issue Sep 23, 2024 · 2 comments
Open

Loading custom functions on macOS fails consistently every 2nd time #4918

fzumstein opened this issue Sep 23, 2024 · 2 comments
Assignees
Labels
Area: Excel Issue related to Excel add-ins Needs: attention 👋 Waiting on Microsoft to provide feedback

Comments

@fzumstein
Copy link

Your Environment

  • Platform [PC desktop, Mac, iOS, Office on the web]: Mac
  • Host [Excel, Word, PowerPoint, etc.]: Excel
  • Office version number: 16.89.1 (24091630)
  • Operating System: macOS

Expected behavior

Sideloading the manifest.xml doesn't fail with Error installing functions in the taskbar.

Current behavior

Every 2nd time that I load the manifest.xml via sideloading, it fails with Error installing functions in the taskbar and custom functions return a #NAME? error.

Steps to reproduce

  1. Download manifest from https://xlwings-server.onrender.com/manifest and sideload it. You probably get the error.
  2. Quit Excel completely and restart
  3. sideload the manifest again, you won't get the issue and you can click on "Insert custom functions" in the taskpane and everything will work.
  4. Repeat the steps again and you'll see it'll fail every 2nd time.

Useful logs

These are the debug logs. They differ slightly when it works vs when it fails:
fails.log
works.log

@microsoft-github-policy-service microsoft-github-policy-service bot added the Area: Excel Issue related to Excel add-ins label Sep 23, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs: attention 👋 Waiting on Microsoft to provide feedback label Sep 23, 2024
@shanshanzheng-dev
Copy link
Contributor

shanshanzheng-dev commented Sep 24, 2024

Hi @fzumstein Thanks for reporting this issue, I'm trying to repro but not. It always load successfully.
image
could you share us the repro video? Thanks

@shanshanzheng-dev shanshanzheng-dev added the Needs: author feedback Waiting for author (creator) of Issue to provide more info label Sep 25, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the Status: no recent activity Issue or PR is stale (no recent activity) label Sep 30, 2024
@fzumstein
Copy link
Author

Sorry about the delay, I didn't get a notification for whatever reason. You're right, I can't repro the issue anymore with the hosted URL/manifest. However, it still repros on localhost. See video: https://www.loom.com/share/63be407bbdd840cc909ddfc31903dc81?sid=a2b05f6d-53bd-40de-b9c4-618825e276ee

If you want to repro this locally, you can follow the docs here (various options, like docker compose or GH codespaces): https://server.xlwings.org/en/latest/quickstart/ You can use noncommercial as license key.

@microsoft-github-policy-service microsoft-github-policy-service bot removed Status: no recent activity Issue or PR is stale (no recent activity) Needs: author feedback Waiting for author (creator) of Issue to provide more info labels Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Excel Issue related to Excel add-ins Needs: attention 👋 Waiting on Microsoft to provide feedback
Projects
None yet
Development

No branches or pull requests

3 participants