[LanguageTool] [ languagetool-Bugs-3554842 ] Pasted text is one line only

2012-08-09 Thread SourceForge . net
Bugs item #3554842, was opened at 2012-08-06 06:23
Message generated for change (Comment added) made by dnaber
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=655717aid=3554842group_id=110216

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Interface
Group: 1.8
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: MikeUnwalla (mikeunwalla)
Assigned to: Daniel Naber (dnaber)
Summary: Pasted text is one line only

Initial Comment:
In the GUI, errors are separated by a blank line. When I paste the errors into 
a text editor, all the errors are on a single line.

The problem also occurs in 1.7.

--

Comment By: Daniel Naber (dnaber)
Date: 2012-08-07 13:07

Message:
Thanks for your report - this is fixed now, except for Linux-style copy
and paste where you just select text and paste it with the middle mouse
button (i.e. without Ctrl-C/Ctrl-P).

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=655717aid=3554842group_id=110216

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Languagetool-cvs mailing list
Languagetool-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs


[LanguageTool] [ languagetool-Bugs-3554812 ] JNI exception during install

2012-08-09 Thread SourceForge . net
Bugs item #3554812, was opened at 2012-08-06 04:56
Message generated for change (Comment added) made by dnaber
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=655717aid=3554812group_id=110216

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: LibreOffice integration
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Helge Hielscher (testerus)
Assigned to: Nobody/Anonymous (nobody)
Summary: JNI exception during install

Initial Comment:
When I try to install languagetool in LibreOffice I get:
(com.sun.star.uno.RuntimeException) { { Message = JNI exception occured 
Context= (com.sun.star.uno.XInterface) @7f85ec0332f8
(ImplementationName = com.sun.star.comp.JavaVirtualMachine) } }

OS: Mageia Linux Cauldron

# uname -a
Linux iwan 3.5.0-desktop-1.mga3 #1 SMP Sat Jul 28 00:29:28 UTC 2012 x86_64 
x86_64 x86_64 GNU/Linux
# rpm -qa|grep -i libreoffice
libreoffice-draw-3.6.0.4-3.mga3
libreoffice-base-3.6.0.4-3.mga3
libreoffice-core-3.6.0.4-3.mga3
libreoffice-impress-3.6.0.4-3.mga3
libreoffice-opensymbol-fonts-3.6.0.4-3.mga3
libreoffice-writer-3.6.0.4-3.mga3
libreoffice-langpack-en-3.6.0.4-3.mga3
libreoffice-calc-3.6.0.4-3.mga3
libreoffice-math-3.6.0.4-3.mga3
libreoffice-3.6.0.4-3.mga3
libreoffice-ogltrans-3.6.0.4-3.mga3
libreoffice-graphicfilter-3.6.0.4-3.mga3
libreoffice-ure-3.6.0.4-3.mga3
libreoffice-javafilter-3.6.0.4-3.mga3
libreoffice-java-common-3.6.0.4-3.mga3
libreoffice-presenter-screen-3.6.0.4-3.mga3
libreoffice-pdfimport-3.6.0.4-3.mga3

Same error with current snapshot (LanguageTool-20120805-snapshot.oxt)

--

Comment By: Daniel Naber (dnaber)
Date: 2012-08-07 13:19

Message:
Did you have a look at http://www.languagetool.org/issues/, especially the
hint for Ubuntu?

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=655717aid=3554812group_id=110216

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Languagetool-cvs mailing list
Languagetool-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs


[LanguageTool] [ languagetool-Bugs-3554812 ] JNI exception during install

2012-08-09 Thread SourceForge . net
Bugs item #3554812, was opened at 2012-08-06 04:56
Message generated for change (Comment added) made by testerus
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=655717aid=3554812group_id=110216

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: LibreOffice integration
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Helge Hielscher (testerus)
Assigned to: Nobody/Anonymous (nobody)
Summary: JNI exception during install

Initial Comment:
When I try to install languagetool in LibreOffice I get:
(com.sun.star.uno.RuntimeException) { { Message = JNI exception occured 
Context= (com.sun.star.uno.XInterface) @7f85ec0332f8
(ImplementationName = com.sun.star.comp.JavaVirtualMachine) } }

OS: Mageia Linux Cauldron

# uname -a
Linux iwan 3.5.0-desktop-1.mga3 #1 SMP Sat Jul 28 00:29:28 UTC 2012 x86_64 
x86_64 x86_64 GNU/Linux
# rpm -qa|grep -i libreoffice
libreoffice-draw-3.6.0.4-3.mga3
libreoffice-base-3.6.0.4-3.mga3
libreoffice-core-3.6.0.4-3.mga3
libreoffice-impress-3.6.0.4-3.mga3
libreoffice-opensymbol-fonts-3.6.0.4-3.mga3
libreoffice-writer-3.6.0.4-3.mga3
libreoffice-langpack-en-3.6.0.4-3.mga3
libreoffice-calc-3.6.0.4-3.mga3
libreoffice-math-3.6.0.4-3.mga3
libreoffice-3.6.0.4-3.mga3
libreoffice-ogltrans-3.6.0.4-3.mga3
libreoffice-graphicfilter-3.6.0.4-3.mga3
libreoffice-ure-3.6.0.4-3.mga3
libreoffice-javafilter-3.6.0.4-3.mga3
libreoffice-java-common-3.6.0.4-3.mga3
libreoffice-presenter-screen-3.6.0.4-3.mga3
libreoffice-pdfimport-3.6.0.4-3.mga3

Same error with current snapshot (LanguageTool-20120805-snapshot.oxt)

--

Comment By: Helge Hielscher (testerus)
Date: 2012-08-09 04:42

Message:
As you see above libreoffice-java-common is installed.
But libreoffice does not list Java 1.6, only 1.7 – could that be the
culprit? (both jre-1.7.0-openjdk.x86_64 and jre-1.6.0-sun are installed on
this system)


--

Comment By: Daniel Naber (dnaber)
Date: 2012-08-07 13:19

Message:
Did you have a look at http://www.languagetool.org/issues/, especially the
hint for Ubuntu?

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=655717aid=3554812group_id=110216

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Languagetool-cvs mailing list
Languagetool-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs


[LanguageTool] SF.net SVN: languagetool:[7822] trunk/ltcommunity/grails-app/controllers/ org/languagetool/RuleEditorController.groovy

2012-08-09 Thread dnaber
Revision: 7822
  
http://languagetool.svn.sourceforge.net/languagetool/?rev=7822view=rev
Author:   dnaber
Date: 2012-08-09 20:11:52 + (Thu, 09 Aug 2012)
Log Message:
---
better performance logging, setting search timeout from here (was 5000ms before 
anyway)

Modified Paths:
--

trunk/ltcommunity/grails-app/controllers/org/languagetool/RuleEditorController.groovy

Modified: 
trunk/ltcommunity/grails-app/controllers/org/languagetool/RuleEditorController.groovy
===
--- 
trunk/ltcommunity/grails-app/controllers/org/languagetool/RuleEditorController.groovy
   2012-08-09 05:37:19 UTC (rev 7821)
+++ 
trunk/ltcommunity/grails-app/controllers/org/languagetool/RuleEditorController.groovy
   2012-08-09 20:11:52 UTC (rev 7822)
@@ -35,6 +35,7 @@
 
 int CORPUS_MATCH_LIMIT = 20
 int EXPERT_MODE_CORPUS_MATCH_LIMIT = 100
+int SEARCH_TIMEOUT_MILLIS = 5000
 
 def index = {
 List languageNames = getLanguageNames()
@@ -95,18 +96,22 @@
 render(template: 'checkRuleProblem', model: [problems: problems, 
hasRegex: hasRegex(patternRule), expertMode: true])
 return
 }
+long startTime = System.currentTimeMillis()
 SearcherResult searcherResult = checkRuleAgainstCorpus(patternRule, 
language, EXPERT_MODE_CORPUS_MATCH_LIMIT)
+long searchTime = System.currentTimeMillis() - startTime
+log.info(Checked XML in ${language}, timeout 
(${SEARCH_TIMEOUT_MILLIS}ms) triggered: ${searcherResult.resultIsTimeLimited}, 
time: ${searchTime}ms)
 render(view: '_corpusResult', model: [searcherResult: searcherResult, 
expertMode: true, limit: EXPERT_MODE_CORPUS_MATCH_LIMIT])
 }
 
 SearcherResult checkRuleAgainstCorpus(PatternRule patternRule, Language 
language, int maxHits) {
 Searcher searcher = new Searcher()  // TODO: move to service?
 searcher.setMaxHits(maxHits)
+searcher.setMaxSearchTimeMillis(SEARCH_TIMEOUT_MILLIS)
 String indexDirTemplate = grailsApplication.config.fastSearchIndex
 File indexDir = new File(indexDirTemplate.replace(LANG, 
language.getShortName()))
 if (indexDir.isDirectory()) {
 IndexSearcher indexSearcher = new 
IndexSearcher(FSDirectory.open(indexDir))
-SearcherResult searcherResult
+SearcherResult searcherResult = null
 try {
   searcherResult = searcher.findRuleMatchesOnIndex(patternRule, 
language, indexSearcher)
 } finally {

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Languagetool-cvs mailing list
Languagetool-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs