Aquileo | Recent changes to bugshttps://sourceforge.net/p/gramadoir/bugs/Recent changes to bugsenFri, 13 Feb 2009 17:48:26 -0000Aquileo | OOo Interface Macro BASIC runtime error.https://sourceforge.net/p/gramadoir/bugs/4/<div class="markdown_content"><p>Platform Windows XP Pro SP3</p> <p>C:\&amp;gt;perl -v<br /> This is perl, v5.10.0 built for MSWin32-x86-multi-thread<br /> (with 5 registered patches, see perl -V for more detail)<br /> Copyright 1987-2007, Larry Wall<br /> Binary build 1004 [287188] provided by ActiveState <a href="http://www.ActiveState.com" rel="nofollow">http://www.ActiveState.com</a><br /> Built Sep 3 2008 13:16:37</p> <p>Lingua-GA-Gramadoir<br /> Check the grammar of Irish language text<br /> Version: 0.60<br /> Released: 2005-03-03<br /> Author: Kevin Scannell &lt;scannell@cpan.org&gt;<br /> CPAN: <a href="http://search.cpan.org/dist/Lingua-GA-Gramadoir-0.60/" rel="nofollow">http://search.cpan.org/dist/Lingua-GA-Gramadoir-0.60/</a></p> <p>C:\&amp;gt;gram-ga.pl --aschod=cp850 --dath=none "z:\sampla.txt"<br /> Currently checking z:\sampla.txt</p> <p>4 errors shown it seems to be working fine.</p> <p>Using gramadoir.sxw macro in OpenOffice.org 3.</p> <p>OpenOffice.org 3, in Tools &gt; Options... &gt; + OpenOffice.org &gt; Security &gt; Macro Security... &gt; I changed the Security level from High to Medium Level. (So that I was prompted to run the macro.)</p> <p>Below are a set of steps that I found on the Internet for using 1.1.2 macros in OpenOffice.org 2.03, link as follows : </p> <p><a href="http://www.oooforum.org/forum/viewtopic.phtml?t=45437" rel="nofollow">http://www.oooforum.org/forum/viewtopic.phtml?t=45437</a></p> <p>Extract:-</p> <p>1. In the document containing the macro required: select Tools &gt; Macros &gt; Organize Macros &gt; OpenOffice.org Basic...<br /> 2. In the OpenOffice.org Basic Macros dialog: select "Organizer..."<br /> 3. In the OpenOffice.org Basic Macro Organizer dialog: select the Libraries Tab<br /> 4. Then highlight the required library and select "Export..."<br /> 5. Check "Export as BASIC Library" and select "OK"<br /> 6. From the "Export as BASIC Library" dialog save in a suitable folder.<br /> 7. Close the original document and open a new document.<br /> 8. Select Tools &gt; Macros &gt; Organize Macros &gt; OpenOffice.org Basic...<br /> 9. In the OpenOffice.org Basic Macros dialog: select "Organizer..."<br /> 10. In the OpenOffice.org Basic Macro Organizer dialog: select the Libraries Tab<br /> 11. Make sure that "My Macros &amp; Dialogs" is selected (or wherever you want the new library)<br /> 12. Select "Import..."<br /> 13. In the "Import Libraries" dialog: locate the folder saved in step 6.<br /> 14. Two files (dialog.xlb and script.xlb) should be visible.<br /> 15. Highlight one and select "Open"<br /> 16. In the resulting dialog, the filename selected is at the top and the library name is in the box below with a check against it: check "Replace existing libraries" and select "OK"<br /> 17. Now repeat the previous two steps for the other .xlb file. </p> <p>This all seems to work ok.</p> <p>When I go Tools &gt; Macro &gt; Run Macro &gt; Macro Selector&gt; Library + MyMacros + Gramadoir &gt; Gramadoir &gt; Macro Name callGramadoir. </p> <p>callGramadoir (is highlighted) &gt; Run</p> <p>I get the macro on screen with an error message.</p> <p>BASIC runtime error.<br /> An exception occured<br /> Type: com.sun.star.lang.IlleagalArgumentException<br /> Message URL seems to be an unsupported one.. OK</p> <p>Contents of Macro Gramadoir </p> <p>The line where I have put the * seems to be the problem?</p> <p>const Engine="groo-ga.bat"<br /> const TempFileName="GrOOo.sxw"</p> <p>sub callGramadoir</p> <p>oPathSubst = createUnoService("com.sun.star.util.PathSubstitution")<br /> TempDir = oPathSubst.getSubstituteVariableValue("$(temp)")<br /> tempURL=TempDir &amp; "/" &amp; TempFileName<br /> myURL=ThisComponent.getLocation()<br /> shellcommand=Engine<br /> param=Chr(34) &amp; convertFromURL(myURL) &amp; Chr(34) &amp; " " &amp; Chr(34) &amp; convertFromURL(tempURL) &amp; Chr(34)<br /> Shell(shellcommand,2,param,true)</p> <p>dim NoArgs()</p> <p>* theDoc=StarDesktop.loadComponentfromURL(tempURL,"_blank",0,noArgs())</p> <p>end sub</p> <p>Is this because OpenOffice.org now uses .odt files? Is it just a question of editing a couple of entries in the two batch files?</p></div>Hoibeard Fri, 13 Feb 2009 17:48:26 -0000https://sourceforge.net1273b331c0f8921f770b3e58d04209606fd3d939Aquileo | x64 Linux workaroundhttps://sourceforge.net/p/gramadoir/bugs/3/<div class="markdown_content"><p>The packages distributed with x64 Ubunty Hardy do not properly. You get the following error:</p> <p>$ gram-ga.pl <br /> An Gramadoir: problem reading the database<br /> at /usr/bin/gram-ga.pl line 339<br /> $ </p> <p>I'm don't know perl but when using strace it looks like the persistence format the dictionaries are stored in is not readable portable between x32 and x64. </p> <p>I fixed the problem by building and installing the package from source. I just logged the bug in case someone else gets this problem.</p></div>James CooleyFri, 12 Sep 2008 09:14:24 -0000https://sourceforge.netf7162964f0df8c23cbe6e66349d9826f71bb2f52Aquileo | Search bug with --apihttps://sourceforge.net/p/gramadoir/bugs/2/<div class="markdown_content"><p>$ gr --api<br /> b'asal é.<br /> b.<br /> &lt;?xml version="1.0" encoding="utf-8" standalone="no"?&gt;<br /> &lt;!DOCTYPE matches SYSTEM "<a href="http://borel.slu.edu/dtds/api-output.dtd" rel="nofollow">http://borel.slu.edu/dtds/api-output.dtd</a>"&gt;<br /> &lt;matches&gt;<br /> &lt;error fromy="0" fromx="0" toy="0" tox="0" ruleId="Lingua::GA::Gramadoir" msg="Focal anaithnid" context="b. duine." contextoffset="0" errorlength="1"/&gt;<br /> &lt;/matches&gt;</p> <p>i.e. the unknown word "b" is marked incorrectly as the "b" in "b'asal".</p></div>Kevin ScannellTue, 06 Mar 2007 20:31:08 -0000https://sourceforge.netc31be3608f6f12520cbf3349d887be7e1769a808Aquileo | EO language is not compatible with enginehttps://sourceforge.net/p/gramadoir/bugs/1/<div class="markdown_content"><p>After installing engine and eo</p> <p>cd eo<br /> ./configure </p> <p>fails with message<br /> "configure: need to run ../configure first"</p> <p>The reason seems to be variable in configure script<br /> GRAMDIR=".."<br /> that should be set to<br /> GRAMDIR="../engine"<br /> like for example in "fr" package.</p> <p>Also make fails with Make message (here german translation)</p> <p>make: *** Keine Regel vorhanden, um das Target<br /> ťlexicon-eo.bsŤ,<br /> benötigt von<br /> ťLingua-EO-Gramadoir/lib/Lingua/EO/Gramadoir.pmŤ, zu<br /> erstellen. Schluss.</p> <p>Make can not find rule for lexicon-eo.bs target</p> <p>I could only get it runing after using 6.0 version of<br /> develper pack<br /> loaded not from cvs but directly as file tar</p> <p>from<br /> Artur Trzewik<br /> mail@xdobry.de</p></div>AnonymousFri, 25 Mar 2005 12:52:33 -0000https://sourceforge.net39f3d45658ddfd3f364107d263aa97bdadc2da4c