detailed project dependencies needed. #272

Open
opened 2023-04-17 20:33:25 +02:00 by tirans · 1 comment
tirans commented 2023-04-17 20:33:25 +02:00 (Migrated from github.com)

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:

  • OS: Ubuntu 22.04 / Fedora 37
  • Python3.10
  • Netbox agent version : master

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)

**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:** - OS: Ubuntu 22.04 / Fedora 37 - Python3.10 - Netbox agent version : master **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 2024-08-05 17:41:36 +02:00 (Migrated from github.com)

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>

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>`
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: DGNum/netbox-agent#272
No description provided.