[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 583: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 639: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
Gephi forums •How to find 'unexpected token'
Page 1 of 1

How to find 'unexpected token'

Posted: 23 Aug 2011 10:02
by sbourke
Hi Guys,

I've got a problem with a file I generated, Gephi says I've a unexpected token at line 33,684

I've no idea how to debug this, can anyone give me some pointers please :-)

Does line 33,684 mean somewhere in between its broken ? I'm assuming if thats the casae maybe a label has some invalid text or something to tht effect.

Is it possible to set Gephi up so I can step through it much like I would with a debugger to find the actual entry thats bad?

P.s can the ID of a node be too large? I'm using Facebook ID's

Re: How to find 'unexpected token'

Posted: 25 Aug 2011 08:38
by seinecle
Hi!

Indeed this error msg tells you to look at the corresponding line of your network file to find the error. The actual error can be a few lines before or after though (as usual when debugging).

It would be helpful if you posted here the file (if possible), or a sample of it. Also, which network format is it?

Best,

Clement