Device-Type-Library-Import icon indicating copy to clipboard operation
Device-Type-Library-Import copied to clipboard

The repo "https://github.com/netbox-community/devicetype-library.git" is not a valid git repo.

Open raad-orfali opened this issue 1 year ago • 9 comments
trafficstars

I Followed the instruction to clone, config .env and run the ./nb-dt-import.py but getting this error.

Note that I don't have net issue and I can git clone https://github.com/netbox-community/devicetype-library.git without any issues

I also tried to create empty repo folder manually and run the command but getting the below error:

Package devicetype-library is already installed, updating /opt/Device-Type-Library-Import/repo An unknown error occurred: "Git Repository Error"

raad-orfali avatar Mar 24 '24 07:03 raad-orfali

Thanks a lot problem solved.

kindly update the README if possible to reflect the same for new users.

raad-orfali avatar Apr 15 '24 09:04 raad-orfali

I have the same problem but removing the GitInvalidRepositoryError line does not solve my problem. any idea what is the main reason of this issue?

mhdan avatar Aug 14 '24 14:08 mhdan

Same here...

Azmodeszer avatar Aug 27 '24 12:08 Azmodeszer

Any news?

Azmodeszer avatar Sep 20 '24 08:09 Azmodeszer

Yes, that was suggested earlier in this issue, but removing it does not work for me.

Azmodeszer avatar Sep 23 '24 10:09 Azmodeszer

In my case the problem was that cloning the repo does take lots of time and the main reason was it. I solved the problem by manually downloading the repo and unzipping it to the required path.

The timeout is caught and prints the wrong error and it confuses people.

mhdan avatar Sep 28 '24 11:09 mhdan