krlawrence / graph

Practical Gremlin - An Apache TinkerPop Tutorial
Apache License 2.0
836 stars 253 forks source link

Stuck loading air-routes.graphml #124

Closed JETopper closed 6 years ago

JETopper commented 6 years ago

After the command "graph.io(graphml()).readGraph('air-routes.graphml')," I get a ParseError at [row,col]:[43,85] "Message: Attribute name "data-pjax-transient" associated with an element type "meta" must be followed by the ' = ' character"

The error also occurs if the file is loaded into yEd Graph Editor.

Not sure if I'm doing something wrong.

krlawrence commented 6 years ago

Have you tried re-downloading the file just to make sure it is not corrupted for some reason? Are you able to look at the file in a text editor? There should not be any problems with it. I downloaded it and it loaded OK.

Also is this from the Gremlin Console or from my small script or from your code?

JETopper commented 6 years ago

Thanks for the fast response.

I did look at the file (using word processor apps) and nothing appears to be out of place (the file wouldn’t load into an XML notepad app I use). I had the same error message on MAC OS and Windows 7 machines after trying multiple air-route files. I’m running Java 8 Update 181/Java SDK 8 update 171 (64 bit) on my Windows machine.

I was also able to successfully load other graphml files from the gremlin console. Not savvy enough to see if I’m doing something wrong downloading or running the file or with my system configuration and will try different approaches.

From: Kelvin Lawrence notifications@github.com Sent: Tuesday, September 04, 2018 6:46 PM To: krlawrence/graph graph@noreply.github.com Cc: Topper, J. Stephen Steve.Topper@jhuapl.edu; Author author@noreply.github.com Subject: Re: [krlawrence/graph] Stuck loading air-routes.graphml (#124)

Have you tried re-downloading the file just to make sure it is not corrupted for some reason? Are you able to look at the file in a text editor? There should not be any problems with it. I downloaded it and it loaded OK.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/krlawrence/graph/issues/124#issuecomment-418541959, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AkIRG4hko6LisJFnmFAdQbstK5OGIQfRks5uXwK4gaJpZM4WZ4lM.

JETopper commented 6 years ago

I figured it out. I clicked on a hyperlink and saved the graphML file rather than selecting the link and using the download button. The file as is now works. Sorry for the trouble and thanks for putting together a great course!

From: Topper, J. Stephen Sent: Wednesday, September 05, 2018 10:59 AM To: 'krlawrence/graph' reply@reply.github.com Subject: RE: [krlawrence/graph] Stuck loading air-routes.graphml (#124)

Thanks for the fast response.

I did look at the file (using word processor apps) and nothing appears to be out of place (the file wouldn’t load into an XML notepad app I use). I had the same error message on MAC OS and Windows 7 machines after trying multiple air-route files. I’m running Java 8 Update 181/Java SDK 8 update 171 (64 bit) on my Windows machine.

I was also able to successfully load other graphml files from the gremlin console. Not savvy enough to see if I’m doing something wrong downloading or running the file or with my system configuration and will try different approaches.

From: Kelvin Lawrence notifications@github.com<mailto:notifications@github.com> Sent: Tuesday, September 04, 2018 6:46 PM To: krlawrence/graph graph@noreply.github.com<mailto:graph@noreply.github.com> Cc: Topper, J. Stephen Steve.Topper@jhuapl.edu<mailto:Steve.Topper@jhuapl.edu>; Author author@noreply.github.com<mailto:author@noreply.github.com> Subject: Re: [krlawrence/graph] Stuck loading air-routes.graphml (#124)

Have you tried re-downloading the file just to make sure it is not corrupted for some reason? Are you able to look at the file in a text editor? There should not be any problems with it. I downloaded it and it loaded OK.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/krlawrence/graph/issues/124#issuecomment-418541959, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AkIRG4hko6LisJFnmFAdQbstK5OGIQfRks5uXwK4gaJpZM4WZ4lM.

krlawrence commented 6 years ago

Glad it's all working. Feedback is always welcome.