And as this is not reliably reproducible, and a restart seems to fix it for
a while, I would not rule out any memory issues. Keep an eye on the memory
next time it happens.

On Sat, May 1, 2021, 00:04 Marcus Ottosson <konstrukt...@gmail.com> wrote:

> Did you happen to get NumPy from PyPI, via pip install? There was a
> thread here about it not long ago, but the bottom line is if you haven’t
> got a version compiled specifically for your version of Maya, it won’t
> behave.
>
> On Fri, 30 Apr 2021 at 18:20, Rudi Hammad <rudiham...@gmail.com> wrote:
>
>> I'll let you know when the error happens again, since I don't know how to
>> cause it. I think it is something related to can't do what ever with None,
>> or something referencing a built-in numpy method.
>> I know this doesn't help so when  it happens again, I'll post it.
>>
>> El viernes, 30 de abril de 2021 a las 17:34:22 UTC+2, Alok Gandhi
>> escribió:
>>
>>> And what are the errors? Any logs?
>>>
>>>
>>> On Fri, Apr 30, 2021 at 8:27 PM Rudi Hammad <rudih...@gmail.com> wrote:
>>>
>>>>
>>>> Hello,
>>>>
>>>> has anyone experienced this type of behavior working with numpy? I know
>>>> my code is correct because I unitest method and all tests pass. But from
>>>> time to time, complety randomly, when i run the unitest I get 17 errors all
>>>> related to methods that use numpy.
>>>> When this happened the first time, I spent hours thinking what was
>>>> happening, since I didn't modify anything and no matter how much i looked
>>>> into it everything looked totally okey.
>>>> Then I used the best debuging tool, which is turn off and on again
>>>> maya, and it was fixed.
>>>>
>>>> Since then, I don't waste my time anymore when i get this strange
>>>> errors because i know it is not something wrong in my code. And
>>>> reinitializing maya fix the issue.
>>>> So I wonder if anyone has a similar experience.
>>>>
>>>> Could it be something related with a presicion that need to be set
>>>> somewhere when using numpy? I always set a tolerance aroung 0.001, so I am
>>>> not taking a risk comparing very small values.
>>>>
>>>> cheers
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Python Programming for Autodesk Maya" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to python_inside_m...@googlegroups.com.
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/python_inside_maya/b7388dc6-daf1-4dd7-b7d3-d3c9a234080bn%40googlegroups.com
>>>> <https://groups.google.com/d/msgid/python_inside_maya/b7388dc6-daf1-4dd7-b7d3-d3c9a234080bn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> --
>> You received this message because you are subscribed to the Google Groups
>> "Python Programming for Autodesk Maya" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to python_inside_maya+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/python_inside_maya/bd565466-50c4-491f-88d3-2b1379167e68n%40googlegroups.com
>> <https://groups.google.com/d/msgid/python_inside_maya/bd565466-50c4-491f-88d3-2b1379167e68n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Python Programming for Autodesk Maya" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to python_inside_maya+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOD%3D3GGU1w%2BgKU8Rk3Fh%2B2HD%2BwaLKR1Z9H0Vv0rSoRy9hg%40mail.gmail.com
> <https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOD%3D3GGU1w%2BgKU8Rk3Fh%2B2HD%2BwaLKR1Z9H0Vv0rSoRy9hg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to python_inside_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAPaTLMSVTQP5Xdi14bm6hSsp%2BL-THcdu%3DWRvNFM8%2BJDx7P6z%3Dw%40mail.gmail.com.

Reply via email to