Giter Site home page Giter Site logo

tsab's People

Contributors

alumae avatar

tsab's Issues

The application does not fully work on (at least some) Android devices

What steps will reproduce the problem?
1. Open http://bark.phon.ioc.ee/tsab/p/index in Chrome or Firefox on Nexus 5 or 
9 (Android v5)
2. Try to use the application 

What is the expected output? What do you see instead?

Expecting to be able to play back the audio, but I'm not able to play back the 
audio, and the whole application feels like designed for desktop (e.g. to UI 
does not scale to the full screen, the search box is too small, taps on UI 
elements in most cases end up zooming them first)


What version of the product are you using? On what operating system?

Most recent versions of Chrome and Firefox on the most recent versions of 
Android (v5), on Nexus 5 and Nexus 9.

Original issue reported on code.google.com by kaljurand on 14 Dec 2014 at 7:11

CLI command trans-update-trs doesn't update topic information

What steps will reproduce the problem?
1. Added a recording/transcription without topics
2. Added topics to trs
3. Used trans-update-trs to update trs
4. Still no topics in web UI

When readding the mp3/trs under another name/ID, the topics are properly 
detected.


Original issue reported on code.google.com by [email protected] on 29 Dec 2010 at 4:40

Search fails when there are more than 50 hits

http://bark.phon.ioc.ee/tsab -- search for e.g. "Saksamaa":

type Exception report

message

description The server encountered an internal error () that prevented it from 
fulfilling this request.

exception

javax.servlet.ServletException: Failed to process request for path:/search
    ee.ioc.phon.tsab.web.TsabServlet.doGet(TsabServlet.java:105)
    ee.ioc.phon.tsab.web.TsabServlet.doPost(TsabServlet.java:56)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

root cause

java.lang.ArrayIndexOutOfBoundsException

In log:

SEVERE: Servlet.service() for servlet TsabServlet threw exception
java.lang.ArrayIndexOutOfBoundsException: 50
        at ee.ioc.phon.tsab.dao.TsabDao.searchTranscriptions(TsabDao.java:390)
        at ee.ioc.phon.tsab.web.TsabServlet.handleSearch(TsabServlet.java:236)
        at ee.ioc.phon.tsab.web.TsabServlet.doGet(TsabServlet.java:68)
        at ee.ioc.phon.tsab.web.TsabServlet.doPost(TsabServlet.java:49)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Thread.java:662)
Jan 26, 2011 3:16:45 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet TsabServlet threw exception
java.lang.ArrayIndexOutOfBoundsException: 50
        at ee.ioc.phon.tsab.dao.TsabDao.searchTranscriptions(TsabDao.java:427)
        at ee.ioc.phon.tsab.web.TsabServlet.handleSearch(TsabServlet.java:332)
        at ee.ioc.phon.tsab.web.TsabServlet.doGet(TsabServlet.java:75)
        at ee.ioc.phon.tsab.web.TsabServlet.doPost(TsabServlet.java:56)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Thread.java:662)
Jan 26, 2011 3:19:14 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet TsabServlet threw exception
java.lang.ArrayIndexOutOfBoundsException
Jan 26, 2011 3:19:24 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet TsabServlet threw exception
java.lang.ArrayIndexOutOfBoundsException

Happens with both TSAB 1.0 ans TSAB 1.1

Original issue reported on code.google.com by [email protected] on 26 Jan 2011 at 1:21

Calendar widget incorrectly abbreviates "Pühapäev" to "P&"

What is the expected output? What do you see instead?

Expecting "Pü", seeing P&


What version of the product are you using? On what operating system?

The version deployed on http://bark.phon.ioc.ee/tsab/p/index
on 2011-03-29

Screenshot added.

Actually, I'd abbreviate the names of days to one-letter symbols, i.e.

ETKNRLP

as there is no ambiguity (as there would be in case of English).

Original issue reported on code.google.com by kaljurand on 29 Mar 2011 at 12:57

Attachments:

Problem with too many open files

It seems that TSAB doesn't close all resources properly.
After some time (a week or so with very moderate usage (10 people per day)), 
the following exception is reported in the log file:
SEVERE: Servlet.service() for servlet TsabAudioDownloadServlet threw exception
java.io.FileNotFoundException: 
/home/webspeech/tsab/audio/vastasseis20101217##001.mp3 (Too many open files)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:106)
        at ee.ioc.phon.tsab.web.TsabAudioDownloadServlet.sendAudio(TsabAudioDownloadServlet.java:70)
        at ee.ioc.phon.tsab.web.TsabAudioDownloadServlet.doGet(TsabAudioDownloadServlet.java:52)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Thread.java:662)


