Hello,
I am fairly new to Gephi and GEXF. I have a ParseError that has got me hung up:
java.lang.RuntimeException:javax.xml.stream.XMLStreamException: ParseError at [row, col]:[8840,3]
Message: The element type "node" must be terminated by the matching end-tag "</node>".
The problem is there is only 8675 rows, not 8840. Any idea what the problem may be?
[SOLVED] GEXF Parse Error
-
- Gephi Community Manager
- Posts:964
- Joined:09 Dec 2009 14:41 [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
Re: GEXF Parse Error
8840 is the row line in the text file. Open it using a text editor like Notepad++ or gedit, and tell me what you have.
-
- Posts:3
- Joined:30 Apr 2012 01:45 [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
Re: GEXF Parse Error
Im using TextWrangler and there is only 8675 rows in the text file. In other words, the file ends with </gexf> on row 8675. There is no row 8840?? I know it's probably something very simple...
-
- Gephi Community Manager
- Posts:964
- Joined:09 Dec 2009 14:41 [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
Re: GEXF Parse Error
Oh sorry, I've misread it.
Please can you send me the file at contact@gephi.org? I'll have a look at it.
Please can you send me the file at contact@gephi.org? I'll have a look at it.
-
- Posts:3
- Joined:30 Apr 2012 01:45 [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
Re: GEXF Parse Error
I sent it to you.
I used an XML validator and it said the opening and closing tag don't match but I don't see what is not matching??
I used an XML validator and it said the opening and closing tag don't match but I don't see what is not matching??
-
- Gephi Community Manager
- Posts:964
- Joined:09 Dec 2009 14:41 [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
Re: GEXF Parse Error
Right, we continue this discussion by email, because it is related to this file only.