-
Notifications
You must be signed in to change notification settings - Fork 36
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
Streaming interface crashes Julia #38
Comments
I am using this <?xml version='1.0' encoding='utf-8'?>
<graphml xmlns="http://graphml.graphdrawing.org/xmlns" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns http://graphml.graphdrawing.org/xmlns/1.0/graphml.xsd"><key attr.name="length" attr.type="string" for="edge" id="d11"/>
<key attr.name="maxspeed" attr.type="string" for="edge" id="d10"/>
<key attr.name="highway" attr.type="string" for="edge" id="d9"/>
<key attr.name="name" attr.type="string" for="edge" id="d8"/>
<key attr.name="lanes" attr.type="string" for="edge" id="d7"/>
<key attr.name="oneway" attr.type="string" for="edge" id="d6"/>
<key attr.name="osmid" attr.type="string" for="edge" id="d5"/>
<key attr.name="osmid" attr.type="string" for="node" id="d4"/>
<key attr.name="x" attr.type="string" for="node" id="d3"/>
<key attr.name="y" attr.type="string" for="node" id="d2"/>
<key attr.name="crs" attr.type="string" for="graph" id="d1"/>
<key attr.name="name" attr.type="string" for="graph" id="d0"/>
<graph edgedefault="directed"><data key="d0">unnamed</data>
<data key="d1">{'init': 'epsg:4326'}</data>
<node id="268378315">
<data key="d2">19.4112989</data>
<data key="d3">-99.1661278</data>
<data key="d4">268378315</data>
</node>
<node id="767144194">
<data key="d2">19.4106784</data>
<data key="d3">-99.1659731</data>
<data key="d4">767144194</data>
</node>
<node id="767144208">
<data key="d2">19.4096445</data>
<data key="d3">-99.1656919</data>
<data key="d4">767144208</data>
</node>
<node id="5117499534">
<data key="d2">19.4113146</data>
<data key="d3">-99.1660387</data>
<data key="d4">5117499534</data>
</node>
<edge id="0" source="767144194" target="268378315">
<data key="d5">24690027</data>
<data key="d6">True</data>
<data key="d7">2</data>
<data key="d8">Manzanillo</data>
<data key="d9">residential</data>
<data key="d10">40</data>
<data key="d11">70.87837651238934</data>
</edge>
<edge id="0" source="767144208" target="767144194">
<data key="d5">24690027</data>
<data key="d6">True</data>
<data key="d7">2</data>
<data key="d8">Manzanillo</data>
<data key="d9">residential</data>
<data key="d10">40</data>
<data key="d11">118.68687083701978</data>
</edge>
<edge id="0" source="5117499534" target="268378315">
<data key="d5">24690037</data>
<data key="d6">True</data>
<data key="d7">1</data>
<data key="d8">Tapachula</data>
<data key="d9">residential</data>
<data key="d11">9.505876802183968</data>
</edge>
</graph></graphml> |
IlyaOrson
changed the title
Streaming interfacec crashes Julia
Streaming interface crashes Julia
Dec 26, 2017
Thank you for reporting. I think this will be fixed in #39. Can you try the branch? |
That seems to fix it, thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I get a weird error that asks me to file a bug report and crashes julia. It appears while using the streaming interface, where I use
expandtree
and throw an error inside the loop of the elements of the node generated.It's tricky but here are some experiments that sometimes throw the error.
reader = open() ... close(reader)
syntax then it won't crash but throw a warning instead (see below).open() do reader... end
syntax and toggle betweenerror
andthrowerror
the error appears and dissappears. Here is my MWE:I get this message before the crash:
The warning (the best clue?):
My version:
The text was updated successfully, but these errors were encountered: