Am 18.11.24 um 18:35 schrieb Aaron Lauterer: >> Upon clicking "Import" in the web UI the "Import Guest" dialog opens >> along with an error message stating: >> XPath error : Undefined namespace prefix at /usr/share/perl5/PVE/ >> GuestImport/OVF.pm line 239. (500) > I untar'ed that OVA and inspected the OVF. The filter for that is: > my $xpath_find_firmware = > "/ovf:Envelope/ovf:VirtualSystem/ovf:VirtualHardwareSection/vmw:Config[\@vmw:key=\"firmware\"]/\@vmw:value"; > > The GNS3 OVF does have `vmw:Config` elements, though none for the > firmware -> Default SeaBIOS > > The CentOS OVF does not have any `vmw:Config` sub elements in that > search path. That is probably what is causing the issue.
There might also be a $xpc->registerNs('vmw', "???"); missing further above? But I need to relearn that xpath/xml stuff, I was blessed for way to long to just ignore (and forget) most of it. _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel