RE: WML using 100% CPU on Up2Date-ed Redhat Box

"Darryl Smith" <[email protected]> Mon, 3 Nov 2003 10:49:57 +1100
Newsgroups gmane.comp.web.wml
Message-ID <[email protected]>
Very strange.  Could you tell what happens when you add (in each case)
  1. -n flag

100% CPU


  2. -r flag

This is strange. I get 
	 [root@uranium web]# wmk -r
	** IPP:Error: file not found: tmpl/swpage.wml
	** WML:Break: Error in Pass 1 (rc=1).
	** WMK:Error: Unable to close exec /usr/local/bin/wml -n -MM -r:

	[root@uranium web]#

If I change the file to point to com/tmpl/swpage.wml, and create the
directory /navbar which should have been com/navbar (under
/var/www/html/web) I actually get the thing to work.

  3. a file as argument

100% CPU

  4. You could also try running wmk under a non-UTF8 locale and 
	see if it works then.

I tried changing the /etc/sysconfig/i18n file as suggested before without
luck. 

I have included the two config files below.

Many thanks

Darryl

----------
[root@uranium web]# more .wmkrc

-F copy
-F real
-F com
-F modules
-F wml_aux_wwwtable.wml
-F test
-F test2
-a
[root@uranium web]# more .wmlrc
##
##  .wmlrc
##

-D ROOT~.
-I .

-DCOM~com
-Icom

-D PACKAGE_ID=wml
-D PACKAGE_SCUT=WML
-D PACKAGE_NAME="Website META Language"

-D IMGDOT_BASE~com/imgdot/shared

-i wml::sys::compat1

##EOF##
[root@uranium web]#


_____________________________________________________________________
Website META Language (WML)                         http://thewml.org
User Support Mailing List                        [email protected]
Automated List Manager                            [email protected]