[Paraview-developers] Calculator parsing bug?

Andy Bauer andy.bauer at kitware.com
Thu May 4 12:20:19 EDT 2017


Hi Axel,

This should now be fixed in PV master. I ran pvpython with your attached
script from master as of today and it passed whereas it failed (as
expected) for PV 5.3.

Cheers,
Andy

On Thu, May 4, 2017 at 12:05 PM, Gerstenberger, Axel <
Axel.Gerstenberger at rolls-royce.com> wrote:

> Dear developers,
>
> We found an issue with the Paraview Calculator in that it seems to parse
> variables wrong that start with the same name as a build in function like
> abs or sin. Moreover, it only happens, if such variable is followed by an
> opening bracket. This behaviour is present in PV 5.2 and all the way back
> to PV 3.14.
>
> Can you reproduce this and is this a known issue?
>
> To try it, just run attached script using pvpython.
>
> Regards,
> Axel
>
>
>
> Rolls-Royce Deutschland Ltd & Co KG Sitz/Registered Office:
> Blankenfelde-Mahlow, Deutschland, Registergericht/Court of Register:
> Amtsgericht Potsdam, HRA 2731 P, Persönlich haftende
> Gesellschafterin/General Partner: Rolls-Royce General Partner Limited,
> Sitz/Registered Office: Derby, United Kingdom, Register: Registry of
> Companies Wales and England, 4066556, Directors/Geschäftsführer: Paul
> O’Neil, Alastair McIntosh, Nicole Fehr, Dr. Holger Cartsburg
> Confidentiality Notice: This email and any attachments are confidential to
> the intended recipient and may also be privileged. If you are not the
> intended recipient please delete it from your system and notify the sender.
> You should not copy it or use it for any purpose nor disclose or distribute
> its contents to any other person.
> The data contained in, or attached to, this e-mail, may contain
> confidential information. If you have received it in error you should
> notify the sender immediately by reply e-mail, delete the message from your
> system and contact +44 (0) 3301235850 (Security Operations Centre) if you
> need assistance. Please do not copy it for any purpose, or disclose its
> contents to any other person.
>
> An e-mail response to this address may be subject to interception or
> monitoring for operational reasons or for lawful business practices.
>
> (c) 2017 Rolls-Royce plc
>
> Registered office: 62 Buckingham Gate, London SW1E 6AT Company number:
> 1003142. Registered in England.
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Search the list archives at: http://markmail.org/search/?q=
> Paraview-developers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview-developers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20170504/6d8393ea/attachment.html>


More information about the Paraview-developers mailing list