[opensuse-autoinstall] Problems using classes with SLES10
I'm attempting to normalize our library of AutoYaST XML files, and am running into some problems Here's how I'm calling the class in my autoinst.xml file : <classes config:type="list"> <class> <class_name>Database</class_name> <configuration>Files.xml</configuration> <configuration>Software.xml</configuration> </class> </classes> Here's the file in classes/Database : <software> <packages config:type="list"> <package>findutils-locate</package> <package>perl-Net-SNMP</package> <package>rcs</package> <package>seccheck</package> <package>net-snmp</package> <package>freetype2-devel</package> <package>openssl-devel</package> <package>freetype2</package> <package>freetype2-devel</package> <package>xorg-x11-devel</package> <package>fontconfig-devel</package> <package>libmcrypt</package> <package>gd-devel</package> <package>libpng-devel</package> <package>compat-curl2</package> <package>curl</package> <package>curl-devel</package> </packages> <patterns config:type="list"> <pattern>base</pattern> <pattern>Basis-Devel</pattern> </patterns> </software> Here's the error I get on the console when attempting to install with this: Software.xml:2: namespace error : Namespace prefix config for type on packages is not defined <packages config:type="list"> ^ Soft.xml:21: namespace error : Namespace prefix config for type on patterns is not defined <patterns config:type="list"> ^ What am I doing wrong here? I followed Uwe's documentation verbatim. -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
So it appears that if in the Software.xml file I surround the <software> with : <?xml version="1.0"?> <!DOCTYPE autoinstall SYSTEM "/usr/share/autoinstall/dtd/classes.dtd"> <autoinstall xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns"> </autoinstall> That the problem goes away.. I only ran into this problem with <software> .. Perhaps this bug needs to be documented? On Aug 25, 2007, at 1:15 AM, Michael T. Halligan wrote:
I'm attempting to normalize our library of AutoYaST XML files, and am running into some problems
Here's how I'm calling the class in my autoinst.xml file :
<classes config:type="list"> <class> <class_name>Database</class_name> <configuration>Files.xml</configuration> <configuration>Software.xml</configuration> </class> </classes>
Here's the file in classes/Database : <software> <packages config:type="list"> <package>findutils-locate</package> <package>perl-Net-SNMP</package> <package>rcs</package> <package>seccheck</package> <package>net-snmp</package> <package>freetype2-devel</package> <package>openssl-devel</package> <package>freetype2</package> <package>freetype2-devel</package> <package>xorg-x11-devel</package> <package>fontconfig-devel</package> <package>libmcrypt</package> <package>gd-devel</package> <package>libpng-devel</package> <package>compat-curl2</package> <package>curl</package> <package>curl-devel</package> </packages> <patterns config:type="list"> <pattern>base</pattern> <pattern>Basis-Devel</pattern> </patterns> </software>
Here's the error I get on the console when attempting to install with this:
Software.xml:2: namespace error : Namespace prefix config for type on packages is not defined <packages config:type="list"> ^ Soft.xml:21: namespace error : Namespace prefix config for type on patterns is not defined <patterns config:type="list"> ^
What am I doing wrong here? I followed Uwe's documentation verbatim. -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall +help@opensuse.org
-- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
I appear to be running into a lot more problems than I originally thought. At this point, the only external file I appear to be able to parse is Bootloader instructions and <package>. Beyond that, everything appears to be getting ignored. Is there some special magic to getting classes to work that has yet to make it into http://www.suse.de/~ug/autoyast_doc/index.html ? On Aug 25, 2007, at 1:30 AM, Michael T. Halligan wrote:
So it appears that if in the Software.xml file I surround the <software> with :
<?xml version="1.0"?> <!DOCTYPE autoinstall SYSTEM "/usr/share/autoinstall/dtd/classes.dtd"> <autoinstall xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns">
</autoinstall>
That the problem goes away.. I only ran into this problem with <software> .. Perhaps this bug needs to be documented?
On Aug 25, 2007, at 1:15 AM, Michael T. Halligan wrote:
I'm attempting to normalize our library of AutoYaST XML files, and am running into some problems
Here's how I'm calling the class in my autoinst.xml file :
<classes config:type="list"> <class> <class_name>Database</class_name> <configuration>Files.xml</configuration> <configuration>Software.xml</configuration> </class> </classes>
Here's the file in classes/Database : <software> <packages config:type="list"> <package>findutils-locate</package> <package>perl-Net-SNMP</package> <package>rcs</package> <package>seccheck</package> <package>net-snmp</package> <package>freetype2-devel</package> <package>openssl-devel</package> <package>freetype2</package> <package>freetype2-devel</package> <package>xorg-x11-devel</package> <package>fontconfig-devel</package> <package>libmcrypt</package> <package>gd-devel</package> <package>libpng-devel</package> <package>compat-curl2</package> <package>curl</package> <package>curl-devel</package> </packages> <patterns config:type="list"> <pattern>base</pattern> <pattern>Basis-Devel</pattern> </patterns> </software>
Here's the error I get on the console when attempting to install with this:
Software.xml:2: namespace error : Namespace prefix config for type on packages is not defined <packages config:type="list"> ^ Soft.xml:21: namespace error : Namespace prefix config for type on patterns is not defined <patterns config:type="list"> ^
What am I doing wrong here? I followed Uwe's documentation verbatim. -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall +help@opensuse.org
-- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall +help@opensuse.org
-- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
On this note, is it possible to have more than one <configuration> line per class? I currently have 4 classes, each with 3 files.. it appears that only the last configuration file defined in my Autoyast profile, in each class is being loaded. On Aug 26, 2007, at 7:44 PM, Michael T. Halligan wrote:
I appear to be running into a lot more problems than I originally thought.
At this point, the only external file I appear to be able to parse is Bootloader instructions and <package>. Beyond that, everything appears to be getting ignored.
Is there some special magic to getting classes to work that has yet to make it into http://www.suse.de/~ug/autoyast_doc/index.html ?
On Aug 25, 2007, at 1:30 AM, Michael T. Halligan wrote:
So it appears that if in the Software.xml file I surround the <software> with :
<?xml version="1.0"?> <!DOCTYPE autoinstall SYSTEM "/usr/share/autoinstall/dtd/ classes.dtd"> <autoinstall xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns">
</autoinstall>
That the problem goes away.. I only ran into this problem with <software> .. Perhaps this bug needs to be documented?
On Aug 25, 2007, at 1:15 AM, Michael T. Halligan wrote:
I'm attempting to normalize our library of AutoYaST XML files, and am running into some problems
Here's how I'm calling the class in my autoinst.xml file :
<classes config:type="list"> <class> <class_name>Database</class_name> <configuration>Files.xml</configuration> <configuration>Software.xml</configuration> </class> </classes>
Here's the file in classes/Database : <software> <packages config:type="list"> <package>findutils-locate</package> <package>perl-Net-SNMP</package> <package>rcs</package> <package>seccheck</package> <package>net-snmp</package> <package>freetype2-devel</package> <package>openssl-devel</package> <package>freetype2</package> <package>freetype2-devel</package> <package>xorg-x11-devel</package> <package>fontconfig-devel</package> <package>libmcrypt</package> <package>gd-devel</package> <package>libpng-devel</package> <package>compat-curl2</package> <package>curl</package> <package>curl-devel</package> </packages> <patterns config:type="list"> <pattern>base</pattern> <pattern>Basis-Devel</pattern> </patterns> </software>
Here's the error I get on the console when attempting to install with this:
Software.xml:2: namespace error : Namespace prefix config for type on packages is not defined <packages config:type="list"> ^ Soft.xml:21: namespace error : Namespace prefix config for type on patterns is not defined <patterns config:type="list"> ^
What am I doing wrong here? I followed Uwe's documentation verbatim. -- To unsubscribe, e-mail: opensuse-autoinstall +unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall +help@opensuse.org
-- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall +help@opensuse.org
-- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall +help@opensuse.org
-- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
On Monday 27 August 2007 04:49, Michael T. Halligan wrote:
On this note, is it possible to have more than one <configuration> line per class?
because <configuration> is not in a <blabla config:type="list"> section you can see that it's not possible to have more than one <configuration> element. -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Business: http://www.suse.de/~ug -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
At this point , I've given up. Classes do not work, or the documentation is terribly out of date. Xincludes is the right solution, and actually works with enough fiddling. is there a collaborative wiki for SuSE documentation? If not, I'd gladly host one.. I've lost any faith in Novell's ability to thoroughly document SuSE On Aug 26, 2007, at 7:49 PM, Michael T. Halligan wrote:
On this note, is it possible to have more than one <configuration> line per class? I currently have 4 classes, each with 3 files.. it appears that only the last configuration file defined in my Autoyast profile, in each class is being loaded.
On Aug 26, 2007, at 7:44 PM, Michael T. Halligan wrote:
I appear to be running into a lot more problems than I originally thought.
At this point, the only external file I appear to be able to parse is Bootloader instructions and <package>. Beyond that, everything appears to be getting ignored.
Is there some special magic to getting classes to work that has yet to make it into http://www.suse.de/~ug/autoyast_doc/index.html ?
On Aug 25, 2007, at 1:30 AM, Michael T. Halligan wrote:
So it appears that if in the Software.xml file I surround the <software> with :
<?xml version="1.0"?> <!DOCTYPE autoinstall SYSTEM "/usr/share/autoinstall/dtd/ classes.dtd"> <autoinstall xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns">
</autoinstall>
That the problem goes away.. I only ran into this problem with <software> .. Perhaps this bug needs to be documented?
On Aug 25, 2007, at 1:15 AM, Michael T. Halligan wrote:
I'm attempting to normalize our library of AutoYaST XML files, and am running into some problems
Here's how I'm calling the class in my autoinst.xml file :
<classes config:type="list"> <class> <class_name>Database</class_name> <configuration>Files.xml</configuration> <configuration>Software.xml</configuration> </class> </classes>
Here's the file in classes/Database : <software> <packages config:type="list"> <package>findutils-locate</package> <package>perl-Net-SNMP</package> <package>rcs</package> <package>seccheck</package> <package>net-snmp</package> <package>freetype2-devel</package> <package>openssl-devel</package> <package>freetype2</package> <package>freetype2-devel</package> <package>xorg-x11-devel</package> <package>fontconfig-devel</package> <package>libmcrypt</package> <package>gd-devel</package> <package>libpng-devel</package> <package>compat-curl2</package> <package>curl</package> <package>curl-devel</package> </packages> <patterns config:type="list"> <pattern>base</pattern> <pattern>Basis-Devel</pattern> </patterns> </software>
Here's the error I get on the console when attempting to install with this:
Software.xml:2: namespace error : Namespace prefix config for type on packages is not defined <packages config:type="list"> ^ Soft.xml:21: namespace error : Namespace prefix config for type on patterns is not defined <patterns config:type="list"> ^
What am I doing wrong here? I followed Uwe's documentation verbatim. -- To unsubscribe, e-mail: opensuse-autoinstall +unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall +help@opensuse.org
-- To unsubscribe, e-mail: opensuse-autoinstall +unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall +help@opensuse.org
-- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall +help@opensuse.org
-- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall +help@opensuse.org
-- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
On Monday 27 August 2007 23:41, Michael T. Halligan wrote:
is there a collaborative wiki for SuSE documentation? If not, I'd gladly host one.. I've lost any faith in Novell's ability to thoroughly document SuSE
I thought about a wiki for documentation too and maybe something where people can upload their XML as example for others. When I have the time I'll create one but currently I'm too busy with other stuff. Actually the ~ug pages were just meant to be a temporary solution :) -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Business: http://www.suse.de/~ug -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
Uwe, BitPusher, my company, would gladly donate a server, and hosting for a wik if it were to help move the process along. Michael On Aug 29, 2007, at 1:23 AM, Uwe Gansert wrote:
On Monday 27 August 2007 23:41, Michael T. Halligan wrote:
is there a collaborative wiki for SuSE documentation? If not, I'd gladly host one.. I've lost any faith in Novell's ability to thoroughly document SuSE
I thought about a wiki for documentation too and maybe something where people can upload their XML as example for others. When I have the time I'll create one but currently I'm too busy with other stuff. Actually the ~ug pages were just meant to be a temporary solution :)
-- ciao, Uwe Gansert
Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Business: http://www.suse.de/~ug -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall +help@opensuse.org
-- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
Personally, I think there should a section devoted to AutoYaST in the openSUSE documentation tree. It is of course "A goal of the openSUSE project is to provide the highest quality documentation to the communities the project serves. The openSUSE community creates, edits, and refines comprehensive documentation, in the form of this wiki as well as traditional documentation, in many languages" I'd be more than happy to help. --Maurice-- On Wednesday 29 August 2007 18:23, Uwe Gansert wrote:
On Monday 27 August 2007 23:41, Michael T. Halligan wrote:
is there a collaborative wiki for SuSE documentation? If not, I'd gladly host one.. I've lost any faith in Novell's ability to thoroughly document SuSE
I thought about a wiki for documentation too and maybe something where people can upload their XML as example for others. When I have the time I'll create one but currently I'm too busy with other stuff. Actually the ~ug pages were just meant to be a temporary solution :)
-- ciao, Uwe Gansert
Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Business: http://www.suse.de/~ug -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
On Wednesday 29 August 2007 09:23, Uwe Gansert wrote:
On Monday 27 August 2007 23:41, Michael T. Halligan wrote:
is there a collaborative wiki for SuSE documentation? If not, I'd gladly host one.. I've lost any faith in Novell's ability to thoroughly document SuSE
I thought about a wiki for documentation too and maybe something where people can upload their XML as example for others. When I have the time I'll create one but currently I'm too busy with other stuff. Actually the ~ug pages were just meant to be a temporary solution :)
I'll gladly help with editing some autoyast pages under the opensuse wiki, as long as someone else can create them first with a nice look and feel. -- Simon Crute IS&T. Bracknell. UK. -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
participants (4)
-
Maurice Burrows
-
Michael T. Halligan
-
Simon Crute
-
Uwe Gansert