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'
112 messages ยท Page 1 of 1 (latest)
TypeError: Invoker.create_execution_state() got an unexpected keyword argument 'queue_id'
if you're using a manual install (you cloned the github repo), do this:
cd invokeai/frontend/web
yarn build
and then run invoke
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 ๐
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
I'm having the same issue currently after using the automated installer
Good to hear it's not just me, haha
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
I thought prompting 'in the style of halo' was getting cortana confused on Windows 11 lol
did either of you update from an existing install?
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
Could you try deleting your .venv folder and re-running the automated install? I'm a little confused as to what's going on
I'll try that now, I'll download the latest automated one from the official release and delete my manual python install
awesome, thank you! sorry about the difficulties
Thanks for the help, I'd like to get the latest version working haha. I'll let you know how it goes
@hushed sparrow how did you install InvokeAI?
I downloaded the installer zip for 3.2.0 from here:
https://github.com/invoke-ai/InvokeAI/releases/tag/v3.2.0
I installed it, unfortunately I'm getting the exact same error message with it
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 ๐
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?
Yes, I installed to D:\AI\invokeai and terminal says: Root directory = D:\AI\invokeai
The error message indicates the UI build is not current - confirmed by the screenshots
I am intrigued and terrified
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.
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
Well, let's blame the computer and not you
Yeah I blame the PC for everything
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)
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
I suspect when it went to update, it thought it already had the right version, did nothing, and told you "all done!"
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 ๐ฅ
Ok, let's try a bit more serious of a command from dev console: pip install --upgrade --force-reinstall invokeai
might be silly, but could you try to clear your local browser history / run from another browser?
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
you'll want to install it from within the developer console (option 8 in the invoke.bat)
but glad it's working!
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
You can test if its cache related by opening it up in non-incognito
(unless you already emptied browser cache)
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
Whelp, my 15 years of IT support and administration obviously were not adequately retained.
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
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"
Back when I was in IT, my colleagues made me a shirt with that on it ๐
Can you please try this?
- (with the app not running)
- run the launcher and open the developer console
- run
pip install --upgrade --force-reinstall invokeai, let it do its thing - close the terminal window in which you did this
- try the app again
I updated via option 9 - and I'm getting the same error
Did you try clearing your local browser cache?
10
๐คฆโโ๏ธ
just did psychedelicious' suggestion above. option 8 and the --upgrade command. it's updating now...
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
sigh. I deleted my .venv folder. which means nothing works now.
even after the re-install for some reason.
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)
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.
@pale fulcrum can I give you another .zip installer to try?
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
heh very fair! happy birthday to her!
when you get a chance, could you try this installer?
Will do!
thank you!
Running the installer now @topaz thicket
@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
@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.
๐คฆโโ๏ธ
Was this before or after trying the new installer?
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.
ahh sorry, I think this is the right way then pip install --upgrade --force-reinstall "invokeai[xformers]" --use-pep517 --extra-index-url https://download.pytorch.org/whl/cu118
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.
yeah, what i told you to do removed the cuda stuff ๐
sounds about right
Will this also fix the weirdly named buttons or is that something else I did that needs a new fix? LoL
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
This is why I keep all my installer zip files, just in case xD
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
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?
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 :/
Oh slick
Isn't it just me and SauerCarey having this problem, or is there another thread going about it now?
no there have been a number of instances
Ominous 
Crap, buttons still have weird names
Whatevz, I don't care as long as I can generate still lol
if you try another browser do you still have the issue?
Good question! I'll check Edge once this generation is done generatinatin'