[jira] [Commented] (TINKERPOP-1935) GraphML Export Fails with List Cardinality

2019-06-03 Thread stephen mallette (JIRA)


[ 
https://issues.apache.org/jira/browse/TINKERPOP-1935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16855026#comment-16855026
 ] 

stephen mallette commented on TINKERPOP-1935:
-

I won't bother to re-open this, but note that I did push in a change to improve 
the error message as [~alejandro.carbonara] suggested:

https://github.com/apache/tinkerpop/commit/c52d2649d64cc88786be55cf761fdd303bdca2d6

Thanks for the idea!

> GraphML Export Fails with List Cardinality
> --
>
> Key: TINKERPOP-1935
> URL: https://issues.apache.org/jira/browse/TINKERPOP-1935
> Project: TinkerPop
>  Issue Type: Bug
>  Components: io
>Affects Versions: 3.3.2
>Reporter: James Baker
>Priority: Major
>
> Exporting to GraphML throws an error if there are nodes with a List 
> Cardinality and multiple values set for a property. This works fine when 
> exporting to GraphSON.
> The exception thrown is:
> {{java.lang.IllegalStateException: Multiple properties exist for the provided 
> key, use Vertex.properties(name)}}{{at 
> org.apache.tinkerpop.gremlin.structure.Vertex$Exceptions.multiplePropertiesExistForProvidedKey(Vertex.java:179)}}
> {{ at 
> org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerVertex.property(TinkerVertex.java:75)}}
> {{ at 
> org.apache.tinkerpop.gremlin.structure.io.graphml.GraphMLWriter.writeVertices(GraphMLWriter.java:315)}}
> {{ at 
> org.apache.tinkerpop.gremlin.structure.io.graphml.GraphMLWriter.writeGraph(GraphMLWriter.java:193)}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (TINKERPOP-1935) GraphML Export Fails with List Cardinality

2019-05-31 Thread Alejandro Carbonara (JIRA)


[ 
https://issues.apache.org/jira/browse/TINKERPOP-1935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16853051#comment-16853051
 ] 

Alejandro Carbonara commented on TINKERPOP-1935:


I ran into this error too. 

The error message is rather undescriptive. Could it throw some kind of error 
message that says that Tinkerpop does not support exporting graphs with 
multi-properties to GraphML?

> GraphML Export Fails with List Cardinality
> --
>
> Key: TINKERPOP-1935
> URL: https://issues.apache.org/jira/browse/TINKERPOP-1935
> Project: TinkerPop
>  Issue Type: Bug
>  Components: io
>Affects Versions: 3.3.2
>Reporter: James Baker
>Priority: Major
>
> Exporting to GraphML throws an error if there are nodes with a List 
> Cardinality and multiple values set for a property. This works fine when 
> exporting to GraphSON.
> The exception thrown is:
> {{java.lang.IllegalStateException: Multiple properties exist for the provided 
> key, use Vertex.properties(name)}}{{at 
> org.apache.tinkerpop.gremlin.structure.Vertex$Exceptions.multiplePropertiesExistForProvidedKey(Vertex.java:179)}}
> {{ at 
> org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerVertex.property(TinkerVertex.java:75)}}
> {{ at 
> org.apache.tinkerpop.gremlin.structure.io.graphml.GraphMLWriter.writeVertices(GraphMLWriter.java:315)}}
> {{ at 
> org.apache.tinkerpop.gremlin.structure.io.graphml.GraphMLWriter.writeGraph(GraphMLWriter.java:193)}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (TINKERPOP-1935) GraphML Export Fails with List Cardinality

2018-04-10 Thread stephen mallette (JIRA)

[ 
https://issues.apache.org/jira/browse/TINKERPOP-1935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16432064#comment-16432064
 ] 

stephen mallette commented on TINKERPOP-1935:
-

GraphML as a format has no direct support for a concept like multi-properties. 
Perhaps there would be a way to include some kind of custom type to support 
that, but we've resisted that approach (for this and other "features") given 
the use case that GraphML tries to fit. GraphML is meant for the widest level 
of interoperability with other systems. The GraphML we generate is meant to be 
consumed by other tools (e.g. Cytoscape, Gephi, etc). That means we want 
GraphML to only support the lowest common denominator of features and for 
everything else, users can use GraphSON or Gryo which support the full scope of 
TinkerPop features. 

> GraphML Export Fails with List Cardinality
> --
>
> Key: TINKERPOP-1935
> URL: https://issues.apache.org/jira/browse/TINKERPOP-1935
> Project: TinkerPop
>  Issue Type: Bug
>  Components: io
>Affects Versions: 3.3.2
>Reporter: James Baker
>Priority: Major
>
> Exporting to GraphML throws an error if there are nodes with a List 
> Cardinality and multiple values set for a property. This works fine when 
> exporting to GraphSON.
> The exception thrown is:
> {{java.lang.IllegalStateException: Multiple properties exist for the provided 
> key, use Vertex.properties(name)}}{{at 
> org.apache.tinkerpop.gremlin.structure.Vertex$Exceptions.multiplePropertiesExistForProvidedKey(Vertex.java:179)}}
> {{ at 
> org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerVertex.property(TinkerVertex.java:75)}}
> {{ at 
> org.apache.tinkerpop.gremlin.structure.io.graphml.GraphMLWriter.writeVertices(GraphMLWriter.java:315)}}
> {{ at 
> org.apache.tinkerpop.gremlin.structure.io.graphml.GraphMLWriter.writeGraph(GraphMLWriter.java:193)}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)