Updating datasource from git repo fails: "No module named 'dulwich'" #10374

Closed
opened 2025-12-29 21:30:37 +01:00 by adam · 0 comments
Owner

Originally created by @fallenfuzz on GitHub (Oct 16, 2024).

Deployment Type

Self-hosted

Triage priority

N/A

NetBox Version

4.1.4

Python Version

3.10

Steps to Reproduce

Configure a new data source of the type "Git"
Update the data source by clicking the "Sync" button

Expected Behavior

The job should complete without errors.

Observed Behavior

The job fails with the following error:

SyncError("There was an error initializing the backend. A dependency needs to be installed: No module named 'dulwich'")
The issue can be worked-around by entering the venv and installing the module 'dulwich' manually with:

pip install dulwich

Originally created by @fallenfuzz on GitHub (Oct 16, 2024). ### Deployment Type Self-hosted ### Triage priority N/A ### NetBox Version 4.1.4 ### Python Version 3.10 ### Steps to Reproduce Configure a new data source of the type "Git" Update the data source by clicking the "Sync" button ### Expected Behavior The job should complete without errors. ### Observed Behavior The job fails with the following error: SyncError("There was an error initializing the backend. A dependency needs to be installed: No module named 'dulwich'") The issue can be worked-around by entering the venv and installing the module 'dulwich' manually with: pip install dulwich
adam closed this issue 2025-12-29 21:30:37 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#10374