[SciPy-user] odepack or f2py error
Robert Kern
robert.kern at gmail.com
Wed Jul 16 20:09:59 EDT 2008
On Wed, Jul 16, 2008 at 20:06, Fabrice Silva <silva at lma.cnrs-mrs.fr> wrote:
> Le mercredi 16 juillet 2008 à 19:52 +0000, Pauli Virtanen a écrit :
>> gcc bug #36857. Can be worked around by
>>
>> export LC_ALL=C
>> in shell before running your codes.
>> (The scipy ticket can be closed.)
>
> If this bug is linked to locale setting and decimal separator symbol,
> how can it be explained that without pylab import, the displayed results
> is
>
> lsoda-- at current t (=r1), mxstep (=i1) steps
> taken on this call before reaching tout
> In above message, I1 = 2
> In above message, R1 = 0.4064399263119E-05
> Excess work done on this call (perhaps wrong Dfun type).
> Run with full_output = 1 to get quantitative information.
>
> and with pylab import, it crashes as follows:
>
> lsoda-- at current t (=r1), mxstep (=i1) steps
> taken on this call before reaching tout
> In above message, I1 = 2
> In above message, R1 =
> At line 1991 of file scipy/integrate/odepack/ddasrt.f (unit = 6, file = 'stdout')
> Internal Error: printf is broken
>
> with the example file Solv.py given in Ticket #696 ?
>
> In the first example, we can see that the separator is '.' . Does pylab
> modify this desktop setting ?
Can you try doing this:
import locale
encoding = locale.getpreferredencoding()
# ... whatever crashes
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
-- Umberto Eco
More information about the SciPy-User
mailing list