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

Hard to identify a cause of plugin-uploader failure #1643

Open
ueokande opened this issue Jul 28, 2022 · 0 comments
Open

Hard to identify a cause of plugin-uploader failure #1643

ueokande opened this issue Jul 28, 2022 · 0 comments
Labels
pkg: plugin-uploader @kintone/plugin-uploader

Comments

@ueokande
Copy link
Member

Package

  • @kintone/plugin-uploader v7.1.0

Why

It's not easy to identify a root cause when uploading a plugin failure occurs. The plugin-uploader outputs the following messages when I try to upload a plugin:

$ kintone-plugin-uploader --base-url https://xxx.kintone.com my-plugin.zip
Open https://xxx.kintone.com/login?saml=off
Trying to log in...
Navigate to https://xxx.kintone.com/k/admin/system/plugin/
Trying to upload my-plugin.zip
An error occurred TimeoutError: waiting for selector `.ocean-ui-dialog` to be hidden failed: timeout 60000ms exceeded
    ...stack trace

The plugin is actually invalid, and I can confirm what is incorrect on my browser by uploading a plugin manually.

Screenshot 2022-07-28 at 04-22-56 Plug-ins

What

I propose two solutions; 1) get error messages in the dialog and notify them to a user, and 2) save a screenshot of the browser when the plugin-uploader fails.

@ueokande ueokande added the pkg: plugin-uploader @kintone/plugin-uploader label Jul 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: plugin-uploader @kintone/plugin-uploader
Projects
None yet
Development

No branches or pull requests

1 participant