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

Uncaught TypeError: Cannot read properties of undefined (reading 'meta') #1016

Closed
ankithedau opened this issue Oct 13, 2021 · 3 comments
Closed
Labels
question Further information is requested
Milestone

Comments

@ankithedau
Copy link

ankithedau commented Oct 13, 2021

When I try to upload DCM file its throwing me error.

Uncaught TypeError: Cannot read properties of undefined (reading 'meta')
    at Proxy.getMetaData (dwv.min.js?e730:3)
    at Array.eval (dwv.vue?1f80:147)
    at w.utils.ListenerHandler.fireEvent **(dwv.min.js?e730:3)**
    at y (dwv.min.js?e730:3)
    at L (dwv.min.js?e730:3)
    at w.io.FilesLoader.eval [as onload] (dwv.min.js?e730:3)
    at w.utils.ThreadPool.h [as onwork] (dwv.min.js?e730:3)
    at w.utils.ThreadPool.onTaskEnd (dwv.min.js?e730:3)
    at w.utils.WorkerThread.stop (dwv.min.js?e730:3)
    at t (dwv.min.js?e730:3)
@ivmartel ivmartel added the question Further information is requested label Oct 15, 2021
@ivmartel ivmartel added this to the 0.30.0 milestone Oct 15, 2021
@ivmartel
Copy link
Owner

I will need more context to understand the issue... Is it possible you try to access the meta data before the data is loaded?

@ankithedau
Copy link
Author

ankithedau commented Oct 15, 2021

### Below is the dwv code. since the material design is not working in Vue-3 so I have used tailwind css
https://drive.google.com/file/d/1yW7_Impg-R3HueHTss8NSkf1Hb1KU0Bu/view?usp=sharing

### image which I am trying to upload
This image is working with your code but when I am trying with the below code it's loading 50% only and throwing the meta (undefined) error.
https://drive.google.com/file/d/177XYPPU_Ak91LMBL4LDD1hHfGtEiUw2e/view?usp=sharing

@ivmartel
Copy link
Owner

@ankithedau Did you find a solution to your problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants