-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Multiple SVG errors in JSON Error: Invalid value for <svg> attribute width="undefined" #180
Comments
that looks like an expression issue |
File sent. Thank you. |
@bodymovin I seem to be having a similar issue, and I've attached a screenshot of my console logs. I was wondering what the solution for this was? !!! SORRY, All I had to do was change the attribute being defined from |
@Tswan nice! :) |
I have the same issue like @Tswan.
where any hint? i've tried to change Thank you so much! |
@giacomoalonzi can you share a link where it fails so I can check the error? |
@giacomoalonzi in my case it required me to write a path to the json file. It could be absolute or relative, but the way I did it so the script started from the root directory was: I'm thinking this may be related to writing the correct path? |
Should be |
Works for me:
|
Works for me! But how you know that's are the solution? |
The plugin is great. We have created 9 different animations, with 6 of them working flawlessly. The final 3 all seem to have issues. One renders alright, but certain elements are out of place and not animated. Two others just throw console errors like crazy. I'd be happy to send the AE file, however would prefer not to make it publicly available. Is there an email I can send it to for help?
[Error] Error: Invalid value for attribute width="undefined"
configAnimation (Anonymous Script 2 (line 4437))
configAnimation (Anonymous Script 2 (line 7517))
setParams (Anonymous Script 2 (line 7360))
loadAnimation (Anonymous Script 2 (line 7136))
loadAnimation (Anonymous Script 2 (line 12441:1191))
(anonymous function) (Anonymous Script 3 (line 91))
each (Anonymous Script 1 (line 368))
(anonymous function) (Anonymous Script 3 (line 90))
mightThrow (Anonymous Script 1 (line 3570))
(anonymous function) (Anonymous Script 1 (line 3638))
[Error] Error: Invalid value for attribute height="undefined"
configAnimation (Anonymous Script 2 (line 4438))
configAnimation (Anonymous Script 2 (line 7517))
setParams (Anonymous Script 2 (line 7360))
loadAnimation (Anonymous Script 2 (line 7136))
loadAnimation (Anonymous Script 2 (line 12441:1191))
(anonymous function) (Anonymous Script 3 (line 91))
each (Anonymous Script 1 (line 368))
(anonymous function) (Anonymous Script 3 (line 90))
mightThrow (Anonymous Script 1 (line 3570))
(anonymous function) (Anonymous Script 1 (line 3638))
[Error] Error: Invalid value for attribute width="undefined"
configAnimation (Anonymous Script 2 (line 4461))
configAnimation (Anonymous Script 2 (line 7517))
setParams (Anonymous Script 2 (line 7360))
loadAnimation (Anonymous Script 2 (line 7136))
loadAnimation (Anonymous Script 2 (line 12441:1191))
(anonymous function) (Anonymous Script 3 (line 91))
each (Anonymous Script 1 (line 368))
(anonymous function) (Anonymous Script 3 (line 90))
mightThrow (Anonymous Script 1 (line 3570))
(anonymous function) (Anonymous Script 1 (line 3638))
[Error] Error: Invalid value for attribute height="undefined"
configAnimation (Anonymous Script 2 (line 4462))
configAnimation (Anonymous Script 2 (line 7517))
setParams (Anonymous Script 2 (line 7360))
loadAnimation (Anonymous Script 2 (line 7136))
loadAnimation (Anonymous Script 2 (line 12441:1191))
(anonymous function) (Anonymous Script 3 (line 91))
each (Anonymous Script 1 (line 368))
(anonymous function) (Anonymous Script 3 (line 90))
mightThrow (Anonymous Script 1 (line 3570))
(anonymous function) (Anonymous Script 1 (line 3638))
[Error] TypeError: undefined is not an object (evaluating 'animData.layers.length')
(anonymous function) (Anonymous Script 1 (line 4477))
The text was updated successfully, but these errors were encountered: