On Oct 31, 7:49 pm, mhampton <[EMAIL PROTECTED]> wrote:
> I never used the former version much at all, but trying this out it
> seems pretty snappy at the moment - almost as fast as my macbook (2.4
> GHz core 2 duo).
>
> I did get an error trying to use phc, maybe that's not news but if so
> here it is:
phc is not installed in all likelyhood - plain and simple :).
> sh: phc: Permission denied
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "/home/sage/sagenb/sage_notebook/worksheets/mhampton/0/code/
> 15.py", line 10, in <module>
> sol = phc.blackbox(start_sys, R2) #optional
> File "/home/sage/sage/local/lib/python2.5/site-packages/sage/
> interfaces/phc.py", line 879, in blackbox
> print os.system('which phc') + ' PHC needs to be installed and in
> your path'
> TypeError: unsupported operand type(s) for +: 'int' and 'str'
>
> -Marshall
But I would highly suggest that someone (i.e. you) make phc detection
much more robust. "which" usually returns an error code unequal to
zero (it doesn't on Solaris :(), so that is what you should check and
otherwise throw a proper exception.
Cheers,
Michael
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---