I should have checked this more carefully. It appears that checking
with comp --install is only a partial test, it does not test that the
documentation can be generated.

I am very puzzled as to what is wrong with the docs, but I get:

make: Entering directory `/home/andypugh/emc2-dev/src'
../bin/comp --document -o ../docs/man/man9/gearchange.9
hal/components/gearchange.comp
Traceback (most recent call last):
  File "../bin/comp", line 1323, in <module>
    main()
  File "../bin/comp", line 1275, in main
    document(f, outfile)
  File "../bin/comp", line 1123, in document
    print >>f, " (%s=%0*d..%0*d)" % ("M" * sz, sz, 0, sz, array-1),
TypeError: unsupported operand type(s) for -: 'tuple' and 'int'

Any clues what to look for?

On the plus side, staring at the words for so long has let me spot a
number of typos and errors.I have attached an updated version with
better (but still unbuildable) documentation.

Ironically I only started on this to illustrate to somebody on the
forum how easy a multi-gear component would be. Three days later I am
still struggling with it. I didn't even actually intend using it (but
I think I have to now)

-- 
atp
"Torque wrenches are for the obedience of fools and the guidance of wise men"

Attachment: gearchange.comp
Description: Binary data

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to