#TypeError: Invoker.create_execution_state() got an unexpected keyword argument 'queue_id'

112 messages ยท Page 1 of 1 (latest)

main oriole
#

I've tried upgrading to InvokeAI 3.2.0 and something is broken. Everything installs fine and then when I try to generate an image, I receive this error in the attached screenshot. I looked on Github and it appears to be related to the frontend and the new queue functionality? I have tried both the automated installer and a clean manual install on Windows by creating a Python environment. Both have failed under this latest version. I'm hoping there is an easy fix ๐Ÿ˜… Thank you for any help!

#

TypeError: Invoker.create_execution_state() got an unexpected keyword argument 'queue_id'

topaz thicket
#

if you're using a manual install (you cloned the github repo), do this:

cd invokeai/frontend/web
yarn build

and then run invoke

main oriole
#

I installed using the manual instructions on the main page, I'll give this a try and let you know if it works

#

Hmm, doesn't look like I can run those commands. I don't have the invokeai/frontend/web folder. The automated installer released a few hours ago should work fine though? I assume 3.2.0 is a fully built release? I'll try cloning the repo directly and see if I can work it out. Thanks for the help, open to any further suggestions ๐Ÿ‘

topaz thicket
#

the automated installer should work fine, it has a full built frontend - the main brand of the repo isn't guaranteed to have an updated frontend build

hushed sparrow
#

I'm having the same issue currently after using the automated installer

main oriole
#

Good to hear it's not just me, haha

hushed sparrow
#

Yeah, just ran the broken install option and it's still doin it

#

At first I thought I stumbled upon some sort of banned wording when I prompted "anthropomorphic cartoon taco person" lol

main oriole
#

I thought prompting 'in the style of halo' was getting cortana confused on Windows 11 lol

topaz thicket
#

did either of you update from an existing install?

main oriole
#

Yup, I first tried selecting option 9 on the terminal to update and it listed 3.2.0 as the latest version. That installed fine. My webUI looks like this as well, no queuing prompt or anything new I can see from last version.

#

Doing a fresh automated install and a fresh manual one in Python didn't change anything for me

topaz thicket
#

Could you try deleting your .venv folder and re-running the automated install? I'm a little confused as to what's going on

main oriole
#

I'll try that now, I'll download the latest automated one from the official release and delete my manual python install

topaz thicket
#

awesome, thank you! sorry about the difficulties

main oriole
#

Thanks for the help, I'd like to get the latest version working haha. I'll let you know how it goes

topaz thicket
#

@hushed sparrow how did you install InvokeAI?

main oriole
#

I'll downgrade back to 3.1.1 for now, but I can easily upgrade to 3.2.0 and continue troubleshooting. Please let me know if you need me to try any further troubleshooting steps. I'm happy to help out where I can ๐Ÿ‘

topaz thicket
#

one other thing - when the server starts, is the root directory what you expect it to be? or is it picking up another InvokeAI installation

@rare mantle do you have any trouble shooting thoughts here?

main oriole
#

Yes, I installed to D:\AI\invokeai and terminal says: Root directory = D:\AI\invokeai

rare mantle
#

The error message indicates the UI build is not current - confirmed by the screenshots

rare mantle
#

Just checked the release and it looks to have the correct UI build.

Have you ever installed the app in any way other than official releases, and updating to "stable" releases via the launcher? By "stable" releases, I mean the normal update, not bleeding-edge or manual branch selection.

main oriole
#

Now you mention it, yes. A few days ago I used the updater in the command line to install the 3.2.0rc3 early version. I got the same error message and downgraded back to 3.1.1. Didn't realise and I probably broke it, lol

rare mantle
#

Well, let's blame the computer and not you

main oriole
#

Yeah I blame the PC for everything

rare mantle
#

Now... fixing this... I'm sorry to say I'm not sure how the updater and installed version works. What I think will fix it is:

  • run the launcher and open the developer console
  • run pip uninstall invokeai, let it do its thing
  • run pip install invokeai, let it do its thing
  • close the terminal window and then try running it again
#

Worst case scenario - this really breaks it and you will need to reinstall (your models, images, etc will be fine)

main oriole
#

I'll try this, it's almost like whatever version its pulling from the server isn't the latest or something. I've had to do that with conda and python with textgen, etc

rare mantle
#

I suspect when it went to update, it thought it already had the right version, did nothing, and told you "all done!"

main oriole
#

Yeah the terminal can be a bit temperamental

#

Ok, ran the commands, pip uninstalled 3.2.0, then I reinstalled it and all requirements were already satisfied under 3.2.0. Just opened the webui, still happening ๐Ÿ”ฅ

rare mantle
topaz thicket
#

might be silly, but could you try to clear your local browser history / run from another browser?

main oriole
#

I'll try both and let you know, thanks

#

I don't know if it was pip install --upgrade --force-reinstall invokeai or running an incognito tab, but UI is now up to date and generation is working. It's super slow though.

I'm getting a new error about reinstalling xformers, is it safe for me to run pip install xformers from the command line? It's probably generating with my cpu.

#

I'll clear my cache and browsing data, used to do that so much with clients on the phone. Completely missed it, lol

topaz thicket
#

