Seite 1 von 1

create_driver_links.py verweist auf nicht vorhandene URL

Verfasst: 26 Jan 2024, 11:12
von ruetters
Moin mitnanner,

beim Ausführen von 'create_driver_links.py' in einem Netboot-Product (zB. Win11-x64) soll die pci-ids Liste heruntergeladen werden.
Leider ist unter der Adresse "http://pciids.sourceforge.net/pci.ids" nichts hinterlegt und man wird umgeleitet.

Hier der Fehlertext:

Code: Alles auswählen

[4] [2024-01-26 11:01:11.370] [               ] Warning 'invalid escape sequence '\.'' in file '<string>', line 150   (logging.py:949)
[4] [2024-01-26 11:01:11.371] [               ] Warning 'invalid escape sequence '\.'' in file '<string>', line 157   (logging.py:949)
[4] [2024-01-26 11:01:11.371] [               ] Warning 'invalid escape sequence '\.'' in file '<string>', line 164   (logging.py:949)
[3] [2024-01-26 11:01:11.705] [               ] Command '/usr/bin/wget http://pciids.sourceforge.net/pci.ids' failed (8):
--2024-01-26 11:01:11--  http://pciids.sourceforge.net/pci.ids
Auflösen des Hostnamens pciids.sourceforge.net (pciids.sourceforge.net) … 104.18.37.111, 172.64.150.145, 2606:4700:4400::6812:256f, ...
Verbindungsaufbau zu pciids.sourceforge.net (pciids.sourceforge.net)|104.18.37.111|:80 … verbunden.
HTTP-Anforderung gesendet, auf Antwort wird gewartet … 301 Moved Permanently
Platz: https://pciids.sourceforge.net/pci.ids [folgend]
--2024-01-26 11:01:11--  https://pciids.sourceforge.net/pci.ids
Verbindungsaufbau zu pciids.sourceforge.net (pciids.sourceforge.net)|104.18.37.111|:443 … verbunden.
HTTP-Anforderung gesendet, auf Antwort wird gewartet … 404 Not Found
2024-01-26 11:01:11 FEHLER 404: Not Found.

   (<string>:280)
Traceback (most recent call last):
  File "<string>", line 277, in <module>
  File "<string>", line 124, in link
  File "OPSI/System/Posix.py", line 1057, in execute
RuntimeError: Command '/usr/bin/wget http://pciids.sourceforge.net/pci.ids' failed (8):
--2024-01-26 11:01:11--  http://pciids.sourceforge.net/pci.ids
Auflösen des Hostnamens pciids.sourceforge.net (pciids.sourceforge.net) … 104.18.37.111, 172.64.150.145, 2606:4700:4400::6812:256f, ...
Verbindungsaufbau zu pciids.sourceforge.net (pciids.sourceforge.net)|104.18.37.111|:80 … verbunden.
HTTP-Anforderung gesendet, auf Antwort wird gewartet … 301 Moved Permanently
Platz: https://pciids.sourceforge.net/pci.ids [folgend]
--2024-01-26 11:01:11--  https://pciids.sourceforge.net/pci.ids
Verbindungsaufbau zu pciids.sourceforge.net (pciids.sourceforge.net)|104.18.37.111|:443 … verbunden.
HTTP-Anforderung gesendet, auf Antwort wird gewartet … 404 Not Found
2024-01-26 11:01:11 FEHLER 404: Not Found.


Traceback (most recent call last):
  File "opsiutils/opsipython.py", line 70, in main
  File "opsiutils/opsipython.py", line 48, in run_script
  File "<string>", line 281, in <module>
  File "<string>", line 277, in <module>
  File "<string>", line 124, in link
  File "OPSI/System/Posix.py", line 1057, in execute
RuntimeError: Command '/usr/bin/wget http://pciids.sourceforge.net/pci.ids' failed (8):
--2024-01-26 11:01:11--  http://pciids.sourceforge.net/pci.ids
Auflösen des Hostnamens pciids.sourceforge.net (pciids.sourceforge.net) … 104.18.37.111, 172.64.150.145, 2606:4700:4400::6812:256f, ...
Verbindungsaufbau zu pciids.sourceforge.net (pciids.sourceforge.net)|104.18.37.111|:80 … verbunden.
HTTP-Anforderung gesendet, auf Antwort wird gewartet … 301 Moved Permanently
Platz: https://pciids.sourceforge.net/pci.ids [folgend]
--2024-01-26 11:01:11--  https://pciids.sourceforge.net/pci.ids
Verbindungsaufbau zu pciids.sourceforge.net (pciids.sourceforge.net)|104.18.37.111|:443 … verbunden.
HTTP-Anforderung gesendet, auf Antwort wird gewartet … 404 Not Found
2024-01-26 11:01:11 FEHLER 404: Not Found.

OPSI ist auf dem aktuellsten Stand 4.3 und alle Pakete wurden aktualisiert. (apt update, apt upgrade, apt dist-upgrade, opsi-package-update -v update)
Habe dieses Problem bei mehreren OPSI-Servern an verschiedenen Standorten und ist bei der Erstellung des win11-x64-Bootimages aufgefallen als ich die Treiber integrieren wollte.

Natürlich könnte ich die URL im Script einfach ändern, aber das ist ja keine Dauerlösung. (Und auch nicht Update sicher)

Der manuelle Aufruf der URL im Browser führt ebenfalls zu Error 404.

Habe nur ich das Problem? Kann ich mir irgendwie nicht vorstellen...

Lieben Gruß
René

Re: create_driver_links.py verweist auf nicht vorhandene URL

Verfasst: 26 Jan 2024, 12:28
von m.radtke
Hi

nein, du bist nicht alleine :)

Das Paket wird aktualisiert.

Gruß
Mathias

Re: create_driver_links.py verweist auf nicht vorhandene URL

Verfasst: 26 Jan 2024, 12:43
von ruetters
Super. Danke für die rasche Antwort.

Re: create_driver_links.py verweist auf nicht vorhandene URL

Verfasst: 26 Feb 2024, 12:28
von otto b.
Problem besteht leider immer noch,
oder gibt es irgendwo eine aktualisierte create_driver_links.py?

Re: create_driver_links.py verweist auf nicht vorhandene URL

Verfasst: 26 Feb 2024, 17:24
von SisterOfMercy
One can always edit create_driver_links.py, and replace the url:

search for: http://pciids.sourceforge.net/pci.ids
replace with: https://raw.githubusercontent.com/pciut ... er/pci.ids

Or download that pci.ids from somewhere and put it on the depot manually:

Code: Alles auswählen

\\opsi-home\opsi_depot_rw\win10-x64\drivers\pci.ids

Re: create_driver_links.py verweist auf nicht vorhandene URL

Verfasst: 27 Feb 2024, 12:46
von otto b.
Thanks, it works...
hope that it will be integrated in future updates.

Re: create_driver_links.py verweist auf nicht vorhandene URL

Verfasst: 27 Feb 2024, 15:58
von thomas.besser
in z.B. 'win11-x64 4.2.0.6-5' (in testing) wurde die URL bereits gefixt.

Sollte also bald in 'stable' aufschlagen.

Re: create_driver_links.py verweist auf nicht vorhandene URL

Verfasst: 28 Feb 2024, 17:41
von ThomasT
thomas.besser hat geschrieben: 27 Feb 2024, 15:58 in z.B. 'win11-x64 4.2.0.6-5' (in testing) wurde die URL bereits gefixt.

Sollte also bald in 'stable' aufschlagen.
heute:
https://opsi.org/de/releases/#4.3-20240228092420