appium-dashboard-plugin icon indicating copy to clipboard operation
appium-dashboard-plugin copied to clipboard

Unable to Load Dashboard with Devices on Windows

Open prabhurohith opened this issue 2 years ago • 4 comments

Appium Version : 2.0.0-beta.25 OS : Windows 10 Node : v14.17.5

Logs : [HTTP] --> GET /dashboard/api/sessions? [HTTP] {} (node:12668) UnhandledPromiseRejectionWarning: Error: at Database. (C:\Users\Rohit Prabhu\AppData\Roaming\npm\appium-dashboard\node_modules\sequelize\lib\dialects\sqlite\query.js:227:27) at C:\Users\Rohit Prabhu\AppData\Roaming\npm\appium-dashboard\node_modules\sequelize\lib\dialects\sqlite\query.js:225:50 at new Promise () at Query.run (C:\Users\Rohit Prabhu\AppData\Roaming\npm\appium-dashboard\node_modules\sequelize\lib\dialects\sqlite\query.js:225:12) at C:\Users\Rohit Prabhu\AppData\Roaming\npm\appium-dashboard\node_modules\sequelize\lib\sequelize.js:642:28 at SQLiteQueryInterface.rawSelect (C:
DashboardIssueSS Users\Rohit Prabhu\AppData\Roaming\npm\appium-dashboard\node_modules\sequelize\lib\dialects\abstract\query-interface.js:1021:18) at Function.aggregate (C:\Users\Rohit Prabhu\AppData\Roaming\npm\appium-dashboard\node_modules\sequelize\lib\model.js:2022:19) at Function.count (C:\Users\Rohit Prabhu\A DashboardIssue.txt ppData\Roaming\npm\appium-dashboard\node_modules\sequelize\lib\model.js:2070:20) at async Promise.all (index 0) at Function.findAndCountAll (C:\Users\Rohit Prabhu\AppData\Roaming\npm\appium-dashboard\node_modules\sequelize\lib\model.js:2129:27) (node:12668) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) (node:12668) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

DashboardIssue.txt DashboardIssueSS

prabhurohith avatar Mar 04 '22 10:03 prabhurohith

From the logs i can see that the dashboard version you are using is v1.0.0-beta.10. but the latest version is v1.0.0-beta.11. Have you tried updating it to the latest one?

sudharsan-selvaraj avatar Mar 04 '22 10:03 sudharsan-selvaraj

in the logs if you could scroll down you can see the updated version used [Appium] Available drivers: [Appium] - [email protected] (automationName 'UiAutomator2') [Appium] - [email protected] (automationName 'Espresso') [Appium] Available plugins: [Appium] - [email protected] [Appium] - [email protected] [Appium] - [email protected] (ACTIVE) [Appium] - [email protected] (ACTIVE) [HTTP] --> GET /dashboard/api/sessions? [HTTP] {} (node:13540) UnhandledPromiseRejectionWarning: Error: at Database. (C:\Users\Rohit Prabhu\AppData\Roaming\npm\appium-dashboard\node_modules\sequelize\src\dialects\sqlite\query.js:227:27) at C:\Users\Rohit Prabhu\AppData\Roaming\npm\appium-dashboard\node_modules\sequelize\src\dialects\sqlite\query.js:225:50 at new Promise () at Query.run (C:\Users\Rohit Prabhu\AppData\Roaming\npm\appium-dashboard\node_modules\sequelize\src\dialects\sqlite\query.js:225:12) at C:\Users\Rohit Prabhu\AppData\Roaming\npm\appium-dashboard\node_modules\sequelize\src\sequelize.js:643:28 at SQLiteQueryInterface.rawSelect (C:\Users\Rohit Prabhu\AppData\Roaming\npm\appium-dashboard\node_modules\sequelize\src\dialects\abstract\query-interface.js:1021:18) at Function.aggregate (C:\Users\Rohit Prabhu\AppData\Roaming\npm\appium-dashboard\node_modules\sequelize\src\model.js:2024:19) at Function.count (C:\Users\Rohit Prabhu\AppData\Roaming\npm\appium-dashboard\node_modules\sequelize\src\model.js:2072:20) at async Promise.all (index 0) at Function.findAndCountAll (C:\Users\Rohit Prabhu\AppData\Roaming\npm\appium-dashboard\node_modules\sequelize\src\model.js:2131:27) (node:13540) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) (node:13540) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. [HTTP] --> GET /dashboard/api/sessions?

prabhurohith avatar Mar 04 '22 14:03 prabhurohith

@prabhurohith , at the moment I don't have access for any windows system from my end to reproduce the issue. If possible let's pair up sometime and debug the issue.

sudharsan-selvaraj avatar Mar 09 '22 15:03 sudharsan-selvaraj

Hello Sudharshan, Can we connect on Friday afternoon post 4pm if its fine with you or else on Saturday. Thanks.

Regards, Rohith P

On Wed, 9 Mar 2022, 20:47 Sudharsan Selvaraj, @.***> wrote:

@prabhurohith https://github.com/prabhurohith , at the moment I don't have access for any windows system from my end to reproduce the issue. If possible let's pair up sometime and debug the issue.

— Reply to this email directly, view it on GitHub https://github.com/sudharsan-selvaraj/appium-dashboard-plugin/issues/54#issuecomment-1063028152, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGNACO3YPNGKQCEOE3AQAS3U7C6IJANCNFSM5P5F7JWA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.*** com>

prabhurohith avatar Mar 09 '22 15:03 prabhurohith