[FIXED] Problem when importing a CSV file

Once it's running
Post Reply [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
Thibault
Posts:19
Joined:17 Feb 2010 15:38
[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
[FIXED] Problem when importing a CSV file

Post by Thibault » 26 Oct 2010 14:55

Hello,

Here is my problem : when i import a CSV file, datas doesn't appear in the Data Table ! Though nodes appears in the Overview...

I have to add a new column in the Data Table to reveal the datas. But, as soon as I leave the Data Laboratory, datas disappears again...

Strange, isn't it ?

Thanks for your help !!

Thibault.

User avatar
eduramiba
Gephi Code Manager
Posts:1064
Joined:22 Mar 2010 15:30
Location:Madrid, Spain
[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: Problem when importing a CSV file

Post by eduramiba » 26 Oct 2010 16:42

Yes, this is strange. Can you show some sample data?
Do you have edges? If you don't make sure that nodes table is showing.

Thibault
Posts:19
Joined:17 Feb 2010 15:38
[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: Problem when importing a CSV file

Post by Thibault » 26 Oct 2010 17:49

I only have the titles of my columns (Label, Titre, URL...), and this time only one node appears on the Overview !

I have no edges for the moment in my csv file. Is it the reason ?

Thanks for you help.
Attachments
screen.jpg

User avatar
eduramiba
Gephi Code Manager
Posts:1064
Joined:22 Mar 2010 15:30
Location:Madrid, Spain
[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: Problem when importing a CSV file

Post by eduramiba » 26 Oct 2010 22:05

Well, then there is some problem. I will check this, and it would be very useful if you attach your csv file please :)

Thibault
Posts:19
Joined:17 Feb 2010 15:38
[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: Problem when importing a CSV file

Post by Thibault » 27 Oct 2010 10:03

Oh, yes ! here is my CSV file (in french).

Thank you very much !
Attachments
sourcing__csv.rar
(5.35KiB)Downloaded 490 times

User avatar
eduramiba
Gephi Code Manager
Posts:1064
Joined:22 Mar 2010 15:30
Location:Madrid, Spain
[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: Problem when importing a CSV file

Post by eduramiba » 27 Oct 2010 20:32

Thibault wrote:Oh, yes ! here is my CSV file (in french).

Thank you very much !
Thanks, it was a problem with the filtering of column values.
I created this https://bugs.launchpad.net/gephi/+bug/667440 bug and fixed it. An update should be available soon.

Thibault
Posts:19
Joined:17 Feb 2010 15:38
[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: Problem when importing a CSV file

Post by Thibault » 28 Oct 2010 08:05

Thank you !! I wait for the update :)

Post Reply
[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
[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