<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hello, </p>
    <p>It seems there is a fix here :
<a class="moz-txt-link-freetext" href="https://github.com/agiudiceandrea/calcarea2/blob/a6a3d7c5a98e64573731cd6a005da4e2d9836fdd/calcareaevent.py">https://github.com/agiudiceandrea/calcarea2/blob/a6a3d7c5a98e64573731cd6a005da4e2d9836fdd/calcareaevent.py</a></p>
    <p>All the best, <br>
      S.<br>
    </p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">Le 11/03/2025 à 16:14, Catania, Luke A
      ERDC-RDE-GRL-VA CIV via QGIS-Developer a écrit :<br>
    </div>
    <blockquote type="cite"
      cite="mid:00dade83af4d4c18b41c6d0824f165e1@erdc.dren.mil">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta name="Generator"
        content="Microsoft Word 15 (filtered medium)">
      <style>@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}@font-face
        {font-family:Aptos;}p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:12.0pt;
        font-family:"Aptos",sans-serif;}a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Aptos",sans-serif;
        color:windowtext;}.MsoChpDefault
        {mso-style-type:export-only;
        font-size:11.0pt;}div.WordSection1
        {page:WordSection1;}</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span style="font-size:11.0pt">Thanks.
            Plugin installed but will not run.  I get the error below. 
            I have QGIS 3.34.4.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
        <p class="MsoNormal"><b><span style="font-size:11.0pt">TypeError:
              QgisInterface missing 'mActionDigitizeWithCurve' action
            </span></b><span style="font-size:11.0pt"><o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">Traceback
            (most recent call last):<br>
              File
            "C:\PROGRA~1/QGIS33~1.4/apps/qgis-ltr/./python\qgis\utils.py",
            line 423, in _startPlugin<br>
                plugins[packageName] = package.classFactory(iface)<br>
              File
"C:\Users/RDTECLAC/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\calcarea2\__init__.py",
            line 29, in classFactory<br>
                return CalcAreaPlugin( iface )<br>
              File
"C:\Users/RDTECLAC/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\calcarea2\plugin.py",
            line 66, in __init__<br>
                self.toolEvent = CalcAreaEvent( self.iface )<br>
              File
"C:\Users/RDTECLAC/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\calcarea2\calcareaevent.py",
            line 478, in __init__<br>
                self.addFeatureEvent = AddFeatureEvent( iface )<br>
              File
"C:\Users/RDTECLAC/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\calcarea2\calcareaevent.py",
            line 213, in __init__<br>
                self.geomPolygon = self.GeomPolygon( iface )<br>
              File
"C:\Users/RDTECLAC/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\calcarea2\calcareaevent.py",
            line 316, in __init__<br>
                self.actionDigitizeWithCurve =
            getActionDigitizeWithCurve( iface )<br>
              File
"C:\Users/RDTECLAC/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\calcarea2\calcareaevent.py",
            line 308, in getActionDigitizeWithCurve<br>
                raise TypeError(f"QgisInterface missing '{name}'
            action")<br>
            TypeError: QgisInterface missing 'mActionDigitizeWithCurve'
            action<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
        <div
style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
          <p class="MsoNormal"><b><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif">
              DelazJ <a class="moz-txt-link-rfc2396E" href="mailto:delazj@gmail.com"><delazj@gmail.com></a>
              <br>
              <b>Sent:</b> Tuesday, March 11, 2025 11:08 AM<br>
              <b>To:</b> Catania, Luke A ERDC-RDE-GRL-VA CIV
              <a class="moz-txt-link-rfc2396E" href="mailto:Luke.A.Catania@erdc.dren.mil"><Luke.A.Catania@erdc.dren.mil></a><br>
              <b>Cc:</b> <a class="moz-txt-link-abbreviated" href="mailto:qgis-developer@lists.osgeo.org">qgis-developer@lists.osgeo.org</a><br>
              <b>Subject:</b> Re: [QGIS-Developer] Calculate
              area/perimtere/length of polygon/line while editing<o:p></o:p></span></p>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <div>
          <div>
            <p class="MsoNormal">Hi,<o:p></o:p></p>
          </div>
          <div>
            <p class="MsoNormal">There is a CalcArea2 plugin whose
              description mentions it should be doing that for polygons.
              You might want to take ispiration from their code.<o:p></o:p></p>
          </div>
          <div>
            <p class="MsoNormal"><o:p> </o:p></p>
          </div>
          <div>
            <p class="MsoNormal">Regards,<o:p></o:p></p>
          </div>
          <div>
            <p class="MsoNormal">Harrissou<o:p></o:p></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <div>
          <div>
            <p class="MsoNormal">Le mar. 11 mars 2025 à 15:55, Catania,
              Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer <<a
                href="mailto:qgis-developer@lists.osgeo.org"
                moz-do-not-send="true" class="moz-txt-link-freetext">qgis-developer@lists.osgeo.org</a>>
              a écrit :<o:p></o:p></p>
          </div>
          <blockquote
style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
            <div>
              <div>
                <div>
                  <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I need to
                    calculate these values on the fly while I am in an
                    edit session resizing a polygon or a line.  I need
                    the user to see this calculation while they are
                    editing not after the edits are committed. I already
                    have the UI set up to capture after commit, but I
                    need to capture while they are moving vertices and
                    update the values in the UI, so they don’t keep
                    editing and then committing just to see if they are
                    close.  I want them to know before they commit.<o:p></o:p></p>
                  <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
                  <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Any idea how
                    to achieve this?<o:p></o:p></p>
                  <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
                  <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Luke Catania<o:p></o:p></p>
                  <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">US Army
                    ERDC-GRL<o:p></o:p></p>
                  <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">JCMS Site
                    Planning Developer<o:p></o:p></p>
                  <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
                </div>
              </div>
              <p class="MsoNormal">_______________________________________________<br>
                QGIS-Developer mailing list<br>
                <a href="mailto:QGIS-Developer@lists.osgeo.org"
                  target="_blank" moz-do-not-send="true"
                  class="moz-txt-link-freetext">QGIS-Developer@lists.osgeo.org</a><br>
                List info: <a
href="Blockedhttps://lists.osgeo.org/mailman/listinfo/qgis-developerBlocked"
                  target="_blank" moz-do-not-send="true">
https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
                Unsubscribe: <a
href="Blockedhttps://lists.osgeo.org/mailman/listinfo/qgis-developerBlocked"
                  target="_blank" moz-do-not-send="true">
https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><o:p></o:p></p>
            </div>
          </blockquote>
        </div>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre wrap="" class="moz-quote-pre">_______________________________________________
QGIS-Developer mailing list
<a class="moz-txt-link-abbreviated" href="mailto:QGIS-Developer@lists.osgeo.org">QGIS-Developer@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Sylvain THÉRY - Ingénieur d'études CNRS en géomatique
UMR 5281 ART-Dev - Acteurs, Ressources et Territoires dans le Développement <a class="moz-txt-link-freetext" href="https://art-dev.cnrs.fr/">https://art-dev.cnrs.fr/</a>
<a class="moz-txt-link-abbreviated" href="mailto:sylvain.thery@cnrs.fr">sylvain.thery@cnrs.fr</a>  - +33.4.11.75.70.98
Université Paul-Valéry Montpellier 3 - Site St Charles - Bureau 239
@ postale : ART-Dev - St Charles - Route de Mende - 34 199 Montpellier Cedex 5 
<a class="moz-txt-link-freetext" href="https://www.researchgate.net/profile/Sylvain-Thery">https://www.researchgate.net/profile/Sylvain-Thery</a></pre>
  </body>
</html>