Giter Club home page Giter Club logo

Comments (7)

SpoffNinja avatar SpoffNinja commented on July 26, 2024

Here's mine

Error loading script: additional_networks.py
Traceback (most recent call last):
File "I:\SSD2\stable-diffusion-webui\modules\scripts.py", line 205, in load_scripts
module = script_loading.load_module(scriptfile.path)
File "I:\SSD2\stable-diffusion-webui\modules\script_loading.py", line 13, in load_module
exec(compiled, module.dict)
File "I:\SSD2\stable-diffusion-webui\extensions\sd-webui-additional-networks\scripts\additional_networks.py", line 419, in
xy_grid = scriptDataTuple.module
AttributeError: 'ScriptClassData' object has no attribute 'module'

I get this even after updating Automatic1111 to the latest. Tried reinstalling this extension a few times as well, no change.

Is there maybe an additional extension that is required to be active like Dreambooth? I've tried turning off and on various extensions but keep getting the same error.

Any help would be appreciated.

from sd-webui-additional-networks.

kohya-ss avatar kohya-ss commented on July 26, 2024

The latest web UI has module in ScriptClassData.
https://github.com/AUTOMATIC1111/stable-diffusion-webui/blob/master/modules/scripts.py#L155

I'm not sure what cause the issue...

from sd-webui-additional-networks.

catboxanon avatar catboxanon commented on July 26, 2024

I'm going to guess at least one of you is pulling from the gitgud.io repo. The GitHub ban was less than a day long event and that repo is no longer maintained. Fix your origin URL.

git remote set-url origin https://github.com/AUTOMATIC1111/stable-diffusion-webui.git

from sd-webui-additional-networks.

SpoffNinja avatar SpoffNinja commented on July 26, 2024

@kohya-ss hmmm thanks, i'll go open that file in a editor and make sure if it reflects that link you sent when I get home

@catboxanon Thanks for letting me know, as far as i know, I haven't changed my pull source when the ban happened as I only read about it the next day. Is there anyway to check it's pulling from the correct source? Any specific GIT command I can do to let it tell me which URL its going to use to check?

If all else fails, I'll try a complete reinstall of Automatic1111

from sd-webui-additional-networks.

catboxanon avatar catboxanon commented on July 26, 2024

git remote -v

from sd-webui-additional-networks.

icryo avatar icryo commented on July 26, 2024

git pulling the updated version of SD fixed this on my end

from sd-webui-additional-networks.

SpoffNinja avatar SpoffNinja commented on July 26, 2024

@catboxanon Thanks, tried that and it was indeed showing the github link for Automatic1111. then checked the script.py file and it was showing the correct entries as kohya pointed out.

Very odd, but did a complete new install of the WebGUI this morning and tried first thing this extension and it's working perfect. Just going migrate all my stuff over and delete the old install. Very odd, but looks like a fresh install did the trick.

Thanks both for the help!

Edit: Got the old install working, seems something was wrong with the venv, I deleted the venv folder and let is setup everything again there and the old install is now working with the WebGUI and Extension

from sd-webui-additional-networks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.