General Discussion and Helphttps://vmrcre.org/c/message_boards/find_category?p_l_id=30182&mbCategoryId=1174092024-03-28T10:26:04Z2024-03-28T10:26:04ZRE: Java Version under LinuxElla Elizabeth Elizabethhttps://vmrcre.org/c/message_boards/find_message?p_l_id=30182&messageId=2586632022-10-03T12:04:24Z2022-10-03T12:04:24ZAs stated by the <span style="font-size: 12px;"><span style="font-family: Calibri, sans-serif"><strong><a href="https://yelloudt.com/top-10-nigerian-songs-of-the-week/">top 10 Nigerian songs this week</a> </strong></span></span>Asake and Fireboy By Adegboyega Adeleye Fireboy DML's firecracker single "Bandana" featuring label mate, Asake has remained at No. 1 in Nigeria for the seventh week, matching the 7-week reign of Kizz Daniel & Tekno's 'Buga (Lo Lo Lo)' as the longest No. 1 song of 2022.Ella Elizabeth Elizabeth2022-10-03T12:04:24ZRE: Java Version under LinuxKen M. Pennerhttps://vmrcre.org/c/message_boards/find_message?p_l_id=30182&messageId=2372482020-05-29T00:45:47Z2020-05-29T00:45:47ZTry <span style="font-size: 12px;"><span style="font-family: Calibri, sans-serif">$sudo update-alternatives --config java</span></span>Ken M. Penner2020-05-29T00:45:47ZJava Version under LinuxFlorian Jäckelhttps://vmrcre.org/c/message_boards/find_message?p_l_id=30182&messageId=2371592020-05-26T15:09:06Z2020-05-26T15:09:06ZI have Java 11 and Java 8 installed. How can I configure the startup script under Linux so it will use Java 8? Thank you!<br /><br />Error:<br /><br />florian@TP420:~/Downloads/vmrcre-linux$ tail -f tomcat/logs/catalina.out<br />OpenJDK 64-Bit Server VM warning: Ignoring option MaxPermSize; support was removed in 8.0<br />-Djava.endorsed.dirs=/home/florian/Downloads/vmrcre-linux/tomcat-7.0.62/endorsed is not supported. Endorsed standards and standalone APIs<br />in modular form will be supported via the concept of upgradeable modules.<br />Error: Could not create the Java Virtual Machine.<br />Error: A fatal exception has occurred. Program will exit.<br />OpenJDK 64-Bit Server VM warning: Ignoring option MaxPermSize; support was removed in 8.0<br />-Djava.endorsed.dirs=/home/florian/Downloads/vmrcre-linux/tomcat-7.0.62/endorsed is not supported. Endorsed standards and standalone APIs<br />in modular form will be supported via the concept of upgradeable modules.<br />Error: Could not create the Java Virtual Machine.<br />Error: A fatal exception has occurred. Program will exit.Florian Jäckel2020-05-26T15:09:06ZTweaks to the collate APIKen M. Pennerhttps://vmrcre.org/c/message_boards/find_message?p_l_id=30182&messageId=1806202019-08-22T17:18:04Z2019-08-22T17:18:04ZIt would be really helpful if the collate API handled two things differently:<ol style="list-style: decimal outside;" start="1"><li>if the TEI output could include <w></w> and spaces between words.</li><li>if the collator could ignore case differences</li></ol>Or is there some setting or parameter I can use to make these happen?<br />For example, here the output for this URI<br /><a href="http://206.167.183.168:8080/community/vmr/api/collate/?documentGroupID=2&indexContent=Isa.1.1&ignoreAccents=true&ignorePunctuation=true&format=tei&preferUser=Digital%20Codex%20Marchalianus&regUserID=benpass">http://206.167.183.168:8080/community/vmr/api/collate/?documentGroupID=2&indexContent=Isa.1.1&ignoreAccents=true&ignorePunctuation=true&format=tei&preferUser=Digital%20Codex%20Marchalianus&regUserID=benpass<br /></a><div class="lfr-code"><table><tbody><tr><td class="line-numbers" data-line-number="1"></td><td class="lines"><div class="line"><cx:apparatus xmlns:cx="http://interedition.eu/collatex/ns/1.0" xmlns="http://www.tei-c.org/ns/1.0"></div></td></tr><tr><td class="line-numbers" data-line-number="2"></td><td class="lines"><div class="line"><app></div></td></tr><tr><td class="line-numbers" data-line-number="3"></td><td class="lines"><div class="line"><rdg wit="A Q-corrector Q-firsthand R S Z">Ορασις</rdg></div></td></tr><tr><td class="line-numbers" data-line-number="4"></td><td class="lines"><div class="line"><rdg wit="B">ΟΡΑΣΙΣ</rdg></div></td></tr><tr><td class="line-numbers" data-line-number="5"></td><td class="lines"><div class="line"></app></div></td></tr><tr><td class="line-numbers" data-line-number="6"></td><td class="lines"><div class="line">ηνειδενΗσαιαςυιοςΑμωςηνειδενκατατηςΙουδαιαςκαικαταΙερουσαλημενβασιλεια</div></td></tr><tr><td class="line-numbers" data-line-number="7"></td><td class="lines"><div class="line"><app></div></td></tr><tr><td class="line-numbers" data-line-number="8"></td><td class="lines"><div class="line"><rdg wit="A B R S Z">Οζειου</rdg></div></td></tr><tr><td class="line-numbers" data-line-number="9"></td><td class="lines"><div class="line"><rdg wit="Q-corrector Q-firsthand">οζιου</rdg></div></td></tr><tr><td class="line-numbers" data-line-number="10"></td><td class="lines"><div class="line"></app></div></td></tr><tr><td class="line-numbers" data-line-number="11"></td><td class="lines"><div class="line">καιΙωαθαμκαι</div></td></tr><tr><td class="line-numbers" data-line-number="12"></td><td class="lines"><div class="line"><app></div></td></tr><tr><td class="line-numbers" data-line-number="13"></td><td class="lines"><div class="line"><rdg wit="A B">Αχας</rdg></div></td></tr><tr><td class="line-numbers" data-line-number="14"></td><td class="lines"><div class="line"><rdg wit="Q-corrector Q-firsthand R S Z">Αχαζ</rdg></div></td></tr><tr><td class="line-numbers" data-line-number="15"></td><td class="lines"><div class="line"></app></div></td></tr><tr><td class="line-numbers" data-line-number="16"></td><td class="lines"><div class="line">καιΕζεκιου</div></td></tr><tr><td class="line-numbers" data-line-number="17"></td><td class="lines"><div class="line"><app></div></td></tr><tr><td class="line-numbers" data-line-number="18"></td><td class="lines"><div class="line"><rdg wit="A B Q-corrector Q-firsthand R Z">οι</rdg></div></td></tr><tr><td class="line-numbers" data-line-number="19"></td><td class="lines"><div class="line"><rdg wit="S">Οι</rdg></div></td></tr><tr><td class="line-numbers" data-line-number="20"></td><td class="lines"><div class="line"></app></div></td></tr><tr><td class="line-numbers" data-line-number="21"></td><td class="lines"><div class="line">εβασιλευσαντηςΙουδαιας</div></td></tr><tr><td class="line-numbers" data-line-number="22"></td><td class="lines"><div class="line"></cx:apparatus></div></td></tr></tbody></table></div>Ken M. Penner2019-08-22T17:18:04ZRE: Apparatus Editor error messageKen M. Pennerhttps://vmrcre.org/c/message_boards/find_message?p_l_id=30182&messageId=1794922019-08-14T23:43:41Z2019-08-14T23:43:41ZI'm getting results now, after the following changes:<br />In preprocessor.py I made this change:<div class="lfr-code"><table><tbody><tr><td class="line-numbers" data-line-number="1"></td><td class="lines"><div class="line"># logger.debug('no overtext was found')</div></td></tr><tr><td class="line-numbers" data-line-number="2"></td><td class="lines"><div class="line"> eprint('no overtext was found')</div></td></tr></tbody></table></div>and I replaced all instances of transcription_id with document_id, like this:<div class="lfr-code"><table><tbody><tr><td class="line-numbers" data-line-number="1"></td><td class="lines"><div class="line"># if transcription_verse['transcription_id'] == basetext_transcription:</div></td></tr><tr><td class="line-numbers" data-line-number="2"></td><td class="lines"><div class="line"> if transcription_verse['document_id'] == basetext_transcription:</div></td></tr></tbody></table></div>Ken M. Penner2019-08-14T23:43:41ZRE: Apparatus Editor error messageKen M. Pennerhttps://vmrcre.org/c/message_boards/find_message?p_l_id=30182&messageId=1794892019-08-14T23:21:29Z2019-08-14T23:21:29ZI'm getting this traceback of a KeyError on transcription_verse['transcription_id']<div class="lfr-code"><table><tbody><tr><td class="line-numbers" data-line-number="1"></td><td class="lines"><div class="line">Traceback (most recent call last):</div></td></tr><tr><td class="line-numbers" data-line-number="2"></td><td class="lines"><div class="line"> File "/home/vmrcre/vmrcre-linux/tomcat-7.0.62/webapps/community/modules/apparatus/edit/python/collate_cli.py", line 103, in <module></div></td></tr><tr><td class="line-numbers" data-line-number="3"></td><td class="lines"><div class="line"> eprint(collation(params))</div></td></tr><tr><td class="line-numbers" data-line-number="4"></td><td class="lines"><div class="line"> File "/home/vmrcre/vmrcre-linux/tomcat-7.0.62/webapps/community/modules/apparatus/edit/python/collate_cli.py", line 73, in collation</div></td></tr><tr><td class="line-numbers" data-line-number="5"></td><td class="lines"><div class="line"> output = p.process_witness_list(data_input, requested_witnesses, rules, basetext_transcription, project, display_settings, collate_settings, accept)</div></td></tr><tr><td class="line-numbers" data-line-number="6"></td><td class="lines"><div class="line"> File "/home/vmrcre/vmrcre-linux/community/webapp/modules/apparatus/edit/python/collation/preprocessor.py", line 46, in process_witness_list</div></td></tr><tr><td class="line-numbers" data-line-number="7"></td><td class="lines"><div class="line"> if transcription_verse['transcription_id'] == basetext_transcription:</div></td></tr><tr><td class="line-numbers" data-line-number="8"></td><td class="lines"><div class="line">KeyError: 'transcription_id'</div></td></tr></tbody></table></div>I'll keep trying things, but I thought I'd post this in case the solution is obvious.Ken M. Penner2019-08-14T23:21:29ZRE: Apparatus Editor error messageKen M. Pennerhttps://vmrcre.org/c/message_boards/find_message?p_l_id=30182&messageId=1792602019-08-13T16:46:40Z2019-08-13T16:46:40ZPerhaps this info from the logs will help:<div class="lfr-code"><table><tbody><tr><td class="line-numbers" data-line-number="1"></td><td class="lines"><div class="line"> WARN [http-bio-8080-exec-197] (vmrcre_005fcollation_jsp.java:95) - error: python collation started</div></td></tr><tr><td class="line-numbers" data-line-number="2"></td><td class="lines"><div class="line">There are 45 decisions</div></td></tr><tr><td class="line-numbers" data-line-number="3"></td><td class="lines"><div class="line">python collation finished</div></td></tr><tr><td class="line-numbers" data-line-number="4"></td><td class="lines"><div class="line"><br /></div></td></tr><tr><td class="line-numbers" data-line-number="5"></td><td class="lines"><div class="line"> INFO [http-bio-8080-exec-197] (vmrcre_005fcollation_jsp.java:187) - ********************************************************* Result: null</div></td></tr></tbody></table></div>It looks to me like the python collator is getting the data it needs, but the result is not getting back to the calling jsp.Ken M. Penner2019-08-13T16:46:40ZRE: Updating Transcription EditorKen M. Pennerhttps://vmrcre.org/c/message_boards/find_message?p_l_id=30182&messageId=1791542019-08-13T00:09:50Z2019-08-13T00:09:50ZHere's what solved it:<div class="lfr-code"><table><tbody><tr><td class="line-numbers" data-line-number="1"></td><td class="lines"><div class="line">~/vmrcre-linux/community/modules/transcript/edit$ tar xzfv ~/vmrcre-linux/community/webapp/modules/transcript/edit/wce-ote-2.4.1-20190812.tar.gz</div></td></tr></tbody></table></div>Notice the presence and absence of "/webapp" between "community" and "/modules"<br />I'm on version 2.4.1 (2019-08-12) now.Ken M. Penner2019-08-13T00:09:50ZRE: Updating Transcription EditorKen M. Pennerhttps://vmrcre.org/c/message_boards/find_message?p_l_id=30182&messageId=1791502019-08-12T23:58:47Z2019-08-12T23:58:47ZI see multiple copies of the transcript module.<br />vmrcre-linux/community/modules/transcript/edit/wce-ote/plugin/changelog.htm says "Recent version 2.0.1beta (2016-10-26)"<br />vmrcre-linux/community/webapp/modules/transcript/edit/wce-ote/plugin/changelog.htm says "Recent version 2.4.0 (2018-03-09)"<br />vmrcre-linux/community/webapp/modules/transcript/edit/edit/wce-ote/plugin/changelog.htm says "Recent version 2.2.1 (2016-04-24)"Ken M. Penner2019-08-12T23:58:47ZRE: Updating Transcription EditorTroy A. Griffittshttps://vmrcre.org/c/message_boards/find_message?p_l_id=30182&messageId=1791402019-08-12T23:08:52Z2019-08-12T23:08:52ZI wonder if it could be something caching the old gadget. Maybe try stopping and starting your portal and while it is down, clear your browser cache, or try a browser which hasn't yet hit your portal (e.g., firefox vs chrome).Troy A. Griffitts2019-08-12T23:08:52ZRE: Updating Transcription EditorKen M. Pennerhttps://vmrcre.org/c/message_boards/find_message?p_l_id=30182&messageId=1791242019-08-12T20:30:26Z2019-08-12T20:30:26ZNo problem. We haven't been at a standstill all this time because I copied the wce-ote folder over from another installation and at least got the older version of the OTE back.<br />I checked and the Transcription Editor gadget URL does show http://localhost:8080/community/modules/transcript/edit<br />Yet even after the svn update (which pulled two tarballs) the OTE is still showing "Version: 2.0.1beta (2016-10-25)". That's after mv -ing the wce-ote folder to something else, and extracting the tar (even with --overwrite)!Ken M. Penner2019-08-12T20:30:26ZApparatus Editor error messageKen M. Pennerhttps://vmrcre.org/c/message_boards/find_message?p_l_id=30182&messageId=1791052019-08-12T19:10:12Z2019-08-12T19:10:12ZThe Collate gadget seems to be working now: showing the graphs, accepting new rules. I had some difficulties due to having set the versification wrong (some DEFAULT, some KJVA, some LXXNU, which then displayed Isaiah as 1 John, Isaiah, and 3 Macc, respectively!). But that's another story. I only mention this to set the context for the following question, showing that collation has data to work with.<br /><br />The Apparatus Editor gadget shows: the project name, Verse Selection (from which I chose Isa 1 1), and 4 buttons, but when I click the "Collate Project Witnesses" button I get a pop-up "no data was returned from collation," and the main body of the gadget is blank.<br />How can I diagnose the problem? (What data is it expecting and how is it asking for it? Is there an API call I can try to see if the data is there?)Ken M. Penner2019-08-12T19:10:12ZRE: Updating Transcription EditorTroy A. Griffittshttps://vmrcre.org/c/message_boards/find_message?p_l_id=30182&messageId=1791002019-08-12T18:59:35Z2019-08-12T18:59:34ZDear Ken,<br /><br />My apologies for just noticing this message last night. Today I have spent some time merging any outstanding updates to the OTE from the INTF with the official OTE source repository at https://sourceforge.net/projects/wfce-ote/ I have then pulled their latest bundle to the live NTVMR instance of the VMR CRE and ran some basic tests to be sure nothing had broken catastrophically. It looks good from a cursory review. I then committed this latest bundle to the VMR CRE source repository. If you do an svn update you will now see this latest bundle.<br /><br />One thing I would recommend checking is if the OTE gadget URL has changed since the older VMR CRE bundle was compiled. It could be this is the cause for the error above. You can check this by going to: Admin, Control Panel, OpenSocial, Apps: OpenSocial Admin. Then scoll down to the Transcription Editor (you may need to page forward a few times to find it), then confirm the URL for this gadget is the latest, which should be:<br /><br />http://localhost:8080/community/modules/transcript/edit<br /><br />If not, there should be a "Publish" button at the top of the page which should allow you to enter that URL to add the latest version of the OTE to the component pallet. Then you can drop it on any page which had the older gadget.<br /><br />Please let me know if you need help with any of this. We really should release a new download bundle since things in svn have diverged to the point where manual changes like these are now necessary.<br /><br />TroyTroy A. Griffitts2019-08-12T18:59:34Zmissing components?Ken M. Pennerhttps://vmrcre.org/c/message_boards/find_message?p_l_id=30182&messageId=1760432019-07-26T15:07:02Z2019-07-26T15:07:01ZIn the document "VMR CRE - Technical Overview" on page 13 I see in the list of <strong>components available:</strong><ul style="list-style: disc outside;"><li><strong>Project and Volunteer Management</strong></li><li><strong></strong><strong>Project Status Overview and New Work Contributed feeds</strong><strong></strong><strong></strong></li></ul>Where do I find these?<br />Currently, my "Project Status" gadget shows 0% for every document and every user, even though we have about 30 chapters transcribed. I'm trying to figure out what I'm doing wrong. Did I place my repo in an unexpected folder? Did I set the project's Stage incorrectly? Did I assign tasks the wrong way?Ken M. Penner2019-07-26T15:07:01ZAPI error messagesKen M. Pennerhttps://vmrcre.org/c/message_boards/find_message?p_l_id=30182&messageId=1757422019-07-24T14:33:50Z2019-07-24T14:33:47ZAt /community/vmr/api/projectmanagement/project/data/listchildren/ I get an error that starts out as follows:<br /><strong>type</strong> Exception report<strong>message</strong> <u>Unable to compile class for JSP:</u><strong>description</strong> <u>The server encountered an internal error that prevented it from fulfilling this request.</u><strong>exception</strong><div class="lfr-code"><table><tbody><tr><td class="line-numbers" data-line-number="1"></td><td class="lines"><div class="line">org.apache.jasper.JasperException: Unable to compile class for JSP: </div></td></tr><tr><td class="line-numbers" data-line-number="2"></td><td class="lines"><div class="line"><br /></div></td></tr><tr><td class="line-numbers" data-line-number="3"></td><td class="lines"><div class="line">An error occurred at line: 56 in the jsp file: /vmr/api/projectmanagement/project/data/listchildren/index.jsp</div></td></tr><tr><td class="line-numbers" data-line-number="4"></td><td class="lines"><div class="line">history cannot be resolved to a variable</div></td></tr><tr><td class="line-numbers" data-line-number="5"></td><td class="lines"><div class="line">53: return;</div></td></tr><tr><td class="line-numbers" data-line-number="6"></td><td class="lines"><div class="line">54: }</div></td></tr><tr><td class="line-numbers" data-line-number="7"></td><td class="lines"><div class="line">55: </div></td></tr><tr><td class="line-numbers" data-line-number="8"></td><td class="lines"><div class="line">56: if (format == FORMAT_XML || history) out.print("<keyChildren projectID=\""+pr.getProjectID()+"\" projectName=\""+pr.getProjectName()+"\" key=\""+key+"\" keyPath=\""+path+"\" count=\""+keys.size()+"\">");</div></td></tr><tr><td class="line-numbers" data-line-number="9"></td><td class="lines"><div class="line">57: else if (format == FORMAT_JSON) response.setContentType("application/json");</div></td></tr><tr><td class="line-numbers" data-line-number="10"></td><td class="lines"><div class="line">58: else if (format == FORMAT_TXT) response.setContentType("text/plain");</div></td></tr><tr><td class="line-numbers" data-line-number="11"></td><td class="lines"><div class="line">59: JSONArray jsonResults = (format == FORMAT_JSON ? new JSONArray() : null);</div></td></tr></tbody></table></div>Ken M. Penner2019-07-24T14:33:47ZMy Work Assignments gadgetKen M. Pennerhttps://vmrcre.org/c/message_boards/find_message?p_l_id=30182&messageId=1757172019-07-24T11:47:43Z2019-07-24T11:47:42ZTroy, in section 4.0.1 of your thesis you mention a "My Work Assignments gadget". I'd like to add this to a page. I expected to find it listed among the "Gadget"s when I clicked the + in the blue box, but I don't see it. Where do I find this gadget and how do I add it?<br />(I'm at the stage of having a couple independent transcriptions for some pages, and I'm ready to reconcile them, so I'm trying to learn the reconciliation procedure.)<br />Thanks,<br />KenKen M. Penner2019-07-24T11:47:42ZRE: Updating Transcription EditorKen M. Pennerhttps://vmrcre.org/c/message_boards/find_message?p_l_id=30182&messageId=1747842019-07-18T00:34:06Z2019-07-18T00:34:06ZOur work is at a standstill because of this error. I need some pointers on how to debug it.<br />Something in the Transcription Editor is choking on a nbsp entity.Ken M. Penner2019-07-18T00:34:06ZUpdating Transcription EditorKen M. Pennerhttps://vmrcre.org/c/message_boards/find_message?p_l_id=30182&messageId=1747412019-07-17T19:40:04Z2019-07-17T19:39:41ZBecause my transcription editor version was showing beta 2.0, I entered the following commands:<div class="lfr-code"><table><tbody><tr><td class="line-numbers" data-line-number="1"></td><td class="lines"><div class="line">cd ~/vmrcre-linux/community/webapp/modules/transcript/edit</div></td></tr><tr><td class="line-numbers" data-line-number="2"></td><td class="lines"><div class="line">svn update</div></td></tr><tr><td class="line-numbers" data-line-number="3"></td><td class="lines"><div class="line">rm -rf js wce-ote</div></td></tr><tr><td class="line-numbers" data-line-number="4"></td><td class="lines"><div class="line">tar xzfv wce-ote-2.2.1-20170424.tar.gz</div></td></tr></tbody></table></div>Now the transcription editor doesn't load (Says "Portlet is temporarily unavailable.") and the logs show multiple entries that start as follows:<div class="lfr-code"><table><tbody><tr><td class="line-numbers" data-line-number="1"></td><td class="lines"><div class="line">19:36:03,742 ERROR [RuntimePageImpl-5][PortletServlet:116] javax.portlet.PortletException: com.liferay.opensocial.GadgetURLException: org.apache.shindig.gadgets.process.ProcessingException: org.apache.shindig.common.xml.XmlException: The entity "nbsp" was referenced, but not declared. At: (11,24)</div></td></tr><tr><td class="line-numbers" data-line-number="2"></td><td class="lines"><div class="line">javax.portlet.PortletException: com.liferay.opensocial.GadgetURLException: org.apache.shindig.gadgets.process.ProcessingException: org.apache.shindig.common.xml.XmlException: The entity "nbsp" was referenced, but not declared. At: (11,24)</div></td></tr><tr><td class="line-numbers" data-line-number="3"></td><td class="lines"><div class="line"> at com.liferay.opensocial.gadget.portlet.BaseGadgetPortlet.render(BaseGadgetPortlet.java:75)</div></td></tr></tbody></table></div>Ken M. Penner2019-07-17T19:39:41ZRE: Transcription assignmentsKen M. Pennerhttps://vmrcre.org/c/message_boards/find_message?p_l_id=30182&messageId=1747062019-07-17T16:16:30Z2019-07-17T16:16:29ZI think the problem was that I missed step 8 in VMR CRE - Bundle Installation for Production: <strong>Portal data migration.<br /><br /></strong>I went back and did that; I can now Create New List, but I suspect my documents, pages, and transcriptions are gone.Ken M. Penner2019-07-17T16:16:29ZRE: Transcription assignmentsKen M. Pennerhttps://vmrcre.org/c/message_boards/find_message?p_l_id=30182&messageId=1745752019-07-16T20:37:07Z2019-07-16T20:37:06Z<div class="quote"><div class="quote-content">Troy A. GriffittsHave you created a manuscript list in the catalog gadget (My Lists tab) with the manuscripts you have decided to use for your project</div></div>No. In the Catalogue gadget, the Active List: dropdown does have the option "+ Add new list", and choosing it brings up a "Create New List" box, but clicking its "Create New List" button does not appear to have any effect other than closing the box. I would expect to see a new list after that, but no, there's still only "My Favorites".Ken M. Penner2019-07-16T20:37:06Z