-
Notifications
You must be signed in to change notification settings - Fork 8
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
Fix GPU card in node details #3424
Conversation
…ly changes in Playground, remove unused log
Couldn't test because there's no standby nodes with gpu cards on dev or main |
You can test with an offline node. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this loadGpu still necessary then?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I made changes in Grid Proxy Client. Did you build before running the playground? |
my bad, was testing it on staging instead of locally, works why is this loadGpu still necessary though? |
…onfig type w NodesExtractOptions from grid proxy
@amiraabouhadid I did some refactoring. You can test now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I get this error when I press the x beside the selected GPU
[Uncaught Error]
- Message: Cannot read properties of undefined (reading 'vendor')
- Stack: TypeError: Cannot read properties of undefined (reading 'vendor')
at getNodeTwinDetailsCard (http://localhost:5173/src/components/node_details_cards/gpu_details_card.vue:43:37)
at http://localhost:5173/src/components/node_details_cards/gpu_details_card.vue:23:25
at callWithErrorHandling (http://localhost:5173/node_modules/.vite/deps/chunk-S4KY57GZ.js?v=62295903:1584:18)
at callWithAsyncErrorHandling (http://localhost:5173/node_modules/.vite/deps/chunk-S4KY57GZ.js?v=62295903:1592:17)
at job (http://localhost:5173/node_modules/.vite/deps/chunk-S4KY57GZ.js?v=62295903:3181:9)
at callWithErrorHandling (http://localhost:5173/node_modules/.vite/deps/chunk-S4KY57GZ.js?v=62295903:1584:32)
at flushJobs (http://localhost:5173/node_modules/.vite/deps/chunk-S4KY57GZ.js?v=62295903:1782:9)
- Constructor: TypeError
(anonymous) @ @sentry_vue.js?v=62295903:851
(anonymous) @ logger-interceptor.js?v=62295903:60
app.config.errorHandler @ main.ts:18
app.config.errorHandler @ @sentry_vue.js?v=62295903:22512
callWithErrorHandling @ chunk-S4KY57GZ.js?v=62295903:1584
handleError @ chunk-S4KY57GZ.js?v=62295903:1625
callWithErrorHandling @ chunk-S4KY57GZ.js?v=62295903:1586
callWithAsyncErrorHandling @ chunk-S4KY57GZ.js?v=62295903:1592
job @ chunk-S4KY57GZ.js?v=62295903:3181
callWithErrorHandling @ chunk-S4KY57GZ.js?v=62295903:1584
flushJobs @ chunk-S4KY57GZ.js?v=62295903:1782
Promise.then
queueFlush @ chunk-S4KY57GZ.js?v=62295903:1695
queueJob @ chunk-S4KY57GZ.js?v=62295903:1689
scheduler @ chunk-S4KY57GZ.js?v=62295903:3203
triggerEffect @ chunk-S4KY57GZ.js?v=62295903:633
triggerEffects @ chunk-S4KY57GZ.js?v=62295903:623
triggerRefValue @ chunk-S4KY57GZ.js?v=62295903:1230
set value @ chunk-S4KY57GZ.js?v=62295903:1274
set @ chunk-S4KY57GZ.js?v=62295903:1292
_createVNode.onUpdate:modelValue._cache.<computed>._cache.<computed> @ gpu_details_card.vue:27
callWithErrorHandling @ chunk-S4KY57GZ.js?v=62295903:1584
callWithAsyncErrorHandling @ chunk-S4KY57GZ.js?v=62295903:1592
emit @ chunk-S4KY57GZ.js?v=62295903:2093
set @ chunk-TJM6J5C4.js?v=62295903:124
set value @ chunk-S4KY57GZ.js?v=62295903:1407
onModelUpdate @ vuetify_components.js?v=62295903:9343
callWithErrorHandling @ chunk-S4KY57GZ.js?v=62295903:1584
callWithAsyncErrorHandling @ chunk-S4KY57GZ.js?v=62295903:1592
emit @ chunk-S4KY57GZ.js?v=62295903:2093
set @ chunk-TJM6J5C4.js?v=62295903:124
set value @ chunk-S4KY57GZ.js?v=62295903:1407
(anonymous) @ vuetify_components.js?v=62295903:8554
Promise.then
nextTick @ chunk-S4KY57GZ.js?v=62295903:1667
onClear @ vuetify_components.js?v=62295903:8553
callWithErrorHandling @ chunk-S4KY57GZ.js?v=62295903:1584
callWithAsyncErrorHandling @ chunk-S4KY57GZ.js?v=62295903:1592
invoker @ chunk-S4KY57GZ.js?v=62295903:9414
sentryWrapped @ @sentry_vue.js?v=62295903:7589
Show 36 more frames
Show lessUnderstand this error
gpu_details_card.vue:27 [Vue warn]: Error in watcher callback: "TypeError: Cannot read properties of undefined (reading 'vendor')"
found in
---> <GPUDetailsCard> at /home/amira/tfgrid-sdk-ts/packages/playground/src/components/node_details_cards/gpu_details_card.vue... (6 recursive calls)
<VDialog>
<NodeDetails> at /home/amira/tfgrid-sdk-ts/packages/playground/src/components/node_details.vue... (6 recursive calls)
<DeploymentListManager> at /home/amira/tfgrid-sdk-ts/packages/playground/src/components/deployment_list_manager.vue
<VMain>... (2 recursive calls)
<App> at /home/amira/tfgrid-sdk-ts/packages/playground/src/App.vue
<AsyncComponentWrapper>
(anonymous) @ @sentry_vue.js?v=62295903:22521
consoleSandbox @ @sentry_vue.js?v=62295903:418
app.config.errorHandler @ @sentry_vue.js?v=62295903:22520
callWithErrorHandling @ chunk-S4KY57GZ.js?v=62295903:1584
handleError @ chunk-S4KY57GZ.js?v=62295903:1625
callWithErrorHandling @ chunk-S4KY57GZ.js?v=62295903:1586
callWithAsyncErrorHandling @ chunk-S4KY57GZ.js?v=62295903:1592
job @ chunk-S4KY57GZ.js?v=62295903:3181
callWithErrorHandling @ chunk-S4KY57GZ.js?v=62295903:1584
flushJobs @ chunk-S4KY57GZ.js?v=62295903:1782
Promise.then
queueFlush @ chunk-S4KY57GZ.js?v=62295903:1695
queueJob @ chunk-S4KY57GZ.js?v=62295903:1689
scheduler @ chunk-S4KY57GZ.js?v=62295903:3203
triggerEffect @ chunk-S4KY57GZ.js?v=62295903:633
triggerEffects @ chunk-S4KY57GZ.js?v=62295903:623
triggerRefValue @ chunk-S4KY57GZ.js?v=62295903:1230
set value @ chunk-S4KY57GZ.js?v=62295903:1274
set @ chunk-S4KY57GZ.js?v=62295903:1292
_createVNode.onUpdate:modelValue._cache.<computed>._cache.<computed> @ gpu_details_card.vue:27
callWithErrorHandling @ chunk-S4KY57GZ.js?v=62295903:1584
callWithAsyncErrorHandling @ chunk-S4KY57GZ.js?v=62295903:1592
emit @ chunk-S4KY57GZ.js?v=62295903:2093
set @ chunk-TJM6J5C4.js?v=62295903:124
set value @ chunk-S4KY57GZ.js?v=62295903:1407
onModelUpdate @ vuetify_components.js?v=62295903:9343
callWithErrorHandling @ chunk-S4KY57GZ.js?v=62295903:1584
callWithAsyncErrorHandling @ chunk-S4KY57GZ.js?v=62295903:1592
emit @ chunk-S4KY57GZ.js?v=62295903:2093
set @ chunk-TJM6J5C4.js?v=62295903:124
set value @ chunk-S4KY57GZ.js?v=62295903:1407
(anonymous) @ vuetify_components.js?v=62295903:8554
Promise.then
nextTick @ chunk-S4KY57GZ.js?v=62295903:1667
onClear @ vuetify_components.js?v=62295903:8553
callWithErrorHandling @ chunk-S4KY57GZ.js?v=62295903:1584
callWithAsyncErrorHandling @ chunk-S4KY57GZ.js?v=62295903:1592
invoker @ chunk-S4KY57GZ.js?v=62295903:9414
sentryWrapped @ @sentry_vue.js?v=62295903:7589
Show 36 more frames
Show lessUnderstand this error
main.ts:18 [Uncaught Error]
- Message: Cannot read properties of undefined (reading 'contract')
- Stack: TypeError: Cannot read properties of undefined (reading 'contract')
at http://localhost:5173/src/components/node_details_cards/gpu_details_card.vue:103:46
at Proxy.renderFnWithContext (http://localhost:5173/node_modules/.vite/deps/chunk-S4KY57GZ.js?v=62295903:2194:13)
at Proxy.<anonymous> (http://localhost:5173/node_modules/.vite/deps/vuetify_components.js?v=62295903:17124:55)
at renderComponentRoot (http://localhost:5173/node_modules/.vite/deps/chunk-S4KY57GZ.js?v=62295903:2243:17)
at ReactiveEffect.componentUpdateFn [as fn] (http://localhost:5173/node_modules/.vite/deps/chunk-S4KY57GZ.js?v=62295903:7179:26)
at ReactiveEffect.run (http://localhost:5173/node_modules/.vite/deps/chunk-S4KY57GZ.js?v=62295903:442:19)
at instance.update (http://localhost:5173/node_modules/.vite/deps/chunk-S4KY57GZ.js?v=62295903:7229:52)
at callWithErrorHandling (http://localhost:5173/node_modules/.vite/deps/chunk-S4KY57GZ.js?v=62295903:1584:32)
at flushJobs (http://localhost:5173/node_modules/.vite/deps/chunk-S4KY57GZ.js?v=62295903:1782:9)
- Constructor: TypeError
(anonymous) @ @sentry_vue.js?v=62295903:851
(anonymous) @ logger-interceptor.js?v=62295903:60
app.config.errorHandler @ main.ts:18
app.config.errorHandler @ @sentry_vue.js?v=62295903:22512
callWithErrorHandling @ chunk-S4KY57GZ.js?v=62295903:1584
handleError @ chunk-S4KY57GZ.js?v=62295903:1625
renderComponentRoot @ chunk-S4KY57GZ.js?v=62295903:2280
componentUpdateFn @ chunk-S4KY57GZ.js?v=62295903:7179
run @ chunk-S4KY57GZ.js?v=62295903:442
instance.update @ chunk-S4KY57GZ.js?v=62295903:7229
callWithErrorHandling @ chunk-S4KY57GZ.js?v=62295903:1584
flushJobs @ chunk-S4KY57GZ.js?v=62295903:1782
Promise.then
queueFlush @ chunk-S4KY57GZ.js?v=62295903:1695
queueJob @ chunk-S4KY57GZ.js?v=62295903:1689
scheduler @ chunk-S4KY57GZ.js?v=62295903:3203
triggerEffect @ chunk-S4KY57GZ.js?v=62295903:633
triggerEffects @ chunk-S4KY57GZ.js?v=62295903:623
triggerRefValue @ chunk-S4KY57GZ.js?v=62295903:1230
set value @ chunk-S4KY57GZ.js?v=62295903:1274
set @ chunk-S4KY57GZ.js?v=62295903:1292
_createVNode.onUpdate:modelValue._cache.<computed>._cache.<computed> @ gpu_details_card.vue:27
callWithErrorHandling @ chunk-S4KY57GZ.js?v=62295903:1584
callWithAsyncErrorHandling @ chunk-S4KY57GZ.js?v=62295903:1592
emit @ chunk-S4KY57GZ.js?v=62295903:2093
set @ chunk-TJM6J5C4.js?v=62295903:124
set value @ chunk-S4KY57GZ.js?v=62295903:1407
onModelUpdate @ vuetify_components.js?v=62295903:9343
callWithErrorHandling @ chunk-S4KY57GZ.js?v=62295903:1584
callWithAsyncErrorHandling @ chunk-S4KY57GZ.js?v=62295903:1592
emit @ chunk-S4KY57GZ.js?v=62295903:2093
set @ chunk-TJM6J5C4.js?v=62295903:124
set value @ chunk-S4KY57GZ.js?v=62295903:1407
(anonymous) @ vuetify_components.js?v=62295903:8554
Promise.then
nextTick @ chunk-S4KY57GZ.js?v=62295903:1667
onClear @ vuetify_components.js?v=62295903:8553
callWithErrorHandling @ chunk-S4KY57GZ.js?v=62295903:1584
callWithAsyncErrorHandling @ chunk-S4KY57GZ.js?v=62295903:1592
invoker @ chunk-S4KY57GZ.js?v=62295903:9414
sentryWrapped @ @sentry_vue.js?v=62295903:7589
Show 37 more frames
Show lessUnderstand this error
gpu_details_card.vue:27 [Vue warn]: Error in render function: "TypeError: Cannot read properties of undefined (reading 'contract')"
found in
---> <VCol>... (11 recursive calls)
<VDialog>
<NodeDetails> at /home/amira/tfgrid-sdk-ts/packages/playground/src/components/node_details.vue... (6 recursive calls)
<DeploymentListManager> at /home/amira/tfgrid-sdk-ts/packages/playground/src/components/deployment_list_manager.vue
<VMain>... (2 recursive calls)
<App> at /home/amira/tfgrid-sdk-ts/packages/playground/src/App.vue
<AsyncComponentWrapper>
```
Did you run make build in root? |
@amiraabouhadid issue was found on staging. It should be fixed now. |
Changes
Related Issues
Tested Scenarios
Checklist