Closed josephwb closed 10 years ago
There are some changes in progress on a different branch to try and use the httpurlconnection class to access the TNRS. I didn't get it to work. However, if the problems that I was experiencing with that approach are not because of the neo4-server dependency, then that might still be a viable option. It would be worth deactivating that dependency in the httpurlconnection branch and trying it to see if it works. If it does, that doesn't help us. If it doesn't, then if we can just figure out how to get httpurlconnection to work then we should be able to have both the tnrs and the neo4j-server dependency.
On Fri, Mar 28, 2014 at 10:38 AM, Joseph W. Brown notifications@github.comwrote:
I made the suggested changes from @jar398 https://github.com/jar398, and things appear to work on the example. I am closing this, but @jar398https://github.com/jar398might want to open a separate issue to get opentree.plugins.TreemachineSecurityFilter working again.
Reply to this email directly or view it on GitHubhttps://github.com/OpenTreeOfLife/treemachine/issues/69#issuecomment-38925485 .
I have no confidence now that adding the neo4j-dependency doesn't break any number of other things. So I wasn't planning on doing that.
The approach I was considering was to create a sister source tree to 'main' and to teach maven to create a second .jar file for just those classes requiring neo4j-server. The second .jar file would go in the neo4j lib/ directory. Then we would be certain that neo4j-server wasn't polluting the command line version, and hopefully separating the two would make the server work just as well if not better.
I don't know how difficult this will be. I've been looking at the neo4j sources, which provide examples of multiple source trees each with its own pom.xml, where there are dependencies between them.
Cursing every step of the way.
On Fri, Mar 28, 2014 at 2:39 PM, chinchliff notifications@github.comwrote:
There are some changes in progress on a different branch to try and use the httpurlconnection class to access the TNRS. I didn't get it to work. However, if the problems that I was experiencing with that approach are not because of the neo4-server dependency, then that might still be a viable option. It would be worth deactivating that dependency in the httpurlconnection branch and trying it to see if it works. If it does, that doesn't help us. If it doesn't, then if we can just figure out how to get httpurlconnection to work then we should be able to have both the tnrs and the neo4j-server dependency.
On Fri, Mar 28, 2014 at 10:38 AM, Joseph W. Brown notifications@github.comwrote:
I made the suggested changes from @jar398 https://github.com/jar398, and things appear to work on the example. I am closing this, but @jar398< https://github.com/jar398>might want to open a separate issue to get opentree.plugins.TreemachineSecurityFilter working again.
Reply to this email directly or view it on GitHub< https://github.com/OpenTreeOfLife/treemachine/issues/69#issuecomment-38925485
.
— Reply to this email directly or view it on GitHubhttps://github.com/OpenTreeOfLife/treemachine/issues/69#issuecomment-38953867 .
When trying to "fixNamesFromTrees", we are getting a "PROBLEM CONNECTING TO SERVER" error:
As far as I know, the relevant code (https://github.com/OpenTreeOfLife/treemachine/blob/master/src/main/java/opentree/PhylografterConnector.java#L185-229) has not changed recently.
We were able to determine that the service itself is working through using curl: