continue-revolution / sd-webui-animatediff

AnimateDiff for AUTOMATIC1111 Stable Diffusion WebUI
Other
3.1k stars 258 forks source link

AttributeError: 'str' object has no attribute 'height' #410

Closed Sylensar closed 8 months ago

Sylensar commented 9 months ago

Is there an existing issue for this?

Have you read FAQ on README?

What happened?

When generating with Animatediff I get the AttributeError: 'str' object has no attribute 'height' error at the end of the generation.

Steps to reproduce the problem

  1. Go to .... Enable Animatediff
  2. Press ....Generate

What should have happened?

Txt2Gif or Txt2Video

Commit where the problem happens

The latest of both. I have auto update in my bat file.

What browsers do you use to access the UI ?

Microsoft Edge

Command Line Arguments

set COMMANDLINE_ARGS=--autolaunch --update-check

Console logs

Can't find element:  TabSave
dreambooth.js?1706034653.6356506:35 Can't find element:  TabDebug
:7860/file=placeholder:1 

        Failed to load resource: the server responded with a status of 404 (Not Found)
dreambooth.js?1706034653.6356506:350 Hiding advanced elements!
txt-img-to-3d-mode.js?1699669637.7572455:1 [Txt/Img to 3D Model] loading...
index.6b33893a.js:41 yamlFile-------------- Object
index.6b33893a.js:41 yamlFile-------------- Object
:5173/assets/preview/General_ice_high_res/whiteHair.png:1 

        Failed to load resource: the server responded with a status of 404 (Not Found)
:5173/assets/preview/General_fire_high_res/whiteHair.png:1 

        Failed to load resource: the server responded with a status of 404 (Not Found)
:5173/assets/preview/General_celluloid_online_clean/whiteHair.png:1 

        Failed to load resource: the server responded with a status of 404 (Not Found)
:5173/assets/preview/3dCG/whiteHair.png:1 

        Failed to load resource: the server responded with a status of 404 (Not Found)
:5173/assets/preview/cartoon/whiteHair.png:1 

        Failed to load resource: the server responded with a status of 404 (Not Found)
:5173/assets/preview/ink%20doodle/whiteHair.png:1 

        Failed to load resource: the server responded with a status of 404 (Not Found)
:7860/assets/en-US-14af226a.js:1 

        Failed to load resource: the server responded with a status of 404 (Not Found)
(index):1 [Intervention] Images loaded lazily and replaced with placeholders. Load events are deferred. See https://go.microsoft.com/fwlink/?linkid=2048113
svgcanvas.js:864  Error: <svg> attribute width: Expected length, "NaN".
updateCanvas @ svgcanvas.js:864
svgcanvas.js:864  Error: <svg> attribute height: Expected length, "NaN".
updateCanvas @ svgcanvas.js:864
svgcanvas.js:864  Error: <svg> attribute x: Expected length, "NaN".
assignAttributes @ svgcanvas.js:864
svgcanvas.js:864  Error: <svg> attribute y: Expected length, "NaN".
assignAttributes @ svgcanvas.js:864
svgcanvas.js:864  Error: <svg> attribute x: Expected length, "NaN".
assignAttributes @ svgcanvas.js:864
svgcanvas.js:864  Error: <svg> attribute y: Expected length, "NaN".
assignAttributes @ svgcanvas.js:864
svgcanvas.js:864  Error: <g> attribute transform: Expected number, "translate(NaN,NaN)".
updateCanvas @ svgcanvas.js:864
svgcanvas.js:864  Error: <svg> attribute width: Expected length, "NaN".
updateCanvas @ svgcanvas.js:864
svgcanvas.js:864  Error: <svg> attribute height: Expected length, "NaN".
updateCanvas @ svgcanvas.js:864
svgcanvas.js:864  Error: <svg> attribute x: Expected length, "NaN".
assignAttributes @ svgcanvas.js:864
svgcanvas.js:864  Error: <svg> attribute y: Expected length, "NaN".
assignAttributes @ svgcanvas.js:864
svgcanvas.js:864  Error: <svg> attribute x: Expected length, "NaN".
assignAttributes @ svgcanvas.js:864
svgcanvas.js:864  Error: <svg> attribute y: Expected length, "NaN".
assignAttributes @ svgcanvas.js:864
svgcanvas.js:864  Error: <g> attribute transform: Expected number, "translate(NaN,NaN)".
updateCanvas @ svgcanvas.js:864
:7860/assets/languages-e8d9835d.js:1 

        Failed to load resource: the server responded with a status of 404 (Not Found)
 Potraced 3% %c■■ color: rgba(102,102,102,255)
 Potraced 6% %c■■ color: rgba(153,153,153,255)
 Potraced 9% %c■■ color: rgba(153,153,102,255)
 Potraced 13% %c■■ color: rgba(204,204,153,255)
 Potraced 16% %c■■ color: rgba(204,204,204,255)
 Potraced 19% %c■■ color: rgba(153,102,102,255)
 Potraced 22% %c■■ color: rgba(255,255,255,255)
 Potraced 25% %c■■ color: rgba(51,51,51,255)
 Potraced 28% %c■■ color: rgba(0,0,0,255)
 Potraced 31% %c■■ color: rgba(255,255,204,255)
 Potraced 41% %c■■ color: rgba(153,102,153,255)
 Potraced 59% %c■■ color: rgba(51,0,51,255)
 Potraced 100% %c■■ color: rgba(51,102,102,255)

Additional information

Nothing else

continue-revolution commented 8 months ago

if you still have this problem, post it in a new issue with the full terminal log (not console log.)