Re: bug in cwm on Mac os X? (fwd)

Libby, thanks.

On Monday, Mar 3, 2003, at 15:32 US/Eastern, Libby Miller wrote:

>
> oops, typo.
>
> ---------- Forwarded message ----------
> Date: Mon, 3 Mar 2003 20:27:38 +0000 (GMT)
> From: Libby Miller <ecemm@bristol.ac.uk>
> To: www-archive+n3bugs@w3.org
> Cc: timpl@w3.org, connolly@w3.org
> Subject: bug in cwm on Mac os X?
>
>
>
> Sean Palmer suggested I send this in as a bug - I was trying to build
> the calendar schema using cwm on mac os 10.2, and I ran into a problem:
>
> [dhcp64-134-139-69:2002/12/cal] libby% make
> Makefile:53: warning: overriding commands for target `test/cal01.rdf'
> Makefile:44: warning: ignoring old commands for target `test/cal01.rdf'
> python ../../../../2000/10/swap/cwm.py ical.n3 --rdf >ical.rdf
> Traceback (most recent call last):
>   File "../../../../2000/10/swap/cwm.py", line 35, in ?
>     from why import FormulaReason
>   File "../../../../2000/10/swap/why.py", line 25, in ?
>     from thing   import Namespace
>   File "../../../../2000/10/swap/thing.py", line 130, in ?
>     raise RuntimeError("Sorry, this software requires python2.2 or
> newer.")
> RuntimeError: Sorry, this software requires python2.2 or newer.
>
> but.....
>
> Python 2.2 (#1, 07/14/02, 23:25:09)
> [GCC Apple cpp-precomp 6.14] on darwin
>
> sbp said:
>
> 19:28:57  <sbp`> it should use sys.version_info[:3]

There is an irony here: sys.version_info does not exist in versions 
before 1.5!
There is hexversion - see
http://mail.python.org/pipermail/idle-dev/2000-April/000149.html

> 19:29:29  <sbp`> and the string module is deprecated (use the split
> method of strings)

sigh!  284 occurrences of "string."  in *.py   :-(
That's a back -burner one
What about string.uppercase?  I guess just make it up.

> 19:29:49  * libby afraid she dont know nuffink about all this....
> 19:29:57  <sbp`> libby: gonna fire of an email to www-archive+n3bugs?
> 19:30:11  <libby> if that's the best thing to do, sure....
> 19:31:08  <libby> cheers sbp
> 19:31:15  <sbp`> CCing TimBL/DanC I think, else they don't pick it up
>
> cheers
>
> Libby
>

Received on Tuesday, 25 March 2003 08:54:02 UTC