openminted / Open-Call-Discussions

A central place for participants in the open calls to ask questions
2 stars 1 forks source link

Taln Hackathon #29

Closed joancf closed 6 years ago

joancf commented 6 years ago

Mostly I would like to know how to ensure that our components actually work on the platform. We have shared a component as docker but i need some xmi files to test it. and to know the way to run it...

Thanks

Joan

joancf commented 6 years ago

Yes, this data is correct!! :-)

gkirtzou commented 6 years ago

Perfect! Then I can create a similar workflow to the services.openminted.eu. I will let you know how it goes.

gkirtzou commented 6 years ago

@reckart Could you please upload to the services.openminted.eu the UIMA language identification, so i could create a correct application for @joancf ? Thanks!

joancf commented 6 years ago

another option is to check why my files fulltext.zip are not working...

gkirtzou commented 6 years ago

another option is to check why my files fulltext.zip are not working...

What do you mean your fulltext.zip files are not working?

joancf commented 6 years ago

I uploaded some test files as an input corpus (the fulltext.zip) I did an application, and the application whith that corpus as input, The application never ended,

gkirtzou commented 6 years ago

@joancf what is the other identifier of your application? (shown at the bottom of the page of the landing page). Also approximately when did you run the app? two hours ago?

joancf commented 6 years ago

I run it some days ago, today I tried it again (only once) but it appears that there are several processes running... I don't know... but none of them has ended image these are the Identifiers OMTD: 328ef54b-4c6b-4a14-905d-06d2a0e04698 OTHER: 0931731504677607-75ba0ebd-c7a2-436d-9f47-8f16ea7d4429

I ran it, after you said you had uploaded the last docker image

gkirtzou commented 6 years ago

@joancf ok the old ones that say "Running" probably have either failed or successed but due to the bug that exists at the platform at the time, the registry has been able to update correctly. I was able to run your component successfully, I wonder why you cannot. Could you send me a screenshot of the workflow from the workflow editor to check its structure? And what data does the freeling_test corpus contain?

An the mean time, I will try to search for the latest run of your workflow for see the log.

gkirtzou commented 6 years ago

For some reason that is not clear to me at all, I cannot find anything in the slaves. It seems like your component never run. Could you please try once again now? Let me know when you do, so I could keep an eye in the logs

as for the multiple instances, probably you pressed the button "Run" more than once, and you didn't even notice.

joancf commented 6 years ago

I'll do it in the afternoon now I'm in a meeting

joancf commented 6 years ago

I'm late to do it today, let's do it tomorrow morning, it's ok at 10:00 AM (GMT+2 Barcelona time) for you?

gkirtzou commented 6 years ago

Yes please, let's do the testing tomorrow. I also have to leave now.

On Thu, 24 May 2018, 17:18 Joan Codina, notifications@github.com wrote:

I'm late to do it today, let's do it tomorrow morning, it's ok at 10:00 AM (GMT+2 Barcelona time) for you?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/openminted/Open-Call-Discussions/issues/29#issuecomment-391732069, or mute the thread https://github.com/notifications/unsubscribe-auth/AICS78LMgc0D0cci1nwpZh0Q2YPUabjzks5t1sFPgaJpZM4TSk4e .

gkirtzou commented 6 years ago

@joancf I am available, let me know when you start a new run.

joancf commented 6 years ago

@gkirtzou Katerina maybe we can contact by a chat channel while we do it. maybe using skype my user is joancf

gkirtzou commented 6 years ago

@joancf You can find me at skype under gkirtzou

gkirtzou commented 6 years ago

@joancf I am trying to create an application using both the freeling and the babelnet component as I did in test.openminted.eu. The application rfinished correctly, but while the babelnet component runs the following exception occurs (note that both components are updated to the latest image of v1.0 with docker pull) :


SEVERE: null
java.lang.NullPointerException
    at edu.upf.taln.uima.babelnet.BabelNetCandidateIdentification.process(BabelNetCandidateIdentification.java:133)
    at org.apache.uima.analysis_component.JCasAnnotator_ImplBase.process(JCasAnnotator_ImplBase.java:48)
    at org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.callAnalysisComponentProcess(PrimitiveAnalysisEngine_impl.java:401)
    at org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.processAndOutputNewCASes(PrimitiveAnalysisEngine_impl.java:318)
    at org.apache.uima.analysis_engine.asb.impl.ASB_impl$AggregateCasIterator.processUntilNextOutputCas(ASB_impl.java:570)
    at org.apache.uima.analysis_engine.asb.impl.ASB_impl$AggregateCasIterator.<init>(ASB_impl.java:412)
    at org.apache.uima.analysis_engine.asb.impl.ASB_impl.process(ASB_impl.java:344)
    at org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.processAndOutputNewCASes(AggregateAnalysisEngine_impl.java:271)
    at org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.process(AnalysisEngineImplBase.java:269)
    at org.apache.uima.fit.pipeline.SimplePipeline.runPipeline(SimplePipeline.java:176)
    at edu.upf.taln.uima.babelnet.BabelNetXMIReaderWriter.main(BabelNetXMIReaderWriter.java:90)

Any idea what could be going wrong? I am attaching the files as given by both components. Could you check if they are ok?

taln_results.zip

joancf commented 6 years ago

Hi The files are correct, about the error, is inside a try/catch so the program continues. It happens because there is a token with no POS tag.

gkirtzou commented 6 years ago

@joancf Ok, I got confused for a moment there. Anyway, I create an application that uses both your component, which is available here https://services.openminted.eu/landingPage/application/6a9ce7dc-aa6f-4119-a8f7-5a0e260c2b44, and it runs as expected.

There is nothing else to do from our part. So I am closing the issue.

Cheers