you'll want to install it from within the developer console (option 8 in the invoke.bat)

#

but glad it's working!

main oriole
#

I'll run that command now, thank you both for the help! Never thought it would be a browser cache problem, went straight to the deep end

#

Hopefully our troubleshooting helps @hushed sparrow and others with the same issue

rare mantle
#

(unless you already emptied browser cache)

main oriole
#

I'll test that now, haven't cleared it yet

#

Absolutely, I think it's a cache issue. running the weburl in the current session gives me the old ui

#

I will do a full clear cache on the browser and confirm once more

rare mantle
#

Whelp, my 15 years of IT support and administration obviously were not adequately retained.

main oriole
#

Same here lol, though my HR job was far from IT support. Many calls were about Windows issues, haha

#

I used to ask them to call IT support instead, lol

#

I can confirm clearing the cache completely is also working ๐Ÿ‘

#

With xformers, I'll just completely reinstall invokeai, I think that should work fine now. Thanks again for the help

hushed sparrow
#

So end of the day it was just the cache again? You'd think with how often that solves problems, it'd be like "Have you tried turning it off and on again?" lol

#

Well, it's generating images now, but instead of the normal tags, everything has its dev labels. Instead of Invoke, it says "parameters.invoke.invoke"

rare mantle
rare mantle
pale fulcrum
#

I updated via option 9 - and I'm getting the same error

topaz thicket
pale fulcrum
#

10

#

๐Ÿคฆโ€โ™‚๏ธ

#

just did psychedelicious' suggestion above. option 8 and the --upgrade command. it's updating now...

rare mantle
#

I'm confused about this. The javascript bundle should have a different filename for each release. The browser should therefore not cache it.

#

I mean, it will cache it, but the website itself will load a totally different JS bundle

pale fulcrum
#

sigh. I deleted my .venv folder. which means nothing works now.

#

even after the re-install for some reason.

rare mantle
#

Did you ever install the application manually, or clone the git repo?

#

Or use the "bleeding edge" update feature from the launcher (which no longer exists)

pale fulcrum
#

nope. and I just completed the install from the zip. aaaand, I still don't have an updated front end.

#

and I still get the same error when I try to gen.

topaz thicket
#

@pale fulcrum can I give you another .zip installer to try?

pale fulcrum
#

the version at the top of the page reads 3.2.0 though? it just isn't.

#

You can - but it's my wife's birthday and I've stepped away for the moment. We are now watching the masked singer. Domestic tranquility is paramount, as my dad always told me...

#

@topaz thicket

topaz thicket
pale fulcrum
#

Will do!

topaz thicket
#

thank you!

pale fulcrum
#

Running the installer now @topaz thicket

hushed sparrow
#

@rare mantle I tried --force-choke invokeai and got:
WARNING[XFORMERS]: xFormers can't load C++/CUDA extensions. xFormers was built for:

#

And when I tried to generate, I'm pretty sure it was trying to use the CPU, cuz it was reeeeeal slow lol

pale fulcrum
#

@topaz thicket nope - same result.

#

mother-puss-bucket. I cleared my cache (which is usually the first thing I do) and it loaded the correct interface.

#

๐Ÿคฆโ€โ™‚๏ธ

topaz thicket
pale fulcrum
#

and it is running a gen.

#

after the new installer

#

but i didn't do it BEFORE - so I can't say for sure that was it.

rare mantle
hushed sparrow
#

Mine was working after clearin my cache, but I musta cleared somethin else as well, cuz it made my buttons named all wonky. It generated fine, but it was all dev talk lol. But after running that command, it's trying to run on CPU instead of CUDA because reasons.

rare mantle
#

yeah, what i told you to do removed the cuda stuff ๐Ÿ˜…

hushed sparrow
#

So... Amish hackers again, then?

rare mantle
#

sounds about right

hushed sparrow
#

Will this also fix the weirdly named buttons or is that something else I did that needs a new fix? LoL

rare mantle
#

i don't know what the solution is exactly, but reinstalling everything is a good start. the issue with naming on buttons is the translations aren't loading. why exactly that is happening, i do not know. something got borked

hushed sparrow
#

This is why I keep all my installer zip files, just in case xD

rare mantle
#

in this case, the UI itself is fine, but it needs to request resources from the server or its bundled assets. when an installation goes sideways, it may not be able to get these, or if the wrong assets were installed, will be out of date.

in this case, the translation files aren't accessible for some reason

hushed sparrow
#

Yeah, I had to resort to sign language at one point

#

I'm gonna have to run that command again on the new install, aren't I?

rare mantle
#

no, if you have a totally fresh install does the same thing

#

the command manually reinstalls the application

#

if you do a "proper" reinstall, that shouldnt be necessary

#

im confused by the whole situation, because this typically isnt a widespread issue :/

hushed sparrow
#

Oh slick

#

Isn't it just me and SauerCarey having this problem, or is there another thread going about it now?

rare mantle
#

no there have been a number of instances

hushed sparrow
#

Ominous comrad25Rivi

#

Crap, buttons still have weird names

#

Whatevz, I don't care as long as I can generate still lol

topaz thicket
#

if you try another browser do you still have the issue?

hushed sparrow
#

Good question! I'll check Edge once this generation is done generatinatin'