Macros + Geogebra 5.0 + Ubuntu 14.04 => Macros bugs

pkrezel shared this question 6 years ago
Answered

Hi,


I am using Geogebra 5.0 under Ubuntu 14.04 and I noted that it is not possible to manage the macros. I can only save them but I can't reuse them.

For more informations about my configuration, I copied all the information system just below.


Pascal


    GeoGebra 5.0.82.0-3D (30 March 2015)

    Java: 1.7.0_45

    Codebase: file:/usr/share/geogebra/geogebra.jar

    OS: Linux

    Architecture: amd64 / null

    Heap: 910MB

    CAS: Initialisation CAS


    GeoGebraLogger log:

    12:05:04.511 INFO: geogebra.i.a.b[-1]: GeoGebra 5.0.82.0 30 March 2015 Java 1.7.0_45-64bit

    12:05:04.512 DEBUG: geogebra3D.a.<init>[-1]: isApplet=false runningFromJar=false appletImpl=null

    12:05:04.512 DEBUG: geogebra3D.a.<init>[-1]: Not setting up logging via LogManager

    12:05:06.585 DEBUG: geogebra.common.l.r.a[-1]: Number of registered views = 1

    * class geogebra3D.b.b

    12:05:07.581 DEBUG: geogebra.i.a.<init>[-1]: Waiting for the initialization: 0

    12:05:07.581 DEBUG: java.lang.Thread.run[-1]: Thread[compute,5,main] running

    12:05:07.584 DEBUG: geogebra.common.m.f.p[-1]: SingularWS connection disabled by command line option

    12:05:07.584 INFO: geogebra.common.m.f.p[-1]: No SingularWS is available at http://singularws.idm.jku.at/ (yet)

    12:05:09.151 DEBUG: geogebra.gui.h.q.<init>[-1]: CAS support: true

    12:05:09.864 ERROR: geogebra3D.g.a.a[-1]: Image geogebra64.png not found

    12:05:09.887 DEBUG: geogebra.f.b.a[-1]: MACROfalse

    12:05:10.119 DEBUG: geogebra.common.j.c.a[-1]: cons tag end1431770710119

    12:05:10.151 DEBUG: geogebra.f.b.a[-1]: MACROfalse

    12:05:12.298 DEBUG: geogebra.common.j.c.c[-1]: Unsupported keyboard locale: null

    12:05:13.050 DEBUG: geogebra.common.l.r.a[-1]: Number of registered views = 2

    * class geogebra3D.b.b

    * class geogebra3D.e.c.a.a

    12:05:13.216 DEBUG: geogebra.common.l.r.a[-1]: Number of registered views = 3

    * class geogebra3D.b.b

    * class geogebra3D.e.c.a.a

    * class geogebra.common.plugin.b

    12:05:13.217 WARN: geogebra.i.a.p[-1]: Option versionCheckAllow not recognized :

    12:05:13.217 INFO: geogebra.i.B.a[-1]: No system preferences

    12:05:17.199 DEBUG: geogebra.i.a.a[-1]: retreiving filename =

    12:05:17.199 DEBUG: geogebra.i.a.a[-1]: true

    12:05:17.403 DEBUG: geogebra.i.a.a[-1]: retreiving filename =

    12:05:17.403 DEBUG: geogebra.i.a.a[-1]: true

    12:05:17.536 DEBUG: geogebra.i.a.a[-1]: retreiving filename =

    12:05:17.536 DEBUG: geogebra.i.a.a[-1]: true

    12:05:17.618 DEBUG: geogebra.gui.R.a[-1]: update menu

    12:05:35.474 DEBUG: geogebra.b.a.g.a[-1]: possible missing release()

    12:05:38.116 DEBUG: javax.swing.JMenu.fireMenuSelected[-1]: Menu opening: class geogebra.gui.i.U

    12:05:38.117 DEBUG: javax.swing.JMenu.fireMenuSelected[-1]: creating menu items

    12:05:38.177 ERROR: geogebra3D.g.a.a[-1]: Image /gui/images/64px/forum.gif not found

    12:05:38.303 ERROR: geogebra3D.g.a.a[-1]: Image /gui/images/64px/forum.png not found

    12:05:45.949 DEBUG: geogebra.gui.h.q.a[-1]: POSITIONbottom

    12:05:46.692 DEBUG: geogebra.gui.R.d[-1]: opening URL:http://www.geogebra.org/bugs/?v=5.0

    12:05:46.693 DEBUG: geogebra.gui.R.d[-1]: opening URL:http://www.geogebra.org/bugs/?v=5.0

    12:06:18.116 DEBUG: geogebra.gui.a.a$a.run[-1]: Checking version

    12:06:18.117 DEBUG: geogebra.gui.a.a$a.run[-1]: major version check needed: no check was done yet

    12:06:19.362 DEBUG: geogebra.gui.a.a$a.run[-1]: current=5000082000 newest=5000000000

    12:06:19.603 DEBUG: geogebra.gui.a.a$a.run[-1]: newest_minor=5000112000

    12:07:03.350 DEBUG: javax.swing.JMenu.fireMenuSelected[-1]: Menu opening: class geogebra.gui.i.U

    12:11:27.181 DEBUG: javax.swing.JMenu.fireMenuSelected[-1]: Menu opening: class geogebra.gui.i.U

    12:11:31.920 DEBUG: javax.swing.JMenu.fireMenuSelected[-1]: Menu opening: class geogebra.gui.i.av

    12:11:31.921 DEBUG: javax.swing.JMenu.fireMenuSelected[-1]: creating menu items

    12:11:33.701 DEBUG: javax.swing.JMenu.fireMenuSelected[-1]: Menu opening: class geogebra.gui.i.U


    GGB file content:

    <?xml version="1.0" encoding="utf-8"?>

    <geogebra format="5.0" version="5.0.82.0" id="bbe251ac-9269-4e52-98c6-2bfb3bc7e5b9" xsi:noNamespaceSchemaLocation="http://www.geogebra.org/ggb...; xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLS...; >

    <gui>

    <window width="1535" height="876" />

    <perspectives>

    <perspective id="tmp">

    <panes>

    <pane location="" divider="0.16221498371335505" orientation="1" />

    </panes>

    <views>

    <view id="4" toolbar="0 || 2020 , 2021 , 2022 , 66 || 2001 , 2003 , 2002 , 2004 , 2005 || 2040 , 2041 , 2042 , 2044 , 2043" visible="false" inframe="false" stylebar="false" location="1,1" size="300" window="100,100,600,400" />

    <view id="1" visible="true" inframe="false" stylebar="true" location="1" size="1276" window="100,100,600,400" />

    <view id="2" visible="true" inframe="false" stylebar="true" location="3" size="249" window="100,100,250,400" />

    <view id="8" toolbar="1001 | 1002 | 1003 || 1005 | 1004 || 1006 | 1007 | 1010 || 1008 1009 || 66 68 || 6" visible="false" inframe="false" stylebar="false" location="1" size="150" window="50,50,500,500" />

    <view id="16" visible="false" inframe="true" stylebar="false" location="1" size="150" window="50,50,500,500" />

    <view id="32" visible="false" inframe="true" stylebar="true" location="1" size="150" window="50,50,500,500" />

    <view id="64" toolbar="0" visible="false" inframe="true" stylebar="false" location="1" size="150" window="50,50,500,500" />

    <view id="4097" visible="false" inframe="true" stylebar="true" location="1" size="150" window="757,318,691,500" />

    <view id="70" toolbar="0 || 2020 || 2021 || 2022" visible="false" inframe="true" stylebar="true" location="1" size="150" window="50,50,500,500" />

    <view id="512" toolbar="0 | 1 501 5 19 , 67 | 2 15 45 18 , 7 37 | 514 3 9 , 13 44 , 47 | 16 | 551 550 11 , 22 , 23 , 55 56 57 , 12 | 69 | 510 511 , 512 513 | 533 531 , 534 532 , 522 523 , 537 536 , 535 | 521 520 | 36 , 38 49 560 | 571 30 29 570 31 33 | 17 | 540 40 41 42 , 27 28 35 , 6 , 502" visible="false" inframe="false" stylebar="false" location="1" size="300" window="50,50,500,500" />

    </views>

    <toolbar show="true" items="0 39 | 1 501 67 , 5 19 , 72 | 2 15 45 , 18 65 , 7 37 | 4 3 8 9 , 13 44 , 58 , 47 | 16 51 64 , 70 | 10 34 53 11 , 24 20 22 , 21 23 | 55 56 57 , 12 | 36 46 , 38 49 50 , 71 | 30 29 54 32 31 33 | 17 26 62 73 , 14 68 | 25 52 60 61 | 40 41 42 , 27 28 35 , 6 || 100001 " position="1" help="true" />

    <input show="true" cmd="true" top="false" />

    <dockBar show="false" east="false" />

    </perspective>

    </perspectives>

    <labelingStyle val="3"/>

    <font size="12"/>

    <graphicsSettings javaLatexFonts="false"/>

    </gui>

    <euclidianView>

    <viewNumber viewNo="1"/>

    <size width="1276" height="725"/>

    <coordSystem xZero="215.0" yZero="314.9999999999999" scale="50.0" yscale="49.999999999999986"/>

    <evSettings axes="true" grid="false" gridIsBold="false" pointCapturing="3" rightAngleStyle="1" checkboxSize="26" gridType="0"/>

    <bgColor r="255" g="255" b="255"/>

    <axesColor r="0" g="0" b="0"/>

    <gridColor r="192" g="192" b="192"/>

    <lineStyle axes="1" grid="10"/>

    <axis id="0" show="true" label="" unitLabel="" tickStyle="1" showNumbers="true"/>

    <axis id="1" show="true" label="" unitLabel="" tickStyle="1" showNumbers="true"/>

    </euclidianView>

    <kernel>

    <continuous val="false"/>

    <usePathAndRegionParameters val="true"/>

    <decimals val="2"/>

    <angleUnit val="degree"/>

    <algebraStyle val="0"/>

    <coordStyle val="0"/>

    <angleFromInvTrig val="false"/>

    </kernel>

    <scripting blocked="false" disabled="false"/>

    <construction title="" author="" date="">

    </construction>

    </geogebra>


    <?xml version="1.0" encoding="utf-8"?>

    <geogebra format="5.0" version="5.0.82.0" xsi:noNamespaceSchemaLocation="http://www.geogebra.org/ggt...; xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLS...; >

    <macro cmdName="Angle_Droit" toolName="Angle_Droit" toolHelp="Angle_Droit[ <Point>, <Point>, <Point>, <Nombre> ]" iconFile="" showInToolBar="true" copyCaptions="true">

    <macroInput a0="v_c" a1="G" a2="L" a3="M"/>

    <macroOutput a0="poly2"/>

    <construction title="" author="" date="">

    <element type="numeric" label="v_c">

    <value val="0.21"/>

    <show object="true" label="true"/>

    <objColor r="0" g="0" b="0" alpha="0.1"/>

    <layer val="0"/>

    <labelMode val="1"/>

    <animation step="0.01" speed="1" type="0" playing="false"/>

    </element>

    <element type="point" label="G">

    <show object="true" label="true"/>

    <objColor r="0" g="0" b="255" alpha="0.0"/>

    <layer val="0"/>

    <labelMode val="0"/>

    <animation step="1" speed="1" type="1" playing="false"/>

    <coords x="12.718980979576603" y="-0.6575512496309802" z="1.0"/>

    <pointSize val="3"/>

    <pointStyle val="0"/>

    </element>

    <element type="point" label="L">

    <show object="true" label="true" ev="4"/>

    <objColor r="0" g="0" b="255" alpha="0.0"/>

    <layer val="0"/>

    <labelMode val="0"/>

    <animation step="0.1" speed="1" type="1" playing="false"/>

    <coords x="15.436304177582887" y="1.7318191486159211" z="1.0"/>

    <pointSize val="3"/>

    <pointStyle val="0"/>

    </element>

    <element type="point" label="M">

    <show object="true" label="true"/>

    <objColor r="0" g="0" b="255" alpha="0.0"/>

    <layer val="0"/>

    <labelMode val="0"/>

    <animation step="1" speed="1" type="1" playing="false"/>

    <coords x="13.000083379370357" y="4.855179146324289" z="1.0"/>

    <pointSize val="3"/>

    <pointStyle val="0"/>

    </element>

    <expression label="L_2" exp="L + (v_c * UnitVector[Vector[L, M]])" type="point" />

    <element type="point" label="L_2">

    <show object="false" label="true" ev="4"/>

    <objColor r="68" g="68" b="68" alpha="0.0"/>

    <layer val="0"/>

    <labelMode val="0"/>

    <coords x="15.307147499857173" y="1.8974046328796572" z="1.0"/>

    <pointSize val="3"/>

    <pointStyle val="0"/>

    </element>

    <expression label="L_1" exp="L + (v_c * UnitVector[Vector[L, G]])" type="point" />

    <element type="point" label="L_1">

    <show object="false" label="true" ev="4"/>

    <objColor r="68" g="68" b="68" alpha="0.0"/>

    <layer val="0"/>

    <labelMode val="0"/>

    <coords x="15.278600411657367" y="1.593148595819343" z="1.0"/>

    <pointSize val="3"/>

    <pointStyle val="0"/>

    </element>

    <expression label="L_3" exp="L_2 + (v_c * UnitVector[Vector[L, G]])" type="point" />

    <element type="point" label="L_3">

    <show object="false" label="true" ev="4"/>

    <objColor r="68" g="68" b="68" alpha="0.0"/>

    <layer val="0"/>

    <labelMode val="0"/>

    <coords x="15.149443733931653" y="1.7587340800830789" z="1.0"/>

    <pointSize val="3"/>

    <pointStyle val="0"/>

    </element>

    <command name="Polygon">

    <input a0="L" a1="L_2" a2="L_3" a3="L_1"/>

    <output a0="poly2" a1="l_1" a2="l_2" a3="l_3" a4="l_4"/>

    </command>

    <element type="polygon" label="poly2">

    <lineStyle thickness="2" type="0" typeHidden="1"/>

    <show object="true" label="false"/>

    <objColor r="153" g="51" b="0" alpha="0.1"/>

    <layer val="0"/>

    <labelMode val="0"/>

    </element>

    <element type="segment" label="l_1">

    <show object="true" label="false"/>

    <objColor r="153" g="51" b="0" alpha="0.0"/>

    <layer val="0"/>

    <labelMode val="0"/>

    <auxiliary val="false"/>

    <coords x="-0.1655854842637361" y="-0.12915667772571382" z="2.779703910144402"/>

    <lineStyle thickness="2" type="0" typeHidden="1"/>

    <outlyingIntersections val="false"/>

    <keepTypeOnTransform val="true"/>

    </element>

    <element type="segment" label="l_2">

    <show object="true" label="false"/>

    <objColor r="153" g="51" b="0" alpha="0.0"/>

    <layer val="0"/>

    <labelMode val="0"/>

    <auxiliary val="false"/>

    <coords x="0.13867055279657836" y="-0.15770376592552005" z="-1.8234227494543056"/>

    <lineStyle thickness="2" type="0" typeHidden="1"/>

    <outlyingIntersections val="false"/>

    <keepTypeOnTransform val="true"/>

    </element>

    <element type="segment" label="l_3">

    <show object="true" label="false"/>

    <objColor r="153" g="51" b="0" alpha="0.0"/>

    <layer val="0"/>

    <labelMode val="0"/>

    <auxiliary val="false"/>

    <coords x="0.16558548426373587" y="0.12915667772571382" z="-2.735680227795811"/>

    <lineStyle thickness="2" type="0" typeHidden="1"/>

    <outlyingIntersections val="false"/>

    <keepTypeOnTransform val="true"/>

    </element>

    <element type="segment" label="l_4">

    <show object="true" label="false"/>

    <objColor r="153" g="51" b="0" alpha="0.0"/>

    <layer val="0"/>

    <labelMode val="0"/>

    <auxiliary val="false"/>

    <coords x="-0.13867055279657814" y="0.15770376592552005" z="1.8674464318028896"/>

    <lineStyle thickness="2" type="0" typeHidden="1"/>

    <outlyingIntersections val="false"/>

    <keepTypeOnTransform val="true"/>

    </element>

    </construction>

    </macro>

    </geogebra>


    LibraryJavaScript:


    Preferences:

    <?xml version="1.0" encoding="utf-8"?>

    <geogebra format="4.0" xsi:noNamespaceSchemaLocation="http://www.geogebra.org/ggb...; xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLS...; >

    <gui>

    <window width="800" height="600" />

    <settings ignoreDocument="false" showTitleBar="true" />

    <labelingStyle val="0"/>

    <mouse reverseWheel="true"/>

    <font size="12"/>

    <menuFont size="-1"/>

    <tooltipSettings language="" timeout="0"/>

    <graphicsSettings javaLatexFonts="false"/>

    </gui>

    <euclidianView>

    <size width="640" height="480"/>

    <coordSystem xZero="215.0" yZero="315.0" scale="50.0" yscale="50.0"/>

    <evSettings axes="true" grid="false" gridIsBold="false" pointCapturing="3" rightAngleStyle="2" checkboxSize="26" gridType="0"/>

    <bgColor r="255" g="255" b="255"/>

    <axesColor r="0" g="0" b="0"/>

    <gridColor r="192" g="192" b="192"/>

    <lineStyle axes="1" grid="10"/>

    <axis id="0" show="true" label="" unitLabel="" tickStyle="1" showNumbers="true" axisCross="0.0" positiveAxis="false"/>

    <axis id="1" show="true" label="" unitLabel="" tickStyle="1" showNumbers="true" axisCross="0.0" positiveAxis="false"/>

    </euclidianView>

    <kernel>

    <continuous val="false"/>

    <decimals val="2"/>

    <angleUnit val="degree"/>

    <algebraStyle val="0"/>

    <coordStyle val="0"/>

    <localization digits="false" labels="true"/>

    <angleFromInvTrig val="false"/>

    <casSettings timeout="5" expRoots="true"/>

    </kernel>

    <scripting blocked="false"/>

    </geogebra>

Comments (1)

photo
1

Hi, welcome to the forum.

Do you know that there is a french forum where it is easier to ask questions and answer for people using the french language ?

I use Ubuntu 14.04 but 32 bit and today GeoGebra 5.0.112. I've created your ggt and i don't see the problem to open and run it like another macro that i had created before.

Are you sure that you used the 4 inputs needed like : Angle_Droit[2, G, F, E] ?

Does my file work for you ?

https://ggbm.at/1389027

© 2021 International GeoGebra Institute