This in turn causes all sorts of other problems, e.g.:

19:26:51,495 DEBUG TsabServlet:58 - Handling page: /play
java.io.IOException: directory '/home/webspeech/tsab/lucene' exists and is a 
directory, but cannot be listed: list() returned null
        at org.apache.lucene.store.FSDirectory.listAll(FSDirectory.java:234)
        at org.apache.lucene.store.FSDirectory.listAll(FSDirectory.java:245)
        at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:568)
        at org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:69)
        at org.apache.lucene.index.IndexReader.open(IndexReader.java:316)
        at org.apache.lucene.index.IndexReader.open(IndexReader.java:202)
        at ee.ioc.phon.tsab.common.Search.getLuceneSearcher(Search.java:73)
        at ee.ioc.phon.tsab.common.Search.getDocumentId(Search.java:109)
        at ee.ioc.phon.tsab.dao.TsabDao.getRelatedRecordings(TsabDao.java:467)
        at ee.ioc.phon.tsab.web.TsabServlet.handlePlay(TsabServlet.java:196)
        at ee.ioc.phon.tsab.web.TsabServlet.doGet(TsabServlet.java:70)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Thread.java:662)


Tomcat restart resolves the problem

Original issue reported on code.google.com by [email protected] on 20 Dec 2010 at 1:12

RSS feed points to local URL

RSS feed of recent items points to local URLs, e.g.
http://fourier:8080/tsab/p/play?trans=356

instead of external URLs

http://bark.phon.ioc.ee/tsab/p/play?trans=356

Probably external URL should be configurable somehow.

Original issue reported on code.google.com by [email protected] on 7 Mar 2011 at 9:56

Problem with closing resources

The "play" view (e.g. http://bark.phon.ioc.ee/tsab/p/play?trans=804) still 
doesn't close all resources. When I refresh the page from the browser, Linux's 
lsof (lsof -p <PID> | wc) reports that the number of open files for that 
process is increased by 2-5. This doesn't happen when I refresh the "home" view.

This results in the fact that after some activity, the following error is 
reported, which, as I suspect, is caused by too many open files, and the whole 
app becomes unresponsive.

SEVERE: Servlet.service() for servlet TsabServlet threw exception
java.io.IOException: directory '/home/webspeech/tsab/lucene' exists and is a 
directory, but cannot be listed: list() returned null
        at org.apache.lucene.store.FSDirectory.listAll(FSDirectory.java:234)
        at org.apache.lucene.store.FSDirectory.listAll(FSDirectory.java:245)
        at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:568)
        at org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:69)
        at org.apache.lucene.index.IndexReader.open(IndexReader.java:316)
        at org.apache.lucene.index.IndexReader.open(IndexReader.java:202)
        at ee.ioc.phon.tsab.common.Search.getLuceneReader(Search.java:63)
        at ee.ioc.phon.tsab.dao.TsabDao.getRelatedRecordings(TsabDao.java:511)
        at ee.ioc.phon.tsab.web.TsabServlet.handlePlay(TsabServlet.java:256)
        at ee.ioc.phon.tsab.web.TsabServlet.doGet(TsabServlet.java:78)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Thread.java:662)

Original issue reported on code.google.com by [email protected] on 19 Aug 2011 at 7:42

CSS overlap when a category with many sub-categories is opened

What steps will reproduce the problem?

Go to http://bark.phon.ioc.ee/tsab/p/index and open "Kuku" category

What is the expected output? What do you see instead?

The black bottom bar should slide downwards. Instead, the table of categories 
overlaps with the bottom bar.


Please use labels and text to provide additional information.


Original issue reported on code.google.com by [email protected] on 16 Aug 2011 at 7:49

Searching for " causes an error

What steps will reproduce the problem?
1. Open http://bark.phon.ioc.ee/tsab/p/index
2. Type " in to the Otsi-field
3. Press "Otsi"

What is the expected output? What do you see instead?

Expected something other than an error condition. Instead the server returns 
500 with the message:

Cannot parse '"*': Lexical error at line 1, column 3.  Encountered: <EOF> after 
: "\"*"





Original issue reported on code.google.com by kaljurand on 24 Mar 2015 at 11:43

Attachments:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.