-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't build JAMI? #4
Comments
Which part package of JAMI are you using? JAMI is still using the 'old' UniProt JAPI, which has been retired from last month on. We need to migrate it to the new one. |
From @colin-combe on February 2, 2016 8:49 On 01/02/16 16:21, Maximilian Koch wrote:
I was checking if I could build it all by running maven from the
I don't know how essential this uniprot module (uniprot bridges?) is in C The University of Edinburgh is a charitable body, registered in |
I have been updating all the pom.xml's in master. They were pointing to unitprot-kraken from 2015.02, which isn't available anymore. I have changed the version to RELEASE, which is pointing to the latest release of it. Anyway, we need to change this on some point to the new JAPI: http://www.ebi.ac.uk/uniprot/japi/index.html But you should be able to use JAMI now. ;-) But you won't be able to receive any new proteins from now on. |
From @colin-combe on February 2, 2016 16:24 Thanks Max - now I have the strange error shown below, it says UnknownHostException for "www.ebi.ac.uk" - any ideas whats wrong? Test set: psidev.psi.mi.jami.bridges.uniprot.UniprotGeneFetcherTestTests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 33.096 sec <<< FAILURE! |
From @colin-combe on February 2, 2016 16:24 Ug, sorry about the formatting... |
Mhm.. that is odd. I can run the test without any problem. Can you please check that you don't have a the dependency: uk.ac.ebi.uniprot.kraken:uniprotjapi:2015.02 anymore. You must only have uk.ac.ebi.uniprot.kraken:uniprotjapi:2015.12 |
From @colin-combe on February 3, 2016 11:31 Thanks for your continued help with this Max; I've made a ticket for the using-new-JAPI issue mentioned above (issue #14). Re. building JAMI - I am using "mvn -U clean install" which I thought would clear out old dependencies. (Incidentally, the two dependencies you mention above are the same - I guess you mean it should be uk.ac.ebi.uniprot.kraken:uniprotjapi:RELEASE .) However, on a different computer today... and I have a different error (compilation error rather than test failure):-
My java and mvn version info is:
Any help much appreciated, |
Hi Colin! I think, I had the same problem a few days ago, with one of the IntAct libs. You need to import this library: http://europepmc.org/JaxWs Hope this helps. Max |
From @colin-combe on February 4, 2016 12:11 Thanks Max,
From the instructions I'm not quite sure how to install it... best, |
In the new JAMI version the should all happen by it self and it is configured in the belonging pom.xml |
@colin-combe can this issue be closed? |
I will check if I can build it this week, On 21/06/16 15:46, Maximilian Koch wrote:
The University of Edinburgh is a charitable body, registered in |
No, I can't build it, it could be something simple. I try to build by running My version info is:
The reports for the failing tests are attached, they all say: psidev.psi.mi.jami.bridges.uniprot.CachedUniprotFetcherTest.txt |
Are you able to run it with java 8? UniProt forces us to use java 8. |
No, it fails (worse) when I use Java 8. I think it is failing while attempting to build the javadoc. Is there a way to disable this? The complete output from maven is attached beneath my current version info:
|
Okay. We're aware of the issue #13. Please append |
Thanks Max, I thought there'd be an easy way to disable javadoc building. Now I have the following error:
|
I see! This an issue with new nexus. Unfortunately the IMEx artifact repository hasn't been copied properly. I'll let you know once it is fixed. The error doesn't appear for me, because I've that dependency already in my local machine. |
Hi Colin. We have made a temporary solution, until we have sorted out the dependency. Your latest JAMI issue is solved in the develop branch. Please let me know if you experience any other issue. |
OK - using develop branch, it fails with following error:
I looked for more detailed info about what went wrong (i.e. stack trace ) but couldn't find it. Ask if you need more info and I'll look again. |
Added JAMI work shop milestone. I had hoped to be able to build/test JAMI before workshop. |
Sorry for all the inconvenience.. :( But it europubmedcentral has updated their api. They renamed a method from getDoi() to getDOI(). Anyway. I've fixed it and it 'should' work now. |
No problem - sorry for hassling you. I'll try again and report back. |
bad news Max... its still broken :(
|
Alright! I can't fix this, because I can't find the dependency. I've removed the imex libs from the JAMI build, for now. This way you should be able to compile it. |
Success! Thanks Max. |
on a different machine, I can't build again... Tests in error:
|
I'm aware of that error. Appears when you run the install/test in a certain way. Fun fact: If you test just that method, everything works fine. How did you run JAMI? |
I just ran: mvn -U -Dmaven.javadoc.skip=true clean package and it didn't work... :( |
Got the error below - probably related to #4 (comment).
|
Are you still working on the develop branch? |
Yes |
Can you make a |
Previously we had a .wsdl-file stored in JAMI. Now it get's fetched, if it is not in the |
OK, did this. It's the same. |
@tschaka1904 Can I check - is it working for you? |
No problem! Mhm.. works for me. I've deleted my target folder to be sure that it's build form scratch. |
OK... this is as far as I can get with this:-
I must be getting a different wsdl file (used as basis to generate sources, right) from the one you're getting? I'm not sure how/where it gets this file. or we have different versions of the tool that generates the sources, perhaps? |
I'm having trouble building JAMI too. There was a dependency issue with the CHEBI artifact that I managed to work around (see yochannah@5372288), but then another issue cropped up. You can see the failure details here if you like: https://travis-ci.org/yochannah/psi-jami/builds/188572303 |
Some comments about this issue:
Let me know your thoughts, |
it builds for me at moment, but I have to skip tests gonna close |
From @colin-combe on February 1, 2016 15:9
When I try to build JAMI ("mvn -U clean package" from psi-jami directory) it fails.
Failure occurs in the uniprot module.
Failed tests have following in common:
Could not access HTTP invoker remote service at [http://www.ebi.ac.uk/uniprot/remotingAPI/remotingAPI/uniprotPagingService];
Anyone know what this is about?
Copied from original issue: MICommunity/psimi#12
The text was updated successfully, but these errors were encountered: