Using OpenML Java apiconnector in Matlab
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Accessibilité débutants
- 25/100
Piste de recherche
Start by reproducing the failure in Matlab R2012a and trace the calls through org.openml.apiconnector.xstream.XstreamXmlMapping, HttpConnector, and ApiSessionHash. Inspect how Matlab loads XStream from its static and dynamic Java class paths; done means the Java apiconnector can authenticate without replacing Matlab's bundled jarext xstream.jar.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
I tried to use Java apiconnector in Matlab R2012a but got the following error:
Java exception occurred:
java.lang.NoSuchMethodError:
com.thoughtworks.xstream.io.xml.DomDriver.<init>(Ljava/lang/String;Lcom/thoughtworks/xstream/io/naming/NameCoder;)V
at org.openml.apiconnector.xstream.XstreamXmlMapping.getInstance(XstreamXmlMapping.java:63)
at org.openml.apiconnector.io.HttpConnector.doApiRequest(HttpConnector.java:30)
at org.openml.apiconnector.io.ApiSessionHash.openmlAuthenticate(ApiSessionHash.java:162)
at org.openml.apiconnector.io.ApiSessionHash.update(ApiSessionHash.java:84)
at org.openml.apiconnector.io.ApiSessionHash.set(ApiSessionHash.java:71)
at org.openml.apiconnector.io.OpenmlConnector.<init>(OpenmlConnector.java:89)
This problem occurs because an older version of xstream is loaded by Matlab in the static java class path and therefore it's not using the xstream library provided in the dynamic java class path. I've been googling and couldn't find any elegant solution. Apparently, the only workaround would be to replace the xstream.jar file in the "jarext" Matlab folder with the new version, but that could lead to internal Matlab problems.
So at the moment it's not possible to use the Java apiconnector in Matlab, but I would like to leave this comment here for future reference.
- Langage dominant
- Java
- Étoiles
- 13
- Forks
- 5
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Préparer son environnement
Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de openml/openml-java
-
RefactorOuverte
Difficulté 3/5 1-2 jours Accessibilité débutants 25/100
openml/openml-java#58 · 1 commentaire ·
-
ignore_attribute in DataSetDescription null.Peut-être pris Une pull request liée à cette issue est ouverte ou déjà fusionnée. Ouverte
Difficulté 1/5 Moins d'une heure Accessibilité débutants 15/100
openml/openml-java#44 ·
-
Improve caching mechanism (consistent with Python)Peut-être à nouveau libre @janvanrijn l’a pris il y a 2777 jours, et aucune pull request n’est ouverte. Ouverte
openml/openml-java#30 · 1 commentaire · 1 personne assignée ·
-
Test Data qualities intervalOuverte
Difficulté 4/5 3-5 jours Accessibilité débutants 25/100
openml/openml-java#22 ·
-
Difficulté 3/5 1-2 jours Accessibilité débutants 42/100
openml/openml-java#20 · 1 commentaire ·
Toutes les issues de openml/openml-java
Issues similaires
-
`GET /v1/event/token/{uuid}` can report a BOM upload as done before policy evaluation and metrics have finishedPeut-être pris @Zargath l’a pris aujourd’hui. Ouvertedefect in triage
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
DependencyTrack/dependency-track#7646 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
floci-io/floci#5425 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 85/100
objectionary/eo-graphs#80 ·
-
WebMvcStreamableServerTransportProvider: idle-session eviction stops permanently after a NullPointerException when a session is deleted mid-sweepPeut-être pris @lejuho l’a pris aujourd’hui. Ouvertestatus: waiting-for-triage
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
spring-projects/spring-ai#7133 ·
Les mainteneurs répondent en général sous 6 jours
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
objectionary/jucs#141 ·
Les mainteneurs répondent en général sous 1 jour