Code Monkey home page Code Monkey logo

Comments (6)

jordanrvillarreal avatar jordanrvillarreal commented on September 27, 2024

I've had similar issues. I've found that if you let it sit for a few minutes, no real handle on how long this is, then toggle between the horizontal or vertical view a few times, no real handle on how many times, it will eventually display. I don't have a site quite at that scale but this work on my site of ~35 devices.

from nextbox-ui-plugin.

iDebugAll avatar iDebugAll commented on September 27, 2024

First of all, thank you for your feedback.
Please try a few workarounds to identify the issue scope and conditions:

  1. Open the Site topology page directly:
    http://{your_netbox_host}/plugins/nextbox-ui/site_topology/{site_id}
    Will the topology open properly in this case?
  2. Add a plugin option to disable initial vertical layout in Netbox’s configuration.py and restart NetBox service:
PLUGINS_CONFIG = {
  ‘nextbox_ui_plugin’: {
    ‘INITIAL_LAYOUT’: ‘auto’,
  }
}

This should still generate a proper view from the Site page. Once you see the topology, you may switch the layout to vertical/horizontal using buttons manually.

Also what is your browser and OS? It seems the initial vertical layout pease of code causes the issue with infinite loading logo in some browsers/versions.

from nextbox-ui-plugin.

jpobeda avatar jpobeda commented on September 27, 2024

I've seen the same behavior. If I set INITIAL_LAYOUT to auto it works and If I got straight to the URL it never fails.

@iDebugAll ,do we have any tools to control node spacing? vertical and horizontal layout get all devices squeezed together. Any chance of saving the positioning once you move them around?
Also on the samples you provide I noticed the labels some times get rendered upside down, how can we get around that?

from nextbox-ui-plugin.

Pzharyuk avatar Pzharyuk commented on September 27, 2024

PLUGINS_CONFIG = {
‘nextbox_ui_plugin’: {
‘INITIAL_LAYOUT’: ‘auto’,
}
}

Jun 15 10:27:51 dtnaacvdl210 gunicorn[31768]: raise HaltServer(reason, self.WORKER_BOOT_ERROR)
Jun 15 10:27:51 dtnaacvdl210 gunicorn[31768]: gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3>
Jun 15 10:27:51 dtnaacvdl210 systemd[1]: netbox.service: main process exited, code=exited, status=1/FAILURE
Jun 15 10:27:51 dtnaacvdl210 systemd[1]: Unit netbox.service entered failed state.
Jun 15 10:27:51 dtnaacvdl210 systemd[1]: netbox.service failed.
lines 14017-14072/14072 (END)

When I add the plugin config, netbox service fails to start.

from nextbox-ui-plugin.

misch42 avatar misch42 commented on September 27, 2024

ok. seems to work now. Thanks for your help.

from nextbox-ui-plugin.

iDebugAll avatar iDebugAll commented on September 27, 2024

INITIAL_LAYOUT is now set to 'auto' by default in the latest release.
This is a workaround setting until a manage to fix the bug.

from nextbox-ui-plugin.

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.