Solvik / netbox-agent

Netbox agent to run on your infrastructure's servers
Apache License 2.0
287 stars 74 forks source link

detailed project dependencies needed. #272

Open tirans opened 1 year ago

tirans commented 1 year ago

Describe the bug Due to my experience in failing to run this repo on fedora 37 & ubuntu 22.04 with python3.10 it's obvious this repo will benefit from additional essential details on the required dependencies. I can add a dockerfile etc to this repo to minimize users issues.

Expected behavior tested on os distribution (ubuntu 20.04 etc) a list of depended packages versions.

Configuration file not loaded.

Environment:

Additional context another issue is that running netbox_agent/cli.py ends with logger = logging.getLogger(name) AttributeError: partially initialized module 'logging' has no attribute 'getLogger' (most likely due to a circular import)

CllaudiaB commented 2 months ago

Hello @tirans , To run the program without this error: AttributeError: partially initialized module 'logging' has no attribute 'getLogger' (most likely due to a circular import) you can use the command: netbox_agent <argument name> or python3 -m netbox_agent.cli <argument